CNC Machinist Calculator Ultra

Home › M-codes › Centroid CNC12 Acorn › M115

M115 Protected probe move minus

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 you expect the probe to touch.

Format

M115 /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

M116 · M125 · M126

M115 on other controls

The same number can mean something different on another control.

ControlMeaning
Haas NGCSecondary spindle brake off
Doosan (Fanuc)Right spindle air blow off
Mazak (EIA)Z-axis offset measurement ZOF end

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 M115 in the app All Centroid CNC12 Acorn M-codes

App Store Google Play