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
| Address | What it does |
|---|---|
P | Output 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)
G00 X2. Z.1 (CONTINUE)
M30 (END)
Example is in inch. Check offsets and clearances first.
Watch out for
- RESET stops a program waiting for M-Fin.
Related codes
M129 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| DMG Mori MAPPS (Fanuc) | External output |
| Heidenhain TNC (ISO) | Reset M128 |
| Centroid CNC12 Acorn | Write 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