ToolLib Function
Selects the dynamically acquired tool number.
Format
ToolLib ToolNumber
Parameters
ToolNumber
Specify as an integer value or an expression. The effective range is 16 to 31. You can select a tool reserved by this library.
Description
Specifies a reserved tool as the tool for executing robot commands.
You can select a tool number that was reserved by the library that called this command.
Run Tool to display the currently selected tool number.
The operation based on the selected tool number is the same as for Tool.
When the user function that called this command ends, the tool number returns to the number before the function was executed.
See Also
TLClr, TLDef, TLSet, TLReserve Function, Tool
ToolLib Function Usage Example
Integer i
i = TLReserve
TLSet i, X, Y, Z, U
ToolLib i
Move P1 'Operation using the reserved tool number.