Home › M-codes › Haas NGC › M05
M05 Spindle stop
Haas NGC M-code · Mill, Lathe
On mills: Spindle stop
Stops the spindle.
Format
M05
How it works
Modal until the spindle is restarted.
Example program
G00 Z1. (RETRACT)
M05 (SPINDLE STOP)
M00 (CHECK THE PART)
M05 (SPINDLE STOP)
M00 (CHECK THE PART)
Example is in inch. Check offsets and clearances first.
Watch out for
- Stop the spindle before an M00 that asks the operator to reach in.
On lathes: Spindle stop
Stops the main spindle.
Format
M05
How it works
Modal.
Example program
G00 G53 X0 M09 (X HOME, COOLANT OFF)
G53 Z0 M05 (Z HOME, SPINDLE STOP)
M30 (END PROGRAM)
G53 Z0 M05 (Z HOME, SPINDLE STOP)
M30 (END PROGRAM)
Example is in inch. Check offsets and clearances first.
Watch out for
- Wait for the spindle to stop before opening the chuck. The control will not unclamp a turning chuck.
Related codes
M05 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | 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 Haas NGC 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 Haas NGC M-codes