Redundant instruction
This is a redundant instruction. It is replaced by: SUB
Subtracts the 16-bit data or 16-bit equivalent constant specified by s2 from the 16-bit data or 16-bit equivalent constant specified by s1 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
Minuend
Subtrahend
Output
Result
If the required data type is supported, we recommend using the IEC instruction SUB.
if the calculated result is 0.
if the result exceeds the range of 16-bit data (overflow or underflow).