FiFoSetChannelOverride

FiFoSetChannelOverride 1:

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.

Interface

VAR_INPUT
    iChannelId  : UDINT;
    iOverride   : UDINT;
    bExecute    : BOOL;
    tTimeout    : TIME;
END_VAR
VAR_OUTPUT
    bBusy   : BOOL;
    bErr    : BOOL;
    iErrId  : UDINT;
END_VAR

iChannelId: Channel ID of the FIFO channel.

iOverride: Channel override for the speed of the FIFO channel.

bExecute: Edge-triggered signal for execution of the command.

tTimeout: ADS timeout (about 1 second).

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

bErr: Becomes TRUE if an error occurs while executing the command.

bErrId: Error number (ADS or NC error number).