Redundant instruction
This is a redundant instruction. It is replaced by: ADD
The 16-bit equivalent constant or 16-bit area specified by s and the 16-bit area specified by d are added together if the trigger EN is in the ON-state. The result is stored in d. All 16-bit values are treated as integer values.
Input
Addend
Output
Augend and result
If the required data type is supported, we recommend using the IEC instruction ADD.
When this instruction is used, the area for the augend d is overwritten by the added result. If you want to avoid the overwrite, we recommend using the instruction F22_ADD2.
The variables s and d have to be of the same data type.
if the calculated result is 0.
if the result exceeds the range of 16-bit data (overflow or underflow).