Syntax
Selecting a tool
T=<No>
T=<Name>
T<n>=<No>
T<n>=<Name>
Tool change
M6
Deselecting a tool
T0
Meaning
T=: Address for the tool selection
The following specifications are possible:
<No>: Number of the magazine location
<name>: Name of tool
Note:
The correct notation (uppercase/lowercase) must be used when pro‐
gramming a tool name.
<n>: Spindle number as address extension
Note:
The possibility of programming a spindle number as an address extension depends on the
configuration of the machine (→ see machine manufacturer's specifications).
M6: M function for the tool change (according to DIN 66025)
M6 activates the selected tool (T…) and the tool offset (D...).
T0: Tool deselection (magazine location unoccupied)
Example
Program code Comment
N10 T=1 M6 ; Loading of the tool from magazine location 1.
N20 D1 ; Selection of tool length compensation.
N30 G1 X10 ... ; Machining with tool T=1.
...
N70 T="Drill" ; Preselection of the tool with name "Drill".
N80 ... ; Machining with tool T=1.
...
N100 M6 ; Loading of the drill.
N140 D1 G1 X10 ... ; Machining with drill.
...
Fundamentals
2.4 Tool change
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 63