Redundant instruction
This is a redundant instruction. It is replaced by: REAL_TO_DINT
Converts real number data (range: -2,147,483,000 to 2,147,483,000) specified by s to signed 32-bit integer data (rounding the first decimal point off to integer). The converted data is stored in d.
Input
Real number data (source).
Output
Converted double integer data for result (destination).
F332_DROFF cannot be programmed in the interrupt program.
Instead of using F332_DROFF, you can use variables of the type REAL with the more flexible instruction REAL_TO_DINT.
if data other than real number data is specified in s.
if the converted data exceeds the range of 32-bit integer data.
if data other than real number data is specified in s.
if the converted data exceeds the range of 32-bit integer data.
if the result of processing is recognized as "0".