CNC Machinist Calculator Ultra

Home › M-codes › Haas NGC › M129

M129 Turn on relay with M-Fin

Haas NGC M-code · Lathe

Turns on output relay P, pauses the program and waits for an external M-Fin signal.

Format

M129 P

Addresses

AddressWhat it does
POutput relay number

How it works

Non-modal. Waits for M-Fin.

Example program

M129 P90 (RELAY 90 ON, WAIT FOR FINISH)
G00 X2. Z.1 (CONTINUE)
M30 (END)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M121 · M59

M129 on other controls

The same number can mean something different on another control.

ControlMeaning
DMG Mori MAPPS (Fanuc)External output
Heidenhain TNC (ISO)Reset M128
Centroid CNC12 AcornWrite job file path to data file
Hurco WinMax (NC)Tool center point management off

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 M129 in the app All Haas NGC M-codes

App Store Google Play