FX Series Programmable Controlers Applied Instructions 5
5-140
5.10.6 EAUB (FNC 121)
Operation:
The floating point value of S
2 is subtracted from the
floating point value of S
1and the result stored in
destination device D.
Points to note:
All points of the EADD instruction apply, except that a subtraction is performed.
See page 5-122.
Mnemonic Function
Operands
Program steps
S
1 S2 D
ESUB
FNC 121
(Floating
Point
Sub-traction)
Subtracts one
floating point
number from
another
K, H - integer value automati-
cally
converted to floating point
D - must be in floating point
number format (32 bits).
D-afloating
point value
(32 bits).
DESUB,
DESUBP:
13 steps
FX
1S
FX
1N
FX
2N
FX
2NC
PULSE-P
16 BIT OPERATION
32 BIT OPERATION
Flags
Zero M8020
Borrow M8021
Carry M8022
DESUB
X17
D120
K79124
D128