FiFoStart

FiFoStart 1:

The function block FiFoStart initiates processing of the FIFO channel, so that all the axes in the FIFO channel are driven in accordance with the position data previously provided to the FIFO.

FiFoStart 2: Inputs

VAR_INPUT
    iChannelId  : UDINT;
    bExecute    : BOOL;
    tTimeout    : TIME;
END_VAR

Name

Type

Description

iChannelId

UDINT

Channel ID of the FIFO channel

bExecute

BOOL

Edge-triggered signal for execution of the command

tTimeout

TIME

ADS timeout (about 1 second)

FiFoStart 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