Conversion instructions
238
Part II IEC Instructions
WORD_TO_BOOL16
WORD to BOOL16
To add an enable input and enable output to the instruction, select [With EN/ENO] from the
"Instructions" pane (LD, FBD or IL editor). To reuse an instruction select "Recently used" from the
context menu or press <Ctrl>+<Shift>+<v> in the programming window.
PLC types
Availability of WORD_TO_BOOL16 (see page 1333)
Data type Comment
WORD input variable
ARRAY of BOOL ARRAY with 16 elements
POU header:
Body with and without EN/ENO:
Description
This function copies data of the data type WORD at the input to an array with 16 elements of the
data type BOOL at the output.
Data types