Home › M-codes › Haas NGC › M55
M55 Built in M code relay 5 on
Haas NGC M-code · Lathe
Turns on built in M code relay 5 and leaves it on. Use M65 to turn it off. Used for customer added devices.
Format
M55
How it works
Modal until M65 or RESET.
Example program
M55 (RELAY 5 ON, CUSTOM DEVICE)
G04 P1. (WAIT 1 SECOND)
M65 (RELAY 5 OFF)
G04 P1. (WAIT 1 SECOND)
M65 (RELAY 5 OFF)
Example is in inch. Check offsets and clearances first.
Watch out for
- RESET turns off all of these relays.
- Check what the relay is wired to on your machine before using it.
Related codes
M55 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Doosan (Fanuc) | Repeat program after m02 or m30 |
| DMG Mori MAPPS (Fanuc) | Oil mist ON |
| Mazak (EIA) | Piece count |
| Okuma OSP | Tailstock spindle retract |
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 M55 in the app All Haas NGC M-codes