M5 G-code

M5 means "stop the spindle's rotation".

A spindle is a controlled motor that turns a tool ( endmill ) at a given speed to allow it to remove material from the workpiece.

M5's evil twin is the M3 command which is used to start the spindle and specify it's rotation speed


The command is used as such :


Which means : stop the spindle's rotation.


No parameters


The spindle functionality of Smoothie is configured via the Spindle module

Further reading

These resources are used as references for Gcode :

This site is a WIki, which means you are very welcome to help us improve it. Help on how to do that can be found at the Editing the Wiki page . You can edit any page by clicking the "Edit" button bellow :