ItpSetToolDescNullEx
from library version 6.1.21 and TwinCAT version 2.10 Build 1304
FB ItpSetToolDescNullEx overwrites all tool parameters (incl. number & type) of the channel with zero.
Interface
VAR_INPUT
bExecute : BOOL;
tTimeOut : TIME;
END_VAR
VAR_IN_OUT
sNciToPlc : NciChannelToPlc;
END_VAR
VAR_OUTPUT
bBusy : BOOL;
bErr : BOOL;
nErrId : UDINT;
END_VAR
Description
A rising edge at input bExecute results in overwriting of all tool parameters of the NC channel with zero.
The bBusy output remains TRUE until the function block has executed the command, with the maximum duration specified by the time associated with the tTimeOut input. While bBusy = TRUE no new command is accepted at the inputs.
The output bErr is switched to TRUE if an error occurred during the execution of the command. The command-specific error code is contained in nErrId. The outputs are reset by carrying out a command at the inputs.
See also:
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v2.10.0 | PC (i386) | TcNci.lib |