beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 286

background image

AĆ14

To specify the maximum array index for an array variable using the Variable

Properties
Step 1.

Select the instruction that uses the array variable.

Step 2.

Access the variable properties by doing either of the following:

D From the File menu, choose Properties and then the Variables tab.
D Press the right mouse button, and choose Properties from the

popĆup menu and then the Variables tab.

Step 3.

Select the array variable name from the variable list.

Step 4.

In the Maximum Array Index field, enter the number of the last element. The

largest number you can enter is 65,535 (65,535 = space reserved for 65,536

elements).

Step 5.

Click OK.

Tip
To increase the maximum array index, you can also enter the array variable with a

greater index. For example, the variable A[100] has 101 elements. If you need a larger

index, you can enter A[200]. Variable A now has 100 more elements than before.