12/16/2024 7:14 AM | |
Joined: 12/10/2024 Last visit: 2/4/2025 Posts: 8 Rating:
|
I want to know when someone clicks on this 2 buttons. Can you help with the script? |
12/30/2024 11:16 AM | |
Joined: 8/3/2009 Last visit: 2/6/2025 Posts: 14656 Rating:
|
Hello dmuz in WinCC Professional you should not writ to tags like this in VBS. Please use: https://support.industry.siemens.com/cs/ww/en/view/109815056/36120923147 And what exactly does not work? please use diagnostic outputs like HMIRuntime.Trace or Msgbox to check if it works or not. The ID you can see in the properties of the Toolbar elements in the Control or you can simply give out the ID if you click on a specific toobarbutton: SO if you click on the wanted button you get the output which ID it is: (I tested it an it works) Bye Murof |
If this Information really helps, you could use the Rate function |
|
1/10/2025 2:17 PM | |
Joined: 8/3/2009 Last visit: 2/6/2025 Posts: 14656 Rating:
|
Hello dmuzina It works for me: Use a Trace of a simple text at the beginning of that script then you know if its running. And also if you read values from a Tag use: https://support.industry.siemens.com/cs/ww/en/view/109815056/36120935051 It has to work... if not then try to debug or make an output after every line or in every branch at the beginning Bye Murof
|
If this Information really helps, you could use the Rate function |
|
Follow us on