beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 158

background image

7Ć12

7.3.3

Errors Caused by the Convert From Binary Data to Integer Data Instruction

These errors can occur when you are using the BCD_TO instruction in a program. They

are logged in the error log.

If this error occurs:

Then:

Do the following:

The result is larger

than what Out's data

type supports.

ENO is set according

to ERROR_ENO, and

Out contains the

largest value allowed

for the data type being

used.

Specify a larger data

type for Out. For

example, use a double

integer data type

instead of a integer.

An illegal BCD digit

was found.

D Out contains the

value of 0

D ENO is set

according to

ERROR_ENO.

Use a valid BCD value

for In.