Table of Contents

Helper: Multi Out Real

Function name

HELPER_MULTIOUTREAL

ST call

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

Library

LIB\CORE

Version

V1.1

Description

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

Inputs

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

Outputs

Output TypeDescription
OUT1..OUT16REALOutput values.

Function

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

Application example