FiFoStop

FiFoStop 1:

FiFoStop halts a FIFO channel. Processing of the position data from the FIFO stops, and all the axes in the FIFO channel are halted.

Interface

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

iChannelId: Channel ID 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).