T is the LinuxCNC G-code word that prepares the machine to change to tool x. It does not change the tool by itself; the change occurs when M6 is programmed, either on the same line or a later line. Only the most recent T word applies at the next tool change.
| Language | gcode |
|---|---|
| Code | T |
| Group | tool |
| Syntax | Tx |
| Dialect | LinuxCNC |
| Name | Description |
|---|---|
| x | Tool number to prepare for the next tool change; the change itself occurs at M6. |