Table of Contents

Helper: Multi In Real

Block name

HELPER_MULTIINREAL

ST call

Version V1.0
PROGRAM HELPER 
        VAR
        REAL1, REAL2: REAL;
        ARRAYREAL: ARRAY[0..15] OF REAL;
        FB: LIB.CORE.V1_0.HELPER_MULTIINREAL;
        END_VAR
        FB(IN0:=REAL1, IN1:=REAL2, OUTARRAY=>ARRAYREAL); 
END_PROGRAM
 
Version V1.1
PROGRAM HELPER 
        VAR
        REAL1, REAL2: REAL;
        ARRAYREAL: ARRAY[0..15] OF REAL;
        FB: LIB.CORE.V1_1.HELPER_MULTIINREAL;
        END_VAR
        FB(IN1:=REAL1, IN2:=REAL2, OUTARRAY=>ARRAYREAL); 
END_PROGRAM

Library

LIB\CORE

Version

V1.0

Description

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

Inputs

Input TypeDescription
IN0..IN15REALInput values

Outputs

Output Type Description
OUTARRAYARRAY[0..15] OF REALOutput real array

Application example


he block is used for type conversion, where multiioreal array as an input vector for another block structure is required rather than individual real variables.