Conversion instructions
240
Part II IEC Instructions
WORD_TO_BOOLS
WORD to 16 variables of the data type BOOL
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.
The outputs Bool0 to Bool15 need not be allocated in LD or FBD, or used explicitly in the ST
editor's formal list of parameters. Program code is only generated for those outputs that are truly
used.
PLC types
Availability of WORD_TO_BOOLS (see page 1333)
Variable Data type Function
In WORD input variable
BOOL0 ...
BOOL15
BOOL 16 output variables of the data type BOOL
Description
This function converts a value of the data type WORD bit-wise to 16 values of the data type BOOL.
Data types
POU
header: