11/10/2020 3:29 PM | |
Joined: 9/23/2005 Last visit: 3/14/2025 Posts: 4406 Rating:
|
“Simple Samples” are small projects that demonstrate simple features. The target is give a quick overview about the theme and be used as start point for related discussions. Follow there are a short description and the configuration main steps. Description: In this simple sample, trend “first record” Button is activated by an external Button with help of script / system function (SetPropertyValue). The principle of activating object button by script could be adapted to other controls, like alarms and trends. TIP: The main point here is to get access to the button visible property. The buttons are referend by an index and not by his name (the index stay on the property column Name, and the description in the column Static value). To get the right name, click with the right mouse button on the object property (here in Miscellaneous, Toolbar, Elements [0] Button, visibility) and choose “copy property name”. Use this reference in the SetPropertyValue system function (or equivalent script) AttachmentTrendsButtons_20201110_1126.zip (1110 Downloads) |
Denilson Pegaia |
|
This contribution was helpful to
3 thankful Users |
5/27/2024 10:28 AM | |
Joined: 9/23/2005 Last visit: 3/14/2025 Posts: 4406 Rating:
|
Hi, As from TIA V19 up2 it is possible to execute button function outside of the control by the ExecuteToolbarButton system function. More details see the post “Simple Sample and TIPs - WinCC Unified - execute button function outside of the control” at https://support.industry.siemens.com/forum/br/pt/posts/simple-sample-and-tips-wincc-unified-execute-button-function-outside-of-the-control/317497/?page=0&pageSize=10 |
Denilson Pegaia |
|
Follow us on