Industry Online Support
Technical Forum
6/5/2008 11:52 AM | |
Posts: 11 Rating:
|
when i use logon, i have to enter a name and password variable, how to set it up ? |
6/5/2008 2:37 PM | |
Joined: 10/19/2005 Last visit: 11/30/2020 Posts: 1611 Rating:
|
Hi, You need two String Tags which are connected with the PLC . One for the Password and the other for the User name. In the PLC youdeposit the Password and User namein the stringtag. (DB) Under the properties of the picture you have to do following. 1.) Event > Loaded: SetValue : Tag: > Tag "Password" Value: > for sample "111" 2.)-> Logon: Password: > Tag "Password" User name: > Tag "user name" Notes: When the system execute the function "Logon" thesystem "delete" the value fróm the "password String" automatically --> So i am using the function "SetValue" (this for your info why you need this function) Furthermore: You can do following. You evaluate the pictute number and use a the plc job "23". So you do a look on over the plc. -> http://support.automation.siemens.com/WW/view/en/18797552(chpater 2.4.1.7) regards, |
Follow us on