Home › M-codes › Haas NGC › M64
M64 Built in M code relay 4 off
Haas NGC M-code · Lathe
Turns off built in M code relay 4 that was turned on by M54.
Format
M64
How it works
Modal.
Example program
M54 (RELAY 4 ON)
G04 P1. (WAIT)
M64 (RELAY 4 OFF)
G04 P1. (WAIT)
M64 (RELAY 4 OFF)
Example is in inch. Check offsets and clearances first.
Watch out for
- RESET also turns these relays off.
Related codes
M64 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Doosan (Fanuc) | Left spindle reverse & upper coolant on |
| LinuxCNC Tormach | Digital output on, immediate |
| Mach3 Mach4 | Output on now, Mach4 |
| Fadal | MP spindle probe active |
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 M64 in the app All Haas NGC M-codes