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:
MASSO G2 NOTE
On MASSO G2, tool numbers are 0 to 31.2. Example
N10 M05 N20 T5 M06
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