219
ED*, ED*P, ED/, ED/P
1
2
3
4
6
7
8
6.2
A
rithmetic Opera
tion In
str
uctions
6.2.12
ED*, ED*P, ED/, ED/P
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.
Program Example
(1) The following program multiplies the 64-bit floating decimal point real numbers at D3 to D6 and the 64-bit floating decimal
point real numbers at D10 to D13, and stores the result at R0 to R3.
[Ladder Mode]
[List Mode]
[Operation]
(2) The following program divides the 64-bit floating decimal point real numbers at D10 to D13 by the 64-bit floating decimal
point real numbers at D20 to D23, and stores the result at D30 to D33.
[Ladder Mode]
[List Mode]
[Operation]
Error
code
Error details
Q00J/
Q00/
Q01
QnH
QnPH QnPRH
QnU
LCPU
4140
The specified device value is not within the following range:
0, 2
-1022
| Specified device value | < 2
1024
The specified device value is
-
0.
––
––
––
––
4100
The divisor is 0.
––
––
––
––
4141
The operation result exceeds the following range (when an overflow
occurs):
2
1024
| Operation result |
––
––
––
––
Step
Instruction
Device
D4
36.7896
D3
D6
D5
D11
11.9278
D10
D13 D12
R1
438.8190
R0
R3
R2
Step
Instruction
Device
D11
52171.39
D10
D13 D12
D21
9.73521
D20
D23 D22
D31
5359.041
D30
D33 D32