CNC Machinist Calculator Ultra

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

AddressWhat it does
axisAxis letter after a slash
posOptional target position
PInput number, negative for closed
FFeed rate
L1No 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
…

The full 6-line example is in the app. 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

M115 · M116 · M126

M125 on other controls

The same number can mean something different on another control.

ControlMeaning
Haas NGCBuilt 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

App Store Google Play