Home › G-codes › Hurco WinMax (NC) › G40
G40 Cutter compensation cancel
Hurco WinMax (NC) G-code · Mill
Turns off cutter compensation and moves to the uncompensated end point. Default at power up.
Format
G40 [X Y]
Addresses
| Address | What it does |
|---|---|
X Y | Exit point. If left out, the tool backs off by the old offset |
How it works
Modal, group 07. Default.
Example program
G01 X3. Y.5 (LAST CONTOUR MOVE)
G40 G01 X3.5 Y-.5 (LEAD OUT, COMP OFF)
G00 Z1. (RETRACT)
G40 G01 X3.5 Y-.5 (LEAD OUT, COMP OFF)
G00 Z1. (RETRACT)
Example is in inch. Check offsets and clearances first.
Watch out for
- Cancel on a G00 or G01 lead out move clear of the part.
- End every program in G40, or the next start can be off by the offset.
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 |
| Fadal | Cutter radius compensation cancel |
| Swiss (Citizen Star) | Nose radius compensation cancel |
Every G-code for Hurco WinMax (NC) 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 Hurco WinMax G-codes