beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 240

background image

10Ć38

These errors can occur when you are using the AR1 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 take the square root of a negĆ

ative number.

Do not perform a square root operaĆ

tion on a negative number.

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 Length_In is larger than the In inĆ

put.
(This input can exceed the array

size if starting at the first element

or if starting somewhere within the

array.)

D Length_In is less than or equal to

0.

D The value in Length_Out is less

than or equal to 0.

D The value in Length_Out is too

large for the array block's Out.

Make sure Length_In and Length_Out

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.