M97 Intersectional cutter comp
Fadal M-code · Mill
With G41 or G42 on, the tool path meets at the intersection of the offset lines at outside corners.
Format
M97
How it works
Modal, corner group with M96.
Example program
N1 G0 G40 G49 G80 G90 G17 (FORMAT 2 SAFE START)
N2 T1 M6 (1-2 END MILL)
N3 G0 G90 G54 X-1. Y-1. S3000 M3
N4 G43 H1 Z-.25 M8
…
N2 T1 M6 (1-2 END MILL)
N3 G0 G90 G54 X-1. Y-1. S3000 M3
N4 G43 H1 Z-.25 M8
…
The full 8-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- On a sharp angle the intersection can be far out. Use M96 there.
- Not a local sub call like Haas M97.
Related codes
M97 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Interrupt type macro disable |
| 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 |
Every M-code for Fadal 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 Fadal M-codes