Table of Contents

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 TypeDescription
IN1..IN8BOOLInput values

Outputs

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