7/6/2009 1:25 PM | |
Joined: 9/27/2007 Last visit: 12/18/2020 Posts: 993 Rating:
|
Hi What do you mean? If the C -Skript is triggert by value change of a property of an object, you can get the variable, which is connected with this property with the function GetLinkedVariable. Look at the WinCC Information System under the index GetLinkedVariable for the syntax. How do you trigger the C-Scrript? regards cumulus |
Learn more about visualization - visit the HMI courses of Siemens AG! |
|
This contribution was helpful to
1 thankful Users |
7/7/2009 9:00 PM | |
Joined: 4/5/2006 Last visit: 7/30/2025 Posts: 917 Rating:
|
Hi Emazes, Sydneygave you a right explanation, to know which tag triggered your script you have to know the previuos vaue if tag and compare it with actual value, if you have to write function yet, maybe you can use boolean trigger and make your function works with raise edge only, in tis way you don't have to store previuos value.... if not, the only solution is what Sydneysaid Regards |
This contribution was helpful to
1 thankful Users |
Follow us on