Configuring Multi-Property Dynamic Dialogs for Motor Status on Static Text in WinCC
To animate a Static Text object in SIMATIC WinCC Graphics Designer to display motor state—showing green background with 'READY' when running and red background with 'STOPPED' when halted—configure dual Dynamic Dialogs on the object's Font Text and Background Color properties. In Object Properties, bind property 'Text' to the motor run feedback tag using a Boolean Dynamic Dialog (True = 'READY', False = 'STOPPED'), and bind 'Background Color' to the same tag (True = Green, False = Red). Crucially, set the object's 'Backstyle' property to 'Opaque' and line width to 1 so the background color and border box are visible in runtime.
Table of Contents
- Operating Principles of Multi-Property WinCC Dynamic Dialogs
- Configuring Text and Color Dynamics Step-by-Step
- The Mandatory Role of Backstyle and Border Properties
- Event Trigger Selection: 'Upon Change' Optimization
- Comparison of Graphic Animation Methods for Status Boxes
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Operating Principles of Multi-Property WinCC Dynamic Dialogs
In SIMATIC WinCC Graphics Designer, visual status indicators frequently require simultaneous multi-attribute animation. For motor drives, standard ergonomic design mandates that both the textual description and the background color change concordantly with operating status.
The Dynamic Dialog provides compiled, high-performance evaluation of process tags directly inside the WinCC graphics kernel. Unlike C-scripts or VBScript, Dynamic Dialogs incur virtually zero CPU overhead, do not consume script threads, and evaluate instantaneously upon receiving updated process value telegrams.
Configuring Text and Color Dynamics Step-by-Step
Execute the following procedure in Graphics Designer:
- Place Static Text: From the Object Palette (
Standard > Windows Objects), drag a Static Text onto the picture canvas. - Animate Text Content:
- In Object Properties, expandFontand locate property Text.
- Right-click the lightbulb in the Dynamic column and select Dynamic Dialog....
- Set Result of Expression toBoolean.
- In the Expression/Formula field, browse and select the motor running feedback tag (e.g.'Motor101.FbkRun.Value').
- In the state table: assignYes/True=READY(orRUNNING), andNo/False=STOPPED. - Animate Background Color:
- In Object Properties, expandColorsand locate property Background Color.
- Right-click the dynamic lightbulb and open Dynamic Dialog....
- SelectBooleanevaluation on the identical motor tag.
- In the state table: assignYes/True= Green (RGB 0, 255, 0), andNo/False= Red (RGB 255, 0, 0).
The Mandatory Role of Backstyle and Border Properties
Two common configuration omissions prevent static text boxes from displaying color animations properly:
- Backstyle Property: By default, Static Text objects often have property
Styles > Backstyleset toTransparent(0). When transparent, the background fill is suppressed regardless of the Background Color value. You must setBackstyle = Opaque(1). - Box Border Appearance: To render a clean box around the text, navigate to
Styles > Line Weightand set the value to1or2, and select a dark gray or blackBorder Color.
Event Trigger Selection: 'Upon Change' Optimization
In both Dynamic Dialogs, examine the Event Name / Trigger field at the bottom of the dialog:
- Avoid cyclic polling triggers (such as
2 sor1 s), which cause noticeable response delays when equipment starts. - Click the clock button and select Upon change of the monitored tag. This ensures that the instant the controller sets
FbkRun = 1, the graphic updates in less than 20 milliseconds.
Comparison of Graphic Animation Methods for Status Boxes
The table below contrasts animation methods for motor status indicators:
Verification
Verify multi-property status animation in runtime:
- Save the graphic picture and launch WinCC OS Runtime.
- While the motor is stopped (
FbkRun = 0), confirm the box displays red background with bold textSTOPPED. - Command the motor to start from CFC or operator faceplate (
FbkRun = 1). - Confirm that the background instantly switches to green and the text switches to
READY. - Disconnect the controller communication cable; confirm the box changes to the invalid quality pattern (gray hatched shading).
Limitations and Operational Precautions
Review the following graphic design precautions:
- High-Contrast Typography: Ensure the text font color (e.g. white or black) maintains high legibility across both red and green backgrounds. Dark text on deep red can be difficult to read under industrial lighting.
- Ergonomic Standards: Modern process standards (ISA-101) recommend muted gray for normal running and bright color highlights strictly for abnormal trip conditions; verify plant engineering style guides.
- Tag Quality Code Evaluation: Enable
Evaluate quality codein the Dynamic Dialog to avoid showing false healthy states if sensor wiring fails.
Engineer FAQ
Can a single Dynamic Dialog control both text and color simultaneously?
No. A Dynamic Dialog binds to one specific object property. To animate both text and background color on the same Static Text object, configure two separate Dynamic Dialogs: one on the 'Text' property and one on 'Background Color'.
Why does the Static Text stay gray when the motor runs?
Ensure property 'Styles > Backstyle' is set to 'Opaque'. If Backstyle is set to 'Transparent', the background color remains invisible regardless of tag state.
How can I add faceplate opening functionality to this custom static text box?
In Object Properties under Events, expand Mouse > Mouse Click, assign a C-Action or Dynamic Wizard 'Call Faceplate', and bind it to the motor technological block instance.
Technical References
- SIMATIC WinCC V7.4 Graphics Designer Manual: https://support.industry.siemens.com/cs/ww/en/view/102601737
- SIMATIC PCS 7 OS Graphic Configuration Guide: https://support.industry.siemens.com/cs/ww/en/view/109780765
- WinCC Dynamic Dialog and Process Visualization: https://support.industry.siemens.com/cs/ww/en/view/109763784
Related Articles
- Configuring Dynamic Dialog Color Changes in WinCC Graphics Designer for Equipment Status
- Executing Picture Navigation via VBScript vs Standard Buttons in WinCC Graphics Designer
- Managing Process Picture Dimensions and Custom Popup Windows in SIMATIC PCS 7 OS
Related Tags
- Static Text Animation
- Dynamic Dialog
- WinCC Graphics Designer
- Motor Status
- Backstyle Opaque
- PCS 7 OS