×
Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 16626380, Entry date: 05/02/2007
(0)
Rate

How can you have the current picture continued to be shown when you log out of WinCC Runtime?

  • Entry
  • Associated product(s)
Instructions: When a user logs out or another user logs on, from PCS 7 V5 the start picture of a user is loaded. This behavior is implemented by the C action 'autoload.pas' of the WinCC option 'Basic Process Control (BPC)' in order to save and restore a user screen composition. The 'autoload.pas' action is run when the internal tag '@local::CurrentUser' changes. This is the case when there is logon, logoff or change of logon. The action uses the Split Screen Ma ...
Instructions
When a user logs out or another user logs on, from PCS 7 V5 the start picture of a user is loaded. This behavior is implemented by the C action "autoload.pas" of the WinCC option "Basic Process Control (BPC)" in order to save and restore a user screen composition. The "autoload.pas" action is run when the internal tag "@local::CurrentUser" changes. This is the case when there is logon, logoff or change of logon. The action uses the Split Screen Manager function "SSMLoadCurrentFields()" to load the screen composition.

Notes

  • This entry presumes that the WinCC option "Basic Process Control of WinCC (BPC)" is being used.
  • In PCS 7 systems BPC is used by default.
  • The adjustment described in this entry is not supported by SIMATIC Safety Matrix V6.3.
  • For standard WinCC systems from WinCC V6.0 you no longer need an extra license for BPC.

In order to prevent this automatic restoring of the screen composition upon logging on or off, you can completely disable the "autoload.pas" function as follows.
 

No. Description
1 Open the C action "autoload.pas"
In the WinCC Explorer you open the editor "Global Script C". Open the C action "autoload.pas". This function is located in the navigation window under "Actions > Actions: <Computer name> > autoload.pas".
2 Disable the function "SSMLoadCurrentFields()"
In the "autoload.pas" action, insert the statement "return(TRUE);" as the first statement after the tag definition part. The following figure shows the action "autoload.pas" modified for WinCC V6.x.


( 15 KB )
Fig. 1

Note:
In earlier versions of WinCC (e.g. WinCC V5.x) the structure of the "autoload.pas" function might be different.

Compile and save the changed function.
You can terminate the Global Script editor and the changes are immediately active.

Table 1

After a user logs on or off or changes the logon, the picture selected previously no longer changes.

Warning
Note that after a user logs off, the release for the areas is removed, but the last process picture or picture blocks remain open. When configuring the pictures or picture blocks ensure that an authorization check is configured for operable picture objects and the display of the operator authorization is updated. If there is authorization the input fields should have a white background and without authorization they have gray background. The standard blocks of PCS 7 support this feature.

Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.
Rate entry
no rating
Requests and feedback
What do you want to do?
Note: The feedback always relates to the current entry / product. Your message will be forwarded to our technical editors working in the Online Support. In a few days, you will receive a response if your feedback requires one. If we have no further questions, you will not hear from us.