HELPER_MULTIINLINT
Version V1.0
PROGRAM HELPER
VAR
LINT1, LINT2: LINT;
ARRAYLINT: ARRAY[0..15] OF LINT;
FB: LIB.CORE.V1_0.HELPER_MULTIINLINT;
END_VAR
FB(IN0:=LINT1, IN1:=LINT2, OUTARRAY=>ARRAYLINT);
END_PROGRAM
Version V1.1
PROGRAM HELPER
VAR
LINT1, LINT2: LINT;
ARRAYLINT: ARRAY[0..15] OF LINT;
FB: LIB.CORE.V1_1.HELPER_MULTIINLINT;
END_VAR
FB(IN1:=LINT1, IN2:=LINT2, OUTARRAY=>ARRAYLINT);
END_PROGRAM
LIB\CORE
V1.1
The block converts 16 lint (Long Integer) values to an array of lint values.
Input | Type | Description |
---|---|---|
IN1..IN16 | LINT | Input values |
Output | Type | Description |
---|---|---|
OUTARRAY | ARRAY[0..15] OF LINT | Output lint array |
The block is used for type conversion, where multiiolint array as an input vector for another block structure is required rather than individual lint values.