Redundant instruction
This is a redundant instruction. It is replaced by: SUB
Subtracts the 32-bit data or 32-bit equivalent constant specified by s2 from the 32-bit data or 32-bit equivalent constant specified by s1 if the trigger EN is in the ON-state. The result is stored in d. All 32-bit values are treated as double 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 32-bit data (overflow or underflow).