FX Series Programmable Controlers Applied Instructions 5
5-142
5.10.8 EDIV (FNC 123)
Operation:
The floating point value of S
1 is divided by the
floating point value of S
2. The result of the division
is stored in D as a floating point value. No
remainder is calculated.
Points to note:
Points a, b, c, d of the EADD instruction apply, except that a division is performed.
See page 5-122.
• If S
2 is 0 (zero) then a divide by zero error occurs and the operation fails.
Mnemonic Function
Operands
Program steps
S
1 S2 D
EDIV
FNC 123
(Floating
Point
Division)
Divides one
floating point
number by
another.
K, H - integer value automati-
cally
converted to floating point
D - must be in floating point
format (32 bits).
D-afloating
point value
(32 bits).
DEDIV,
DEDIVP:
13 steps
FX
1S
FX
1N
FX
2N
FX
2NC
PULSE-P
16 BIT OPERATION
32 BIT OPERATION
DEDIV
X10
D128
K500 D106