Redundant instruction
This is a redundant instruction. It is replaced by: TO_BOOL
WORD_TO_BOOL converts a value of the data type WORD into a value of the data type BOOL.
Input
input data type
Output
Conversion result
If the input value = 0 (16#0000), the conversion result will be = 0 (FALSE); in any other case, it will be = 1 ( TRUE).