CNC Machinist Calculator Ultra

Home › M-codes › Haas NGC › M93

M93 Axis position capture start

Haas NGC M-code · Mill

Starts capturing an axis position when a discrete input changes. Listed on older Haas controls.

Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.

Format

M93 P Q

Addresses

AddressWhat it does
PAxis number
QDiscrete input number

How it works

Not modal. Acts once on the line where it is commanded.

Example program

M93 P1 Q2 (CAPTURE X WHEN INPUT 2 CHANGES)
G01 X5. F20. (MOVE PAST THE SENSOR)
M94 (STOP CAPTURE)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M94

M93 on other controls

The same number can mean something different on another control.

ControlMeaning
Doosan (Fanuc)External m-code m93
Centroid CNC12 AcornRelease or restore motor power
Hurco WinMax (NC)Enable spindle interrupt

Every M-code for Haas NGC 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 M93 in the app All Haas NGC M-codes

App Store Google Play