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?
OS - WinCC -- Creating HMI configurations -- Configuring picture changes
What should you watch out for in particular with the "Loop in Alarm" function?
Closing images that the wizard has created upon image change
How can I dynamically adapt the size of the @Top display when I call a picture with the SSMOpenTopField function?
How can you have the current picture continued to be shown when you log out of WinCC Runtime?
What options are there for configuring a picture change between two or more servers and the MultiClient (MC)?
How can you display/hide a layer depending on a variable?
How can you have the current picture continued to be shown when you log out of WinCC Runtime?
Part number:

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.
  • 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. 01

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.

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.

 Entry ID:16626380   Date:2007-05-02 
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