160
Note: the compare value must be floating numbers, otherwise the result will be error.
4-9-3.Floating Addition [EADD]
1. Summary
Normally ON/OFF,
rising/falling edge
Addition operation data address
Addition operation data address
3. Suitable soft components
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS.
EADD D10 D20 D50
S1· S2· D·
X0
The two binary floating source data do addition operation, the result will be stored in target
address.
If a constant K or H used as source data, the value is converted to floating point before the
addition operation.
Please set S1≤ S2, when S2< S1, make S2 as the same value to S1.
(D11, D10) + (D21, D20) → (D51, D50)
Binary Floating Binary Floating Binary Floating
(K1234) + (D101, D100) → (D111, D110)
Binary converts to Floating Binary Floating Binary Floating