CNC Milling | T Command | Tool Preparation and Change

In this article, we describe how to use T code and M06 code for tool prepare and change in CNC milling machines with all details and examples.


T Code Introduction

The tool selection takes place when the T word is programmed. Whether this is a tool change or only a preselection, is defined in the machine data:

  • The tool change (tool call) is performed either directly using the T word or
  • The change takes place after the preselection with the T word by an additional instruction M6

Note: If a certain tool is activated, it remains stored as an active tool even beyond the end of the program and after turning off/turning on the control system.

If you change a tool manually, input the change in the control system so that the control system knows the correct tool. For example, you can start a block with the new T word in MDI mode.

You may be interested also:
“CNC | M03-M04-S Command | Spindle Speed”

T Code Format

T… ; Tool number: 1 … 32; T0 – no tool, use to prepare next tool for change

Usage of T Code

M06 T…. ; Tool change

T Code Example

Tool Change without M6

N10 T1 ; Tool 1
N70 T588 ; Tool 588

Tool Change with M6

N10 T14 ; Preselect tool 14
N15 M6 ; Perform tool change; thereafter, T14 is active

Note: Tool preparation and change commands can be change due machine tool manufacturer.

Need to More?

Our volunteers have worked together and carefully prepared the articles published here in their native language without using machine translation. You can search the entire site for more information on the subject. You can start a discussion on forums and join us to get support, ask questions, improve a published article or give your opinion.

Previous articleSiemens CNC Milling | RND-CHF-CHR | Rounding and Chamfer
Next articleSiemens CNC | CYCLE802 | Arbitrary Positions