Helper: Multi Out Bool 8

HELPER_MULTIOUTBOOL8

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

LIB\CORE

V1.1

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

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


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

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