Helper: Multi Out Real

HELPER_MULTIOUTREAL

Version V1.0
PROGRAM HELPER 
 VAR 
 REAL1, REAL2: REAL;
 ARRAYREAL: ARRAY[0..15] OF REAL;
 END_VAR
 
 LIB.CORE.V1_0.HELPER_MULTIOUTREAL(INARRAY := ARRAYREAL, OUT0 => REAL1, OUT1 => REAL2); 
END_PROGRAM
 
Version V1.1
PROGRAM HELPER 
 VAR 
 REAL1, REAL2: REAL;
 ARRAYREAL: ARRAY[0..15] OF REAL;
 END_VAR
 
 LIB.CORE.V1_1.HELPER_MULTIOUTREAL(INARRAY := ARRAYREAL, OUT1 => REAL1, OUT2 => REAL2); 
END_PROGRAM

LIB\CORE

V1.1

The block converts an array of real to 16 real values. 

Input Type Description
INARRAY ARRAY[0..15] OF REALInput real array.
IN0..IN15REAL Input values - individually.
Output TypeDescription
OUT1..OUT16REALOutput values.

Inputs IN0..IN15 are not used. If INARRAY is not connected, the IN0..IN15 are brought to the outputs. 

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