Data Change Scripts

Data Change Scripts are scripts that are executed whenever a tag value changes.

  1. To add a new script, under Scripting in the Project Explorer, right click on the Data Change Scripts category and select New Script.

  2. This opens the Tag Selector dialog, where you can select the tag you want to create the script for.

  3. This will create a new item under the Data Change Scripts node, and opens a new Script Editor where you can write the code to execute on data change.