Home › M-codes › Centroid CNC12 Acorn › M150
M150 Zero spindle encoder at next index
Centroid CNC12 Acorn M-code · Mill and lathe
Resets the spindle encoder position to 0 at the next index pulse. The spindle must be turning.
Format
M150
Addresses
| Address | What it does |
|---|---|
none | No words |
How it works
One shot.
Example program
S50 M3 ; SLOW SPINDLE
M150 ; ZERO AT NEXT INDEX
M5 ; STOP
M150 ; ZERO AT NEXT INDEX
M5 ; STOP
Example is in inch. Check offsets and clearances first.
Watch out for
- M150 does not move the spindle by itself. Turn the spindle first.
Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.
Related codes
M150 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Doosan (Fanuc) | Atc maintenance mode off |
| Mazak (EIA) | Workpiece unload demand to robot |
| Heidenhain TNC (ISO) | Suppress limit switch message |
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 M150 in the app All Centroid CNC12 Acorn M-codes