
12-62
12.6 Coordinate Transformation
CHANGETOOL (Statement)
Function
Changes the tool coordinate system.
Format
CHANGETOOL <Tool coordinate system number>
Explanation
This statement changes the tool coordinate system to the coordinate system
designated by <Tool coordinate system number>.
This declaration is valid until the next CHANGETOOL statement is executed.
Numbers from 0 to 63 are valid for <Tool coordinate system number>.
Tool 0 is a mechanical interface coordinate system.
Related Terms
TOOL, TOOLPOS
Example
DIM li1 As Integer
DIM lp1 As Position
Li1=1
Lp1 = (10, 10, 5, 0, 9, 0, 1)
TOOL 1, lp1
'Declares the tool coordinate system designated by position type
'variable lp1.
CHANGETOOL li1
'Changes to the tool coordinate system denoted by the tool
'coordinate system number designated in li1.
Notes
If TAKEARM is executed, TOOL0 is set.
Comentarios a estos manuales