beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 266

background image

12Ć14

12.4

Errors Caused by the I/O Read and

I/O Write Instructions

This section describes the possible errors for I/O read and I/O write instructions.

If this error occurs:

Then:

Do the following:

D An illegal slot number of an

IOR or IOW is selected

D An illegal register of an IOR

or IOW is selected

ENO is set according to

ERROR_ENO, and nothing is

written to Out.

Correct the slot and register or

address parameters used in

the instruction.

An illegal option of an IOR or

IOW instruction is selected.

ENO is set according to

ERROR_ENO, and nothing is

written to Out.

Correct the number in the

option field. The valid range is

1Ć4.

The array index is negative

ENO is set according to

ERROR_ENO, and element

zero of the variable will be

used for the instruction's

operation.

Specify a valid array element.

The array index is too large

ENO is set according to

ERROR_ENO, and element

zero of the variable will be

used for the instruction's

operation.

Specify a valid array element.

(I/O Read Only)

The result is larger than what

Out's data type supports

ENO is set according to

ERROR_ENO, and Out

contains the largest signed

value allowed for the data type

being used.

Specify the variable in Out to

be a double integer.