Helper: Multi In Lint

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 TypeDescription
IN1..IN16LINTInput values
Output Type Description
OUTARRAYARRAY[0..15] OF LINTOutput 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.

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