Mitsubishi MELSEC-Q/L Programming Manual page 213

Table of Contents

Advertisement

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
The specified device value is not within the following range:
-126
4100
0, 2
| Specified device value | < 2
The specified device value is
The operation result exceeds the following range (when an overflow
occurs):
4141
128
2
| Operation result |
4140
The specified device is 0, unnormalized number, nonnumeric, and ±
Program Example
(1) The following program adds the 32-bit floating decimal point type real numbers at D3 and D4 and the 32-bit floating
decimal point type real numbers at D10 and D11 when X20 goes ON, and outputs the result to R0 and R1.
[Ladder Mode]
[Operation]
D4
D3
5961.437
(2) The following programs subtracts the 32-bit floating decimal point type real numbers at D20 and D21 from the 32-bit
floating decimal point type real numbers at D11 and D10, and stores the result at D30 and D31.
[Ladder Mode]
[Operation]
D11
D10
97365.203
Error details
128
-
0.
[List Mode]
Step
D11
D10
R1
12003.200
17964.637
[List Mode]
Step
D21
D20
D31
76059.797
21305.406
Q00J/
Q00/
QnH
Q01
––
––
.
––
––
Instruction
Device
R0
Instruction
Device
D30
E+, E+P, E-, E-P
QnPH QnPRH
QnU
LCPU
––
––
––
––
––
––
211
1
2
3
4
6
7
8

Advertisement

Table of Contents
loading

Table of Contents