Variable Group Add Variable

The Variable Group Add Variable action adds a device variable to an existing variable group.

The variable group used in the Variable Group Add Variable action must have previously been defined. A variable group is a collection of variables that are logically related and can be monitored collectively.



A Variable Group event type trigger is used to monitor the variables in a variable group. Starting the variable group will cause the variables to be monitored. When the value of any variable within the group changes, the trigger will execute.

Parameters descriptions

The parameters support compound strings, they can be entered as direct constants or compound strings to build the parameter strings.

Parameter Description
Variable Group The variable group to which the device variable will be added.
The variable group must have previously been defined.
Device Name The device name. For example, Local CPU 1.
Variable Name The variable name. For example, D[1]. The concatenation of the device name and device variable will be added to the variable group.
Key A string value that will be available to the Variable Group event trigger. This variable key can be used as a reference ID, or correlation ID, to help identify which variable's value in the group has changed.

Input tab

Parameter Description
other Depending on the values for the Variable Group, Device Name, Variable Name and key parameters, other input items might be available to correctly build the parameter strings. For more information, see Using compound strings.
Related topics

Variable Group

Defining, viewing, and controlling variable groups