Tag Archives: emc2

Turning the Spindle On/Off on a Comet CNC

Comet CNC SpindleIt’s common for people to use a low-end spindle on a Probotix Comet CNC. The LinuxCNC software can turn the spindle on and off, but not control the speed or direction.

The G-code for turning a spindle on is M3,  but that command alone will not work. It needs a non-zero speed parameter. For example:

[code]
M3 S1
[/code]

will turn the spindle on. To turn it off use M5.

[code]
M3 S1
…other commands…
M5
[/code]

As always, stay safe.