Mitsubishi MELSEC-Q/L Programming Manual page 178

Table of Contents

Advertisement

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.
Error
code
4100
The specified device value is -0.
The specified device value is not within the following range:
-126
|
0, 2
Specified device value
4140
The specified device value is
and ±
.
*2:
There are CPU modules that will not result in an operation error if
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]
(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]
(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]
(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]
176
Error details
*2
128
|
< 2
-
0, unnormalized number, nonnumeric,
[List Mode]
Step
[List Mode]
Step
[List Mode]
Step
[List Mode]
Step
Q00J/
Q00/
QnH
QnPH QnPRH
Q01
––
––
-
0 is specified. For details, refer to Page 88, Section 3.2.4.
Device
Instruction
Device
Instruction
Instruction
Device
Instruction
Device
QnU
LCPU
––
––
––
––

Advertisement

Table of Contents
loading

Table of Contents