FiFoSetChannelOverride

FiFoSetChannelOverride 1:

The function block FiFoSetChannelOverride sets the channel override by means of which the processing speed of the FIFO channel can be affected. The channel override should not be confused with the axis overrides for the individual axes.

FiFoSetChannelOverride 2: Inputs

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

Name

Type

Description

iChannelId

UDINT

Channel ID of the FIFO channel

iOverride

UDINT

Channel override for the speed of the FIFO channel.

bExecute

BOOL

Edge-triggered signal for execution of the command

tTimeout

TIME

ADS timeout (about 1 second)

FiFoSetChannelOverride 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