beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 243

background image

10Ć41

10.7.3

Errors Caused by the Array Compare Instruction

Errors only occur when parameters are latched and checked. If an error occurs at this

point, the DN output is set true.
When an error occurs, ENO is set to ERROR_ENO.
These errors can occur when you are using the ARC instruction in a program.

If this error occurs:

Do the following:

Array's length inputs are greater than

1 but are not equal.

Make sure the values are equal.

The Elems/Scan input is less than 0.

Specify a value of 0 or greater.

D The value in Length1 is too large

for array block's In1.

D The value in Length2 is too large

for array block's In2.
(These inputs can exceed the

array size if starting at the first eleĆ

ment or if starting somewhere withĆ

in the array.)

D The value in Length1 is less than

or equal to 0.

D The value in Length2 is less than

or equal to 0.

Make sure the lengths are within the

range of the array.

D The array index is negative.
D The array index is too large.

Specify a valid array element.