FiFoGroupIntegrate

FiFoGroupIntegrate 1:

The function block FiFoGroupIntegrate integrates an initially independent PTP axis into a FIFO channel. iGroupPosition specifies the logical sequence, and indicates the position within the channel at which the axis is to be inserted.

FiFoGroupIntegrate 2: Inputs

VAR_INPUT
    iChannelId     : UDINT;
    iAxisId        : UDINT; (* [1..n] *)
    iGroupPosition : UDINT; (* [1..m] *)
    bExecute       : BOOL;
    tTimeout       : TIME;
END_VAR

Name

Type

Description

iChannelId

UDINT

Channel ID of the FIFO channel

iAxisId

UDINT

Axis ID of an axis that is to be inserted into the FIFO channel

iGroupPosition

UDINT

Position of the axis within the FIFO channel (iGroupPosition>=1)

bExecute

BOOL

Edge-triggered signal for execution of the command

tTimeout

TIME

ADS timeout (about 1 second)

FiFoGroupIntegrate 3: Outputs

VAR_OUTPUT
    bBusy    : BOOL;
    bErr     : BOOL;
    iErrId   : UDINT;
END_VAR

Name

Type

Description

bBusy         

BOOL

Becomes TRUE with a rising edge at bExecute, and remains TRUE until the block has executed the command.

bErr          

BOOL

Becomes TRUE if an error occurs while executing the command

iErrId        

UDINT

Error number (ADS or NC error number)

Requirements

Development environment

Target platform

PLC libraries to be linked

TwinCAT V3.1.0

PC or CX (x86 or x64)

Tc2_NcFifoAxes