/
ADD (FLOAT)
ADD (FLOAT)
EADD, EADDP (Float)
ADD instruction adds two float values (S1 and S2) and save the result in Destination (assigned device address).
(It supports only in XP and PLC-S CPU series)
| |
S1, S2 | Source 1 and 2 |
D | Destination |
Instruction | Device address | No. of Steps | Flag | |||||||||||||||
M | X | Y | K | L | F | T | C | S | Z | D | @D | Int. |
| Error | Zero | Carry | ||
EADD(P) | S1 | o | o | o | o | o | - | - | - | - | o | o | o | - | 4 | o | - | - |
S2 | o | o | o | o | o | - | - | - | - | o | o | o | - | |||||
D | o | - | o | o | o | - | - | - | - | o | o | o | - |
Example)
If X02 is ON, add D0 and D4 and then send the result to Y40.
If M00 is ON, add 0.23 and D2 and then send the result to D40.
, multiple selections available,
Related content
SUB (FLOAT)
SUB (FLOAT)
More like this
EMUL (FLOAT)
EMUL (FLOAT)
More like this
EDIV (FLOAT)
EDIV (FLOAT)
More like this
ADD (BINARY)
ADD (BINARY)
More like this
BMUL (BCD)
BMUL (BCD)
More like this
EMOV
EMOV
More like this