M5 stops the spindle’s rotation.
A spindle is a controlled motor that turns a tool (such as an endmill) at a given speed to allow it to remove material from the workpiece.
This is commonly used in CNC milling operations.
M5’s counterpart is the M3 command which is used to start the spindle and specify its rotation speed.
The command is used as such:
M5
Which means: stop the spindle’s rotation.
The M5 command requires no parameters.
It simply stops the spindle regardless of its current speed.
The spindle functionality of Smoothie is configured via the Spindle module.
Before using M5, ensure you have:
These resources are used as references for Gcode: