Conversion instructions
242
Part II IEC Instructions
DWORD_TO_BOOLS
DOUBLE WORD to 32 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 Bool31 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 DWORD_TO_BOOLS (see page 1319)
Variable Data type Function
In DWORD input variable
BOOL0 ...
BOOL31
BOOL 32 output variables of the data type BOOL
POU header:
etc. to Bool31
Description
This function converts a values of the data type DWORD bit-wise to 32 values of the data type
BOOL.
Data types