show the entry list
WinCC -- Creating HMI configurations -- Configuring Runtime
How can you lock key combinations in WinCC V7.0 SP2/WinCC (TIA Portal) with Windows 7 or Windows Server 2008?
How can you have a user-specific, user-defined screen composition displayed automatically after logging on in WinCC Runtime?
How can you increase the timeout for terminating the runtime?
How do you select the path for the picture cache yourself in WinCC and how do you use the picture cache?
How do you start a specific WinCC project depending on the user logged in when the computer is booted?
How can you have different picture to the "@Welcome.pdl" Start picture displayed at the start of Runtime?
How can you have the current picture continued to be shown when you log out of WinCC Runtime?
How can you replace the Windows on-screen keyboard of SIMATIC Logon (from V1.4) with the ProTool keyboard so as not to reach the operating system during Runtime?
How do you identify the local computer name in order to enter it in the computer list for the WinCC project?
How do you configure the WinCC Autostart when using SIMATIC NET (up to and including CD11/2003 SP1)?
How do you configure the WinCC Autostart when using SIMATIC NET (as from Edition 2005)?
How do you use the monitor keyboard of WinCC?
How can you implement login/logout via a button in a picture?
How can you execute an automatic logout after a time greater than 999 minutes?
How can you configure automatic logout in WinCC?
How can you automatically log in a default user after a reboot without using the Login Box?
With Windows Server 2000/2003, Windows 2000 Professional, Windows XP Professional and Windows Vista, what should you do if disabling the key combinations is ineffective in WinCC?
Logon option -- Setting up development environments -- Parameterizing systems
How can you automatically log in a default user after a reboot without using the Login Box?
Using a chip card reader, how can a default user be logged on automatically while the chip card is pulled through?
Why isn't the user currently logged on shown at Runtime?
How can you verify a logged on user at runtime when using SIMATIC Logon (as from V1.3)?
How can you verify a logged on user at runtime when using SIMATIC Logon up to version V1.2 SP1?
How can you configure a chip card with SIMATIC Logon, with which you can log onto each local computer?
SIMATIC Logon window in CFC/SFC
How do you block a user account after a user-definable number of failed attempts to login?
How can you have entries generated by SIMATIC Logon in the password-protected file displayed, printed out or exported?
How can you restore the WinCC Logon Box in the OS Runtime when SIMATIC Logon is installed on the computer?
Why is a user assigned to the "Emergency Operator" group when logging on in WinCC RT?
When using SIMATIC Logon, why is there a user already logged on after starting WinCC RT?
Why, when implementing SIMATIC Logon, is only the logged-on user displayed in the WinCC User Administrator during Runtime?
Why does a C script "PWRTSilentLogin" only work with WinCC users and not with SIMATIC Logon users?
OS - WinCC -- Creating HMI configurations -- Configuring Runtime
How do you configure the WinCC Autostart when using SIMATIC NET (as from Edition 2005)?
How can you automatically log in a default user after a reboot without using the Login Box?
How can you have a user-specific, user-defined screen composition displayed automatically after logging on in WinCC Runtime?
How can you automatically log in a default user after a reboot without using the Login Box?
Part number:

Instructions:
You would like to ensure minimum availability of your operator control and monitoring system after powering up and during operation, without having to use the login box. However, you would also like to retain the login function for higher-order operations. In addition, when an operator, such as the administrator, logs out, a default user is to be logged in automatically and the default user's rights are to be assigned in the User Administrator in accordance with your wishes.

Note:
In the WinCC OS project editor, select the Message View tab and in the Message Filter make sure that the default setting "Messages with area-enabling" is selected. In this way, the default user can acknowledge the messages on the message pages if that user or the group that user is member of has the "Enable for area" authorization in the WinCC User Administrator. If the messages are not supposed to be acknowledged by the default user, in the WinCC OS project editor, you must select the setting "Acknowledgeable messages in a separate list" for the Message Filter in the Message View tab. More information is available in the WinCC Online Help under "Options > Options for Process Control > OS Project Editor > Message View tab > Message Filter".
In WinCC V6.0, the message filter settings are in the "Runtime Window" tab of the OS project editor and in the corresponding place in the WinCC Online Help.
The setting is also valid for the "Default User" in SIMATIC Logon.

You can implement this function with the enclosed C-script, which involves the following steps:

  1. Open your project in the WinCC Explorer.
  2. Start the C editor of WinCC and go to the directory "Actions > Global Actions".
  3. Use the "Create new action" button to create a new action in which you enter the following script.
      SilentLogin.pdf ( 10 KB )
  4. In the line "PWRTSilentLogin ("Login","Password");" you replace the user data with that of your default user.
  5. Compile and save the C script as "SilentLogin.pas". 
  6. Set a variable trigger in the script editor to the variable @CurrentUser. Select a cycle of "2 s", for instance. This serves to ensure that the script does not burden the system. In the example shown, the @CurrentUser variable is checked for a change every 2 seconds (it indicates which user is currently logged in). The script is only called if the user has changed, e.g. when the previous user logs out.
  7. Make sure that you have enabled the "Global Script Runtime" in the "Startup" tab in the computer properties.

The following steps are necessary for SIMATIC PCS 7 users (from SIMATIC PCS 7 V6.0 SP1):

  1. Copy the system picture @Welcome.pdl to a safe location in order to restore the original picture.
  2. Open the picture @Welcome.pdl using the Graphics Designer.
  3. Open the C script which is saved in the picture selection ("right click > Properties" and then "Event > Picture object > Other > Picture selection").
  4. Comment out the line "PASSLoginDialog(Screen);" with the prefix //.
  5. Compile the C script. 
  6. Save the system picture @Welcome.pdl.

Warning:
When you run the OS project editor again, ensure that the system picture @Welcome.pdl is not copied from the basic data. For this, the @Welcome.pdl must not be marked in the tab "Basic data > Basic pictures in the object differ from the as-supplied state > Apply as-supply state". If you update to a new version, you must apply the new @Welcome.pdl and integrate the changes made above into the new @Welcome.pdl. 

If you are using SIMATIC LOGON from version 1.2, you will not need the "Silentlogin" function because, from this version onwards, SIMATIC LOGON contains its own convenient function for automatic login during WinCC runtime. If you use the "Silentlogin" function and wish to switch to SIMATIC LOGON, please undo the steps listed above.

Procedure in SIMATIC LOGON from version 1.2:

  • Set up a "Default User" group in your project in the user administration area in WinCC Explorer and perform the appropriate authorization level settings in the group. The only user in this "Default User" group is created automatically and saved in the registry. Parameters may not be assigned to this user.
  • Go to the "General" tab in the SIMATIC LOGON configuration window and select the function "'Default User' is logged on after user logs off". Click "OK" to close the dialog (Fig. 1).


Fig. 1: Configuration dialog of SIMATIC LOGON V1.2. Dialogs from other versions might be slightly different to this figure.

With these settings, the "Default User" is automatically logged on when WinCC runtime is started and when other users log off.

Keywords:
Silent Login, Auto logon

 Entry ID:19141675   Date:2010-04-26 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Help
Online Help
Guided Tour