Redundant instruction
This is a redundant instruction. It is replaced by: TO_BOOL
UDINT_TO_BOOL converts a value of the data type Unsigned DOUBLE INTEGER into a value of the data type BOOL.
Input
input data type
Output
Conversion result
If the required data type is supported, we recommend using the overloaded instruction TO_BOOL
If the input value = 0 (16#0000), the conversion result will be = 0 (FALSE); in any other case, it will be = 1 ( TRUE).