7 APPLICATION INSTRUCTIONS
7.9 Real Number Instructions
739
7
Dividing double-precision real numbers
ED/(P)
These instructions perform division between double-precision real numbers.
*1 The engineering tool with version "1.035M" or later supports the ST.
■Execution condition
■Description, range, data type
■Applicable devices
Ladder ST
*1
ENO:=EDDIVISION(EN,s1,s2,d);
ENO:=EDDIVISIONP(EN,s1,s2,d);
FBD/LD
( is replaced by either of the following: EDDIVISION, EDDIVISIONP.)
Instruction Execution condition
ED/
ED/P
Operand Description Range Data type Data type (label)
(s1) Dividend data or the start device where dividend data is
stored
0, 2
-1022
|(s1)|<2
1024
Double-precision real
number
ANYREAL_64
(s2) Divisor data or the start device where divisor data is stored 0, 2
-1022
|(s2)|<2
1024
Double-precision real
number
ANYREAL_64
(d) Start device for storing the operation result Double-precision real
number
ANYREAL_64
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
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 $
(s1)
(s2)
(d)
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)