Table of Contents

Helper: Multi In Lint

Block name

HELPER_MULTIINLINT

ST call

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

Library

LIB\CORE

Version

V1.1

Description

The block converts 16 lint (Long Integer) values to an array of lint values.

Inputs

Input TypeDescription
IN1..IN16LINTInput values

Outputs

Output Type Description
OUTARRAYARRAY[0..15] OF LINTOutput lint array

Application example


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.