Helper: Multi In Bool 8

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 TypeDescription
IN1..IN8BOOLInput values
Output Type Description
OUTARRAYARRAY[0..7] OF BOOLOutput 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.

  • © Energocentrum Plus, s.r.o. 2017 - 2024