Documentation

Helper: Multi In Bool 8

Block name

HELPER_MULTIINBOOL8

ST call

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

Library

LIB\CORE

Version

V1.1

Description

The block converts 8 boolean values to an array of bools.

Inputs

Input Type Description
IN1..IN8 BOOL Input values

Outputs

Output Type Description
OUTARRAY ARRAY[0..7] OF BOOL Output array.

Application example


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.