show the entry list
WinCC -- Working with projects -- Creating and editing projects
How can you tell the version with which a WinCC project was last processed?
How can you prevent operations or value changes being made simultaneously by multiple WinCC clients?
How do you use a monitor with a 1680x1050 pixel resolution with the OS project editor in WinCC?
How do you integrate an existing WinCC project into a STEP 7 project?
How do you activate access protection for a STEP 7 project and set up a user as project editor?
How do you rename WinCC projects?
In WinCC, how do you activate and deactivate the global color and global shadow for all objects in a picture?
How can you reduce the size of the transaction file (*.LDF) of the database of a WinCC project?
Change the name of a project in the database
Setting configuration to "not activated" in the database
What should you watch out for in particular when using the WinCC Project Duplicator with downtime monitors and process monitors?
What options does the WinCC Project Duplicator provide for creating a redundant server project?
Why can no OS be inserted in the SIMATIC Manager when using STEP 7 V5.2 and WinCC V5.1?
What should you watch out for when duplicating a project from a multi-client computer to another multi-client computer?
How can you use other mouse pointers than the ones set by default in WinCC V5.x Runtime?
How can you dynamize your mouse pointers from SIMATIC WinCC?
How can you use user defined colors from an existing WinCC project in another or a new WinCC project?
Modifying the color of the RT- cursor
Which criteria apply to the name of a WinCC project?
How can you prevent operations or value changes being made simultaneously by multiple WinCC clients?
Part number:

Description
When processing critical process values (for controlling pumps, for example) you must make sure that operations and value changes cannot be made simultaneously by multiple clients.

For example, if the picture window for entering setpoint values for a pump is open on one client, then it must be impossible to open that picture window on all other clients.

Instructions
 
No. Procedure
1 Create binary tag
Create a binary tag named "ReleaseOperation" in the WinCC Explorer.
If you use the "Redundancy" options package, "Tag synchronization" must also be enabled.

Fig. 01

In the "Limits/Reporting" tab you specify the value "1" as start value for the tags.

Fig. 02

2 Configure picture
In the Graphics Designer, configure a new picture with the "PumpWindow" picture window and a button to display the picture window.

Fig. 03
3 Parameterize button
Label the button with this text: "Open pump window".

Fig. 04

Dynamize the operator-control enable of the "Button" button in the "Properties" tab ("Button > Miscellaneous > Operator-Control Enable") with the "ReleaseOperation" tag.

Fig. 05

Configure a direct connection to the "Button" button in the "Events" tab ("Button > Mouse > Mouse Action").

Fig. 06


Fig. 07

4 Parameterize picture window
In the Object Properties of the "PumpWindow" picture window, select the "Properties" tab and set the value "No" for "Display" ("Picture window > Miscellaneous > Display").
Specify the picture name of the pump picture in the same mask.

Fig. 08
5 Create a new script
As long as the "PumpWindow" picture window is displayed the "Button" button must not receive operator-control enable.
For this, in the Object Properties of the "PumpWindow" picture window you select the "Events" tab and dynamize the display ("Picture Window > Property Topics > Miscellaneous > Display > Change").

Fig. 09

VB-Script.zip ( 282 bytes )

6 Close picture window
There are several ways of closing the picture window:
  • In the Object Properties of the "PumpWindow" picture window, select the "Properties" tab ("Picture window > Miscellaneous") and set the value "Yes" for the "Border", "Title", "Can Be Maximized" and "Can Be Closed" attributes.
  • In the pump picture you configure a button that will be displayed in the "PumpWindow" picture window. Open the Object Properties dialog of the button, select the "Events" tab ("Button > Mouse > Mouse Action") and create the direct connection below.

    Fig. 10

Note:
Instead of the direct connection, a VB script is also possible if multiple decision criteria are required for closing the picture window:
"Parent.Visible = False"

 Entry ID:50838650   Date:2011-11-07 
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