G40 Cutter radius compensation cancel
Fadal G-code · Mill
Turns off G41 or G42. The tool center goes back to the programmed path on the next move.
Format
G40
How it works
Modal, cutter comp group. Default.
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
- Cancel on a move away from the part, not on the last cut.
- Put G40 in the Format 2 safe start line.
Related codes
G40 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Cutter compensation cancel |
| Haas NGC | Cutter compensation cancel |
| Mazak (EIA) | Cutter radius compensation cancel |
| Okuma OSP | Cutter radius compensation cancel |
| Mitsubishi M70 M80 | Cutter radius comp cancel |
| Brother Speedio | Cutter compensation cancel |
| Siemens 840D 828D | Cancel tool radius compensation |
| Heidenhain TNC (ISO) | Cancel radius compensation |
| Fagor 8055 8065 | Cancel tool radius compensation |
| LinuxCNC Tormach | Cutter compensation off |
| Mach3 Mach4 | Cutter comp cancel |
| Centroid CNC12 Acorn | Cutter compensation cancel |
| Hurco WinMax (NC) | Cutter compensation cancel |
| Swiss (Citizen Star) | Nose radius compensation cancel |
Every G-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 G40 in the app All Fadal G-codes