CNC Machinist Calculator Ultra

Home › M-codes › Fanuc › M96

M96 Interrupt type macro enable

Fanuc M-code · Mill and lathe

Turns on the interrupt type custom macro. When the interrupt signal arrives, the control jumps to the named program.

Format

M96 P

Addresses

AddressWhat it does
PProgram number of the interrupt macro

How it works

Modal until M97.

Example program

M96 P9100 (ENABLE INTERRUPT, RUN O9100 ON SIGNAL)
G01 Z-2. F.008 (CUT, INTERRUPT CAN ACT HERE)
M97 (DISABLE INTERRUPT)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M97 · M99

M96 on other controls

The same number can mean something different on another control.

ControlMeaning
Haas NGCJump if no input
DMG Mori MAPPS (Fanuc)Macro interrupt mode
Mazak (EIA)User macro interruption, valid
Mitsubishi M70 M80Macro interrupt enable
FadalRoll cutter comp at corners

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 M96 in the app All Fanuc M-codes

App Store Google Play