M97 Interrupt type macro disable
Fanuc M-code · Mill and lathe
Turns off the interrupt type custom macro set with M96.
Format
M97
How it works
Modal, cancels M96.
Example program
M96 P9100 (ENABLE INTERRUPT)
G01 Z-2. F.008 (CUT)
M97 (DISABLE INTERRUPT)
G01 Z-2. F.008 (CUT)
M97 (DISABLE INTERRUPT)
Example is in inch. Check offsets and clearances first.
Watch out for
- On Haas controls M97 is a local subprogram call. Do not mix the two up.
Related codes
M97 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Haas NGC | Local subprogram call |
| DMG Mori MAPPS (Fanuc) | Macro interrupt mode cancel |
| Mazak (EIA) | User macro interruption, invalid |
| Mitsubishi M70 M80 | Macro interrupt disable |
| Heidenhain TNC (ISO) | Machine small contour steps |
| Fadal | Intersectional cutter comp |
Every M-code for Fanuc 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 M97 in the app All Fanuc M-codes