Documentation

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 Type Description
IN0..IN15 REAL Input values

Outputs

Output Type Description
OUTARRAY ARRAY[0..15] OF REAL Output 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.