Using CitectSCADA > Tagging Process Variables > Configuring Variable Tags > Referring to array elements
Referring to array variables

Each entry of an array is referred to by an index. You can extract individual variables (from the array) by specifying the tag name and index:

<Tag Name>[Index]

For example, to refer to the third variable of the array in the above example (Conveyor 3), use the following syntax:

Variable Tag

Conveyor_Speed[2]

The index of the first entry of an array is always 0 (zero). In this example, Conveyor_Speed[0] is the first entry of the array (Conveyor 1), and Conveyor_Speed[4] is the last entry (Conveyor 5).

Note the following when using arrays:

See Also