CNC Machinist Calculator Ultra

Home › M-codes › Centroid CNC12 Acorn › M26

M26 Set axis home here

Centroid CNC12 Acorn M-code · Mill and lathe

Sets machine home for the named axis to the current position. With no axis it sets Z. L sets home at an encoder count.

Format

M26 [/axis] [L]

Addresses

AddressWhat it does
axisAxis letter after a slash
LEncoder position to call home

How it works

One shot.

Example program

M91 /X ; X TO MINUS HOME SWITCH
M26 /X ; SET X HOME THERE
M92 /Z ; Z TO PLUS HOME SWITCH
M26 /Z ; SET Z HOME THERE

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

M91 · M92

M26 on other controls

The same number can mean something different on another control.

ControlMeaning
Doosan (Fanuc)T.S.C coolant on (milling spindle)
DMG Mori MAPPS (Fanuc)External output
Mazak (EIA)Robot service call
Okuma OSPThread lead along z-axis
Hurco WinMax (NC)Select part probe signal

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

App Store Google Play