CNC Machinist Calculator Ultra

Home › M-codes › Centroid CNC12 Acorn › M105

M105 Move minus until switch

Centroid CNC12 Acorn M-code · Mill and lathe

Moves the axis in the minus direction at feed rate F until input P opens. A negative P waits for the input to close.

Format

M105 /axis P F

Addresses

AddressWhat it does
axisAxis letter after a slash
PInput number, negative to wait for closed
FFeed rate

How it works

One shot.

Example program

M105 /X P5 F30. ; MOVE X MINUS UNTIL INP5 OPENS
G92 X10. ; CALL THIS X10
G0 X5.

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

M106 · M115

M105 on other controls

The same number can mean something different on another control.

ControlMeaning
Haas NGCProbe arm retract
Doosan (Fanuc)Right spindle stop & selection
Mazak (EIA)Workpiece measurement GRV 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 M105 in the app All Centroid CNC12 Acorn M-codes

App Store Google Play