It is often useful to execute a group only when a certain condition is met or as a bit turns on or off. Triggers allow Transaction Groups to run based on values changing in various ways.
Execute on Value Change
A group can execute when the group's Tags have changed, or when a particular Tag within the group has changed. In either case, the Transaction Group will execute every time the value or values change.
- In the Trigger tab, select at the very top the Only evaluate when values have changed checkbox.
Now the group will execute if any of the Tags change.
- To execute when only one Tag changes, from the Tags to watch for change dropdown, select Custom, click on Select Tags, select the Tag from the pop-up window, and click OK. You can select more than one Tag at a time in order to monitor more than one Tag for value changes.
- From the Trigger on item dropdown, select the appropriate Tag to execute the Tag on a trigger.
Select the Active on value change radio button.
Save the Project to start the Transaction Group.