Conversion instructions
133
Part II IEC Instructions
BOOL32_TO_DWORD
BOOL32 to DOUBLE WORD
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 BOOL32_TO_DWORD (see page 1318)
Data type Comment
ARRAY of BOOL ARRAY with 32 elements
DWORD output variable
POU header:
Body with and without EN/ENO:
Description
This function copies a variable of the special data type BOOL32 (see page 55) (an array with 32
elements of the data type BOOL or a DUT of 32 members of the data type BOOL) at the input to
the data type DWORD at the output.
Data types