CNC Machinist Calculator Ultra

Home › M-codes › Centroid CNC12 Acorn › M106

M106 Move plus until switch

Centroid CNC12 Acorn M-code · Mill and lathe

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

Format

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

M106 /Z P3 F30. ; MOVE Z PLUS UNTIL INP3 OPENS
G92 Z10. ; CALL THIS Z10
G0 Z5.

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

M105 · M116

M106 on other controls

The same number can mean something different on another control.

ControlMeaning
Doosan (Fanuc)B-axis curvic coupling clamp
Mazak (EIA)Workpiece measurement WID start

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

App Store Google Play