Tool offsets
8.2 Language commands for tool management
Job planning
8-6 Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Example of the GETSELT function
This function returns the T number of the tool preselected for the spindle. This function
allows access to the tool offset data before M6 and thus establishes main run
synchronization slightly earlier.
Example of tool change using tool management
T1:
Tool preselection; i.e. the tool magazine can be put in tool position parallel to the machining.
M6:
Changing to a preselected tool (depending on default setting in the machine data it may also
be programmed without M6).
T1 M6 ;Load tool 1
D1 ;Select tool length compensation
G1 X10 … ;Machining with T1
T="DRILL" ;Preselect drill
D2 Y20 … ;Change cutting edge T1
X10 … ;Machining with T1
M6 ;Load tool drill
SETPIECE(4) ;Number of completed workpieces
D1 G1 X10 … ;Machining with drill
Note
The complete list of all variables for the tool management are contained in
References:
/PGA1/ List of System Variables.