M06 – Tool Change

M06 changes the tool immediately. Give the tool number with T, placed before M06.

Syntax
T__ M06
Also written
M6
Before M06
M05
WARNING
Always stop the spindle with M05 before M06, and always put the T value before M06. Otherwise results may be unpredictable. T5 M06 and M06 T5 give very different tool loading.

1. Tool numbers

MASSO G3 and G3 Touch use tools 0 to 118:

Tool numberAssigned to
T0Dry Run Laser
T1 – T100Main spindle tools
T101 – T104Multi-head spindles 1 to 4
T111 – T118Laser, Plasma, Oxy Torch, Water Jet, Scribe, Pen 1, Pen 2, Camera – see T – Tool Number
MASSO G2 NOTE
On MASSO G2, tool numbers are 0 to 31.

2. Example

N10 M05
N20 T5 M06
CodeResult
M05Stops the spindle.
T5 M06Selects tool 5 and changes to it.

This video shows why the tool number must come first:

3. Multi-head machines

Raise Z to a safe height before changing tools, so height differences between heads don't cause problems. One way is G53 Z0, which moves Z to the top of machine travel.

N10 M05
N20 G53 Z0
N30 T5 M06
CodeResult
M05Stops the spindle.
G53 Z0Moves Z to machine Z0 for clearance.
T5 M06Selects tool 5 and changes to it.

4. Troubleshooting

ProblemCause and fix
Tool doesn't changeThe requested tool may already be loaded. MASSO remembers the last tool, even after power-off. Check the loaded tool on the F2 screen.
Tool change must be requested twice, or the previous tool loads againWrong command format. Use Txx M06, not M06 Txx. See the video above.
Z0 is wrong when using a tool setterThe tool setter or tool changer is being used incorrectly. See How the Tool Setter Works.