Redundant instruction
This is a redundant instruction. It is replaced by: DIV
The 16-bit data or 16-bit equivalent constant specified by s1 is divided by the 16-bit data or 16-bit equivalent constant specified by s3 if the trigger EN is in the ON-state.
Input
Dividend
Divisor
Output
Quotient
Instead of using this F instruction, we recommend using the corresponding FP7 instruction: FP_DIV_MOD
If the required data type is supported, we recommend using the IEC instruction DIV.
The quotient is stored in d and the remainder is stored in the system variable sys_iDivRemainder. All 16-bit values are treated as integer values.
if the calculated result is 0.
if the negative minimum value -32768 (16#8000) is divided by -1 (16#FFFF)