M05 Spindle stop
Fanuc M-code · Mill and lathe
Stops the spindle.
Format
M05
How it works
Modal until M03 or M04.
Example program
G00 X3. Z1. M09 (CLEAR, COOLANT OFF)
M05 (SPINDLE STOP)
M00 (CHECK PART)
M05 (SPINDLE STOP)
M00 (CHECK PART)
Example is in inch. Check offsets and clearances first.
Watch out for
- Stop the spindle before M00 if the operator will reach in.
- Turn coolant off too with M09.
Related codes
M05 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Haas NGC | Spindle stop |
| Doosan (Fanuc) | Left spindle stop & selection |
| DMG Mori MAPPS (Fanuc) | Spindle stop |
| Mazak (EIA) | Spindle stop |
| Okuma OSP | Spindle stop (Lathes & Mills) |
| Mitsubishi M70 M80 | Spindle stop |
| Brother Speedio | Spindle stop |
| Siemens 840D 828D | Spindle stop |
| Heidenhain TNC (ISO) | Spindle stop |
| Fagor 8055 8065 | Spindle stop |
| LinuxCNC Tormach | Spindle stop |
| Mach3 Mach4 | Spindle stop |
| Centroid CNC12 Acorn | Spindle stop |
| Hurco WinMax (NC) | Spindle stop |
| Fadal | Spindle off |
| Swiss (Citizen Star) | Main spindle stop |
Every M-code for Fanuc in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.
Open M05 in the app All Fanuc M-codes