Home › G-codes › Hurco WinMax (NC) › G42
G42 Cutter compensation right
Hurco WinMax (NC) G-code · Mill
Offsets the path to the right of the direction of travel by the tool radius. Use for climb milling inside pockets and bores.
Format
G42 {G00 or G01} X Y D
Addresses
| Address | What it does |
|---|---|
X Y | Lead in end point |
D | Tool radius offset register, 1 to 200 |
How it works
Modal, group 07. Cancel with G40.
Example program
T1 M06 (.375 END MILL)
G90 G54 G00 X0. Y0. S4000 M03 (POCKET CENTER)
G43 H01 Z.1 M08 (LENGTH OFFSET)
G01 Z-.25 F8. (TO DEPTH)
…
G90 G54 G00 X0. Y0. S4000 M03 (POCKET CENTER)
G43 H01 Z.1 M08 (LENGTH OFFSET)
G01 Z-.25 F8. (TO DEPTH)
…
The full 8-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- G17 only. D00 does not turn it on.
- You can switch between G41 and G42 without G40 in between.
- The tool must be smaller than the smallest inside arc, or the path sweeps the wrong way.
Related codes
G42 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Cutter compensation right |
| Haas NGC | Cutter compensation right |
| Mazak (EIA) | Cutter radius compensation right |
| Okuma OSP | Cutter radius compensation right |
| Mitsubishi M70 M80 | Cutter radius comp right |
| Brother Speedio | Cutter compensation right |
| Siemens 840D 828D | Tool radius compensation right |
| Heidenhain TNC (ISO) | Radius compensation right |
| Fagor 8055 8065 | Tool radius compensation right |
| LinuxCNC Tormach | Cutter compensation right |
| Mach3 Mach4 | Cutter comp right |
| Centroid CNC12 Acorn | Cutter compensation right |
| Fadal | Cutter radius compensation right, conventional |
| Swiss (Citizen Star) | Nose radius compensation right |
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 G42 in the app All Hurco WinMax G-codes