Home › M-codes › Centroid CNC12 Acorn › M125
M125 Protected probe move minus, no contact expected
Centroid CNC12 Acorn M-code · Mill and lathe
Moves the axis minus, or to a given position, until probe input P changes. Use it when the probe should not touch. Contact stops the move as a fault.
Format
M125 /axis [pos] P F [L1]
Addresses
| Address | What it does |
|---|---|
axis | Axis letter after a slash |
pos | Optional target position |
P | Input number, negative for closed |
F | Feed rate |
L1 | No error if nothing is found |
How it works
One shot.
Example program
M115 /X P-15 F20. ; X MINUS UNTIL PROBE TRIPS
M116 /X P15 F5. ; X PLUS UNTIL PROBE CLEARS
#100 = #5041 ; SAVE X POSITION
M116 /X P-15 F20. ; PROBE THE OTHER WALL
…
M116 /X P15 F5. ; X PLUS UNTIL PROBE CLEARS
#100 = #5041 ; SAVE X POSITION
M116 /X P-15 F20. ; PROBE THE OTHER WALL
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Travel is limited by soft limits and parameter 16 maximum probing distance.
Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.
Related codes
M125 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Haas NGC | Built in M code relay 5 with M-Fin |
| Doosan (Fanuc) | Synchro control with z2-axis |
| DMG Mori MAPPS (Fanuc) | External output |
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 M125 in the app All Centroid CNC12 Acorn M-codes