Redundant instruction
This is a redundant instruction. It is replaced by: SUB
Subtracts the 16-bit equivalent constant or 16-bit area specified by s from the 16-bit area specified by d if the trigger EN is in the ON-state. The result is stored in d (minuend area). All 16-bit values are treated as integer values.
Input
Subtrahend
Output
Minuend and 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).