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