Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual
Page 241

10Ć39
10.7.2
Errors Caused by the MultiĆArray Instruction
Errors can occur when parameters are latched and checked. If an error occurs at this
point, no operation occurs.
If an arithmetic error occurs during the instruction's operation, a default value is
generated and the operation continues.
When an error occurs:
D ENO is set to ERROR_ENO.
D When AR2 is complete,
D the ER output is set true and retains its value until EN goes false
D the Index output points to the first entry that caused the error
These errors can occur when you are using the AR2 instruction in a program:
If this error occurs:
Do the following:
The result of the arithmetic calculation
is too large for Out.
Use smaller values or reĆarrange the
calculation so that errors do not ocĆ
cur.
Cannot divide by zero.
(As a result, Out contains the largest
signed value allowed for Out's data
type.)
Make sure that the In2 contains valĆ
ues greater than 0.
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.