Redundant instruction
This is a redundant instruction. It is replaced by: TRUNC_TO_INT
Converts real number data (range: 32767.99 to -32768.99) specified by s to signed 16-bit integer data (rounding the first decimal point down to integer) when the trigger turns on. The converted data is stored in d.
Input
Real number data (source).
Output
Converted integer data for result (destination).
F329_FIX cannot be programmed in the interrupt program.
Instead of using F329_FIX, you can use variables of the type REAL with the more flexible instruction TRUNC_TO_INT.
if data other than real number data is specified in s.
if the converted data exceeds the range of 16-bit integer data.
if data other than real number data is specified in s.
if the converted data exceeds the range of 16-bit integer data.
if the result of processing is recognized as "0".