Redundant instruction
This is a redundant instruction. It is replaced by: INT_TO_DINT
16-bit data is converted to 32-bit data without signs and values being changed. F89 copies the sign bit of the 16-bit data specified in s to all the bits of the higher 16-bit area (extended 16-bit area) in d.
Input
16-bit source data area, bit 15 is sign bit
Output
32-bit destination area, s copied to lower 16 bits, higher 16 bits filled with sign bit of s
If the sign bit (bit position 15) of the 16-bit data specified by s is 0, all higher 16 bits in the variable assigned to d will be 0. If the sign bit of s is 1, the higher 16 bits of d will be 1.