EasyManua.ls Logo

Xinje XD5 - Floating Addition [EADD]

Xinje XD5
389 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
160
Note: the compare value must be floating numbers, otherwise the result will be error.
4-9-3Floating Addition [EADD]
1. Summary
Floating Add [EADD]
16 bits
-
32 bits
EADD
Execution
condition
Normally ON/OFF,
rising/falling edge
Suitable
Models
XD, XL
Hardware
requirement
-
Software
requirement
-
2. Operands
Operands
Function
Data Type
S1
Addition operation data address
32 bits, BIN
S2
Addition operation data address
32 bits, BIN
D
Result address
32 bits, BIN
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·
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.
EADD D100 K1234 D110
X1
Please set S1 S2, when S2< S1, make S2 as the same value to S1.
Operand
System
Constant
Module
D
*
FD
TD
*
CD
*
DX
DY
DM
*
DS
*
K /H
ID
QD
S1
S2
D
Word
Description
(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

Table of Contents

Related product manuals