DWORD_TO_BOOLS

DOUBLE WORD into 32 variables of the data type BOOL

This function converts a values of the data type DWORD bit-wise to 32 values of the data type BOOL.

Parameters

Input

Unnamed input (WORD)
Input data type

Output

BOOL0 ... BOOL31 (BOOL)

Conversion result 32 output variables of the data type BOOL

Remarks

The outputs Bool0...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.

Example

POU header:

etc. to Bool31

Body:

Related topics:

Modified on: 2019-01-24Feedback on this pagePanasonic hotline