Application
For machine tools with chain, rotary-plate or plane magazines.
Syntax
Selecting a tool
T<No>
T=<No>
T<n>=<No>
Tool change
M6
Deselecting a tool
T0
T0=<No>
Meaning
T: Address for the tool selection
<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).
<No>: Number of the tool
Range of val‐
ues:
0 ... 32000
M6: M function for the tool change (according to DIN 66025)
M6 activates the selected tool (T…) and the tool offset (D...).
T0: Deselecting the active tool
Example
Program code Comment
N10 T1 M6 ; Loading of tool T1.
N20 D1 ; Selection of tool length compensation.
N30 G1 X10 ... ; Machining with T1.
...
N70 T5 ; Preselection of tool T5.
N80 ... ; Machining with T1.
...
N100 M6 ; Loading of tool T5.
N110 D1 G1 X10 ... ; Machining with tool T5
...
Fundamentals
2.4 Tool change
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 65