CHANGETOOL (Statement)


Changes the tool coordinate system.


CHANGETOOL <Tool coordinate system number>


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.



If TAKEARM is executed, TOOL0 is set.


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.


Top