Table of Contents

Helper: Multi Out Bool 8

Function name

HELPER_MULTIOUTBOOL8

ST call

Version V1.0
 VAR 
 BOOL1, BOOL2: BOOL;
 ARRAYBOOL: ARRAY[0..7] OF BOOL;
 END_VAR
 LIB.CORE.V1_0.HELPER_MULTIOUTBOOL8(INARRAY := ARRAYBOOL, OUT0 => BOOL1, OUT1 => BOOL2); 
END_PROGRAM
 
Version V1.1
 VAR 
 BOOL1, BOOL2: BOOL;
 ARRAYBOOL: ARRAY[0..7] OF BOOL;
 END_VAR
 LIB.CORE.V1_1.HELPER_MULTIOUTBOOL8(INARRAY := ARRAYBOOL, OUT1 => BOOL1, OUT2 => BOOL2); 
END_PROGRAM

Knihovna

Library

LIB\CORE

Version

V1.1

Description

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

Inputs

Input Type Description
INARRAYARRAY[0..7] OF BOOLInput bool array

Outputs

Output Type Description
ARRAY[0..7] OF BOOLOutput bool array
OUT1..OUT8BOOL Output values

Application example


The block is used for type conversion where individual boolean values are required for another block structure rather than a multiiobool array.