Home › M-codes › Haas NGC › M29
M29 Set output relay with M-Fin
Haas NGC M-code · Mill
Turns on an output relay given by P and waits for the M-Fin signal before going on.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
M29 P
Addresses
| Address | What it does |
|---|---|
P | Output relay number |
How it works
Not modal. Acts once on the line where it is commanded.
Example program
G91 G28 Z0. (Z HOME)
M29 P1 (RELAY ON, WAIT FOR M-FIN)
G90 G00 X1. (CONTINUE)
M29 P1 (RELAY ON, WAIT FOR M-FIN)
G90 G00 X1. (CONTINUE)
Example is in inch. Check offsets and clearances first.
Watch out for
- On Haas M29 is not used for rigid tapping. G84 needs no M29.
- Relay numbers depend on the machine. Check the electrical diagram.
Related codes
M29 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Rigid tapping mode |
| Doosan (Fanuc) | Rigid tapping mode select |
| DMG Mori MAPPS (Fanuc) | Synchronized tapping mode |
| Mazak (EIA) | Robot service call |
| Okuma OSP | Tool interference check function on |
| Mitsubishi M70 M80 | Synchronous tapping mode |
| Centroid CNC12 Acorn | Set tap direction for G84 |
| Hurco WinMax (NC) | Rigid tap on (ISNC) |
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 M29 in the app All Haas NGC M-codes