3/27/2025 10:12 AM | |
Joined: 1/21/2013 Last visit: 9/11/2025 Posts: 4102 Rating:
|
Hi federico_moniglia21, One way is to use the TagSubscription object. This might help, but you might run into problems again. Since WinCC Unified requires some different approaches compared to WinCC Comfort, knowing more about the task would bring another recommendation. Kind regards |
3/27/2025 10:54 AM | |
Joined: 1/21/2013 Last visit: 9/11/2025 Posts: 4102 Rating:
|
Hi federico_moniglia21, What you have described are the possibilities of the old WinCC Comfort system. And I am quite sure that every active volunteer here in the forum knows this. But to tell you more than to try the TagSubscription, we would need to know the functionality you want to implement. Kind regards |
3/27/2025 11:52 AM | |
Joined: 1/21/2013 Last visit: 9/11/2025 Posts: 4102 Rating:
|
Hi federico_moniglia21, You can use the quality code of an HMI tag to get an indication of a lost connection. To do this, a tag subscription that evaluates the tag's QualityCode property within the subscription callback function would be a solution. However, you must ensure that the script is placed somewhere where the variable that stores the subscription is always available. So if you use the common approach for WinCC Unified to have a start screen that contains some screen windows and to do all screen changes only within these windows (i.e. without ever unloading the start screen), the OnLoaded event of the start screen would be a good place to place the script. Kind regards |
This contribution was helpful to
1 thankful Users |
Follow us on