Home › G-codes › Mitsubishi M70 M80 › G40
G40 Cutter radius comp cancel / Tool nose radius comp cancel
Mitsubishi M70 M80 G-code · Mill, Lathe
On mills: Cutter radius comp cancel
Cancels cutter radius compensation. The tool moves back to the programmed path on the next move.
Format
G40
How it works
Modal, group 07.
Example program
G01 X-1. Y0. (LEAVE PART)
G40 G00 X-1.5 (CANCEL ON MOVE OFF)
Z1. (CLEAR)
G40 G00 X-1.5 (CANCEL ON MOVE OFF)
Z1. (CLEAR)
Example is in inch. Check offsets and clearances first.
Watch out for
- Cancel on a move away from the part, not on a feature edge, or the tool will gouge.
On lathes: Tool nose radius comp cancel
Cancels tool nose radius compensation.
Format
G40
How it works
Modal, group 07.
Example program
G01 X2.2 F.01 (LEAVE PART)
G40 G00 X3. Z.1 (CANCEL ON RETRACT)
G28 U0 (HOME X)
G40 G00 X3. Z.1 (CANCEL ON RETRACT)
G28 U0 (HOME X)
Example is in inch. Check offsets and clearances first.
Watch out for
- Cancel on a move away from the part.
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 |
| 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 |
| Fadal | Cutter radius compensation cancel |
| Swiss (Citizen Star) | Nose radius compensation cancel |
Every G-code for Mitsubishi M70 M80 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 Mitsubishi M70 M80 G-codes