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
Arithmetic Operation
Arithmetic Operation
More like this
Logical Operation
Logical Operation
More like this
Assignment Statement
Assignment Statement
More like this
Repetitive Statement
Repetitive Statement
More like this
Comparison Operation
Comparison Operation
More like this
명령 일람표 보는 방법
명령 일람표 보는 방법
More like this