Home › G-codes › Mitsubishi M70 M80 › G42
G42 Cutter radius comp right / Tool nose radius comp right
Mitsubishi M70 M80 G-code · Mill, Lathe
On mills: Cutter radius comp right
Offsets the tool to the right of the path by the radius in the D offset. Conventional milling on an outside profile.
Format
Addresses
| Address | What it does |
|---|---|
D | Radius offset number |
X Y | Lead in move |
How it works
Modal, group 07. Cancel with G40.
Example program
G42 D02 G01 Y0. F20. (COMP ON)
X0. (PROFILE)
G40 G00 Y-1. (COMP OFF)
Example is in inch. Check offsets and clearances first.
Watch out for
- Do not switch directly from G41 to G42. Cancel with G40 first.
On lathes: Tool nose radius comp right
Offsets the tool nose to the right of the path. Usually used for OD turning toward the chuck.
Format
Addresses
| Address | What it does |
|---|---|
X Z | Lead in move |
How it works
Modal, group 07. Cancel with G40.
Example program
G42 G01 Z0. F.008 (COMP ON)
X1.5 (FACE)
Z-1. (TURN)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Turn on with a feed move, not on the first part feature.
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 |
| 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 |
| Hurco WinMax (NC) | Cutter compensation right |
| Fadal | Cutter radius compensation right, conventional |
| Swiss (Citizen Star) | Nose radius compensation right |
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 G42 in the app All Mitsubishi M70 M80 G-codes