5/7/2024 12:44 PM | |
Joined: 1/21/2013 Last visit: 9/4/2024 Posts: 3083 Rating:
|
Hi s27, From a programming point of view, this should be possible, but the power of the Unified Basic Panel may not be enough to do it in an acceptable way. I suggest you divide the task into two parts. First, you should manage the active alarms. You can do this by cyclically calling the GetActiveAlarms method, but this method is known for poor performance when used in a short cycle. So I would suggest the following:
If you insist on having an animated transition between two alarm texts, the second part would be to create a faceplate, as WinCC Unified does not provide any animation functionality. Within the faceplate I would place two TextBox objects of the same size as the faceplate. Depending on the desired direction of the animation, these boxes will be placed on top of each other or next to each other. I would use TextBoxes because this allows us to use the alarm background color and the Flashing property. To create the animation, you will need to use timers and change the content of the text boxes according to the alarms stored in the map. Kind regards |
This contribution was helpful to
1 thankful Users |
Follow us on