Subtracting double-precision real numbers
ED-(P) [when two operands are set]
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions perform subtraction between double-precision real numbers.
Ladder
(s)
(d)
FBD/LD
Not supported
( Page 731 ED-(P) [when three operands are set])
■Execution condition
Instruction
ED-
ED-P
Setting data
■Description, range, data type
Operand
Description
(s)
Subtrahend data or the start device where subtrahend data
is stored
(d)
Start device where minuend data is stored
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s)
(d)
Processing details
• These instructions subtract the double-precision real number in the device specified by (s) from the double-precision real
number in the device specified by (d), and store the result in the device specified by (d).
(d)+3
(d)+2
(d)+1
(d)
-
Double-precision real number
-1022
|specified value (stored value)| <2
• Value 0 or 2
• When an input value is set using the engineering tool, a rounding error may occur. Refer to the following for the precautions
on setting input values using the engineering tool.
Page 49 Precautions
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
(s)+3
(s)+2
(s)+1
(s)
Double-precision real number
1024
ST
Not supported
( Page 731 ED-(P) [when three operands are set])
Range
Data type
-1022
1024
|(s)|<2
0, 2
Double-precision real
number
-1022
1024
|(d)|<2
0, 2
Double-precision real
number
Double word Indirect
Z
LT, LST,
LZ
LC
(d)+3
(d)+2
(d)+1
(d)
Double-precision real number
can be specified or stored in the devices specified by (s) and (d).
Data type (label)
ANYREAL_64
ANYREAL_64
Constant
specification
K, H E
$
7 APPLICATION INSTRUCTIONS
7.9 Real Number Instructions
7
Others
729