Creating an Array

Arrays are configured the same as any other Global or Local tag. They can be configured as 1 ,2 or 3 dimensions.

To access individual elements of the new array tag double-click in the Initial Value cell. A new window will open.

This allows configuration of description and values for each element.

If values are set in the individual elements, the initial value will show as <Setting>.

An array can also be configured to alias a fixed memory address (%M or %W).

Set the first memory address as the first element of the array. The tag will automatically assign the memory addresses.

Editing Array Size

To edit an existing array, simply double-click in the Type column. This allows edit of the individual characters to change the size or type of array.

In this example we will change from a 4 element array (0 to 3) to a 7 element array (0 to 6).

 

 

 

 

 

 

LP331