M06 – Tool Change

WARNING: When using an auto tool changer the M06 must be preceded by an M05 or the drawbar will not release and can result in damage to the tool changer.


CAUTION: This command can be used in different combinations and wrong command can result in unexpected loading of tool. See video below



This command is used to change tool immediately and can be used with T value.


Syntax & Parameters


  • M06
  • T Value – specifies the tool number to change, this value can be used before M06 or after M06 but will have a very different process of tool loading.



Tool Numbers

MASSO G2 use tool numbers 0 to 31

MASSO G3 & MASSO Touch use tools 0 to 118

Tool 0 - Dry run laser

Tool 1 - 100 Main spindle tools

Tool 101 - 104 Multi-Head spindles 1 - 4

Tools 111 - Laser

Tool 112 - Plasma

Tool 113 - Oxy Torch

Tool 114 - Waterjet

Tool 115 - Scribe

Tool 116 - 117 Pen

Tool 118 - Camera



This Video shows the importance of formatting the M6 command correctly with the tool number first.





Example program


N10 M05
N20 T5 M06


In above program the M05 stops the spindle then T5 tells the system that we would like to load tool number 5 and M06 is used to tell the system to load the tool.