WORD_TO_BOOLS

WORD into 16 variables of the data type BOOL

This function converts a value of the data type WORD bit-wise to 16 values of the data type BOOL.

Parameters

Input

Unnamed input (WORD)
Input data type

Output

BOOL0 ... BOOL15 (BOOL)

Conversion result 16 output variables of the data type BOOL

Remarks

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

Example

POU header:

Body:

Related topics:

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