HELPER_MULTIOUTBOOL
Version V1.0
PROGRAM HELPER
VAR
BOOL1, BOOL2: BOOL;
ARRAYBOOL: ARRAY[0..15] OF BOOL;
END_VAR
LIB.CORE.V1_0.HELPER_MULTIOUTBOOL(INARRAY := ARRAYBOOL, OUT0 => BOOL1, OUT1 => BOOL2);
END_PROGRAM
Version V1.1
PROGRAM HELPER
VAR
BOOL1, BOOL2: BOOL;
ARRAYBOOL: ARRAY[0..15] OF BOOL;
END_VAR
LIB.CORE.V1_1.HELPER_MULTIOUTBOOL(INARRAY := ARRAYBOOL, OUT1 => BOOL1, OUT2 => BOOL2);
END_PROGRAM
LIB\CORE
V1.1
The block converts a Bool array to 16 Bool values.
Input | Type | Description |
---|---|---|
INARRAY | ARRAY[0..15] OF BOOL | Input bool array |
Output | Type | Description |
---|---|---|
=> | ARRAY[0..15] OF BOOL | Output bool array |
OUT1..OUT16 | BOOL | Output values |
The block is used for type conversion, where individual boolean values are required rather than a vector of bool values.