176
E=, E<>, E>, E<=, E<, E>=
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into
SD0.
*2: There are CPU modules that will not result in an operation error if -0 is specified. For details, refer to Page 88, Section 3.2.4.
Program Example
(1) The following program compares 32-bit floating decimal point real number data at D0 and D1 to 32-bit floating decimal
point real number data at D3 and D4.
[Ladder Mode] [List Mode]
(2) The following program compares the floating decimal point real number 1.23 to the 32-bit floating decimal point real
number data at D3 and D4.
[Ladder Mode] [List Mode]
(3) The following program compares 32-bit floating decimal point real number data at D0 and D1 to 32-bit floating decimal
point real number data at D3 and D4.
[Ladder Mode] [List Mode]
(4) The following program compares the 32-bit floating decimal point data at D0 and D1 to the floating decimal point real
number 1.23.
[Ladder Mode] [List Mode]
Error
code
Error details
Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100
The specified device value is -0.
*2
–– ––
4140
The specified device value is not within the following range:
0, 2
-126
| Specified device value | < 2
128
The specified device value is -0, unnormalized number, nonnumeric,
and ± .
–– –– –– ––
Step
Instruction
Device
Step
Instruction
Device
Step
Instruction
Device
Step
Instruction
Device