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.
• The value of the specified device is not in the following range:
-1022
0,2
• The value of the designated device is
Program Example
(1) The following program compares 64-bit floating decimal point real number data at D0 to D3
with 64-bit floating decimal point real number data at D4 to D7.
[Ladder Mode]
(2) The following program compares the floating decimal point real number 1.23 with the 64-bit
floating decimal point real number data at D4 to D7.
[Ladder Mode]
(3) The following program compares 64-bit floating decimal point real number data at D0 to D3
with 64-bit floating decimal point real number data at D4 to D7.
[Ladder Mode]
(4) The following program compares the 64-bit floating decimal point data at D0 to D3 with the
floating decimal point real number 1.23.
[Ladder Mode]
| value of specified device | < 2
ED=,ED<>,ED>,ED<=,ED<,ED>=
1024
0.
[List Mode]
Instruction
Device
Step
[List Mode]
Step
Instruction
[List Mode]
Instruction
Step
[List Mode]
Step
Instruction
(Error code: 4140)
(Error code: 4140)
Device
Device
Device
6-9
1
2
3
4
4
6
7
8