Home › M-codes › Centroid CNC12 Acorn › M25
M25 Move Z to home
Centroid CNC12 Acorn M-code · Mill
Moves Z to the Return 1 Z position at full rapid. With axis words after a slash it sends those axes to their Return 1 positions.
Format
M25 [/axis]
Addresses
| Address | What it does |
|---|---|
axis | Up to 3 axes such as X Y Z, each after a slash |
How it works
One shot.
Example program
G0 Z1. ; RETRACT
M5 M9 ; SPINDLE AND COOLANT OFF
M25 ; Z HOME
M25 /X /Y ; X AND Y TO RETURN 1
M5 M9 ; SPINDLE AND COOLANT OFF
M25 ; Z HOME
M25 /X /Y ; X AND Y TO RETURN 1
Example is in inch. Check offsets and clearances first.
Watch out for
- M25 is the usual Centroid way to clear Z. It is not the same as Fanuc G28.
Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.
Related codes
M25 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Doosan (Fanuc) | Chip conveyor stop |
| DMG Mori MAPPS (Fanuc) | External output |
| Mazak (EIA) | Robot service call |
| Okuma OSP | Chuck Barrier on |
| Hurco WinMax (NC) | Z to home (BNC) |
| Swiss (Citizen Star) | Back spindle stop (Citizen) |
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 M25 in the app All Centroid CNC12 Acorn M-codes