CNC Machinist Calculator Ultra

Home › M-codes › Centroid CNC12 Acorn › M5

M5 Spindle stop

Centroid CNC12 Acorn M-code · Mill and lathe

Asks the PLC to stop the spindle.

Format

M5

Addresses

AddressWhat it does
noneNo words

How it works

Modal.

Example program

G0 Z1. ; RETRACT
M5 M9 ; SPINDLE AND COOLANT OFF
M25 ; Z HOME

Example is in inch. Check offsets and clearances first.

Watch out for

Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.

Related codes

M3 · M4

M5 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucSpindle stop
Haas NGCSpindle stop
Doosan (Fanuc)Left spindle stop & selection
DMG Mori MAPPS (Fanuc)Spindle stop
Mazak (EIA)Spindle stop
Okuma OSPSpindle stop (Lathes & Mills)
Mitsubishi M70 M80Spindle stop
Brother SpeedioSpindle stop
Siemens 840D 828DSpindle stop
Heidenhain TNC (ISO)Spindle stop
Fagor 8055 8065Spindle stop
LinuxCNC TormachSpindle stop
Mach3 Mach4Spindle stop
Hurco WinMax (NC)Spindle stop
FadalSpindle off
Swiss (Citizen Star)Main spindle stop

Every M-code for Centroid CNC12 Acorn 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 M5 in the app All Centroid CNC12 Acorn M-codes

App Store Google Play