HELPER_MULTIOUTLINT
Version V1.0
PROGRAM HELPER
VAR
LINT1, LINT2: LINT;
ARRAYLINT: ARRAY[0..15] OF LINT;
FB: LIB.CORE.V1_0.HELPER_MULTIOUTLINT;
END_VAR
FB(INARRAY:=ARRAYLINT, OUT0=>LINT1, OUT1=>LINT2);
END_PROGRAM
Version V1.1
PROGRAM HELPER
VAR
LINT1, LINT2: LINT;
ARRAYLINT: ARRAY[0..15] OF LINT;
FB: LIB.CORE.V1_1.HELPER_MULTIOUTLINT;
END_VAR
FB(INARRAY:=ARRAYLINT, OUT1=>LINT1, OUT2=>LINT2);
END_PROGRAM
LIB\CORE
V1.1
The block converts a lint array to 16 individual lint values.
Input | Type | Description |
---|---|---|
INARRAY | ARRAY[0..15] OF LINT | Input array lint |
IN0..IN15 | LINT | Input values |
Output | Type | Description |
---|---|---|
OUT1..OUT16 | LINT | Output values |
Inputs IN0..IN15 are not used. If IN is not connected, they are brought to the outputs.