A SERVICE OF

logo

App - 50
(2) Method of avoiding “OPERATION ERROR” (error code: 4140) in the floating-point data
comparison instructions
As shown in the modification examples below, connect the contacts of valid data flag in series for each floating-
point data comparison instruction. (Use AND connection for connecting the contact of the valid data flag and the
floating-point data comparison instruction.)
Make sure that there is no line (OR connection) between the valid data flag and the floating-point data compari-
son instruction.
<Modification example 1>
<Modification example 2>
(Before modification) (After modification)
E<= D100 E10
E>=
D100 E200
E<= D100 E10
E>=
D100 E200
Valid
data
flag
Valid
data
flag
Valid
data
flag
Make sure that there is no line (OR connection)
between the signal which shows the
floating-point data validity (valid data flag) and
the floating-point data comparison instruction.
(Before modification)
(After modification)
E<= E10D100 E<= D100 E10
M200 M201 M200 M201
Valid
data
flag
Valid
data
flag
Valid
data
flag