HELPER_MULTIINBOOL8
Version V1.0
PROGRAM HELPER
VAR
BOOL1, BOOL2: BOOL;
ARRAYBOOL: ARRAY[0..7] OF BOOL;
FB: LIB.CORE.V1_0.HELPER_MULTIINBOOL8;
END_VAR
FB(IN0:=BOOL1, IN1:=BOOL2, OUTARRAY=>ARRAYBOOL);
END_PROGRAM
Version V1.1
PROGRAM HELPER
VAR
BOOL1, BOOL2: BOOL;
ARRAYBOOL: ARRAY[0..7] OF BOOL;
FB: LIB.CORE.V1_1.HELPER_MULTIINBOOL8;
END_VAR
FB(IN1:=BOOL1, IN2:=BOOL2, OUTARRAY=>ARRAYBOOL);
END_PROGRAM
LIB\CORE
V1.1
The block converts 8 boolean values to an array of bools.
Input | Type | Description |
---|---|---|
IN1..IN8 | BOOL | Input values |
Output | Type | Description |
---|---|---|
OUTARRAY | ARRAY[0..7] OF BOOL | Output array. |
The block is used for type conversion, where multiiobool array as an input vector for another block structure is required rather than individual boolean values.