Helper: Multi In Real

HELPER_MULTIINREAL

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

LIB\CORE

V1.0

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

Input TypeDescription
IN0..IN15REALInput values
Output Type Description
OUTARRAYARRAY[0..15] OF REALOutput real array


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.

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