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