CNC Machinist Calculator Ultra

Home › M-codes › Fanuc › M97

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)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M96

M97 on other controls

The same number can mean something different on another control.

ControlMeaning
Haas NGCLocal subprogram call
DMG Mori MAPPS (Fanuc)Macro interrupt mode cancel
Mazak (EIA)User macro interruption, invalid
Mitsubishi M70 M80Macro interrupt disable
Heidenhain TNC (ISO)Machine small contour steps
FadalIntersectional 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

App Store Google Play