Home › G-codes › Centroid CNC12 Acorn › G42
G42 Cutter compensation right / Nose radius compensation right
Centroid CNC12 Acorn G-code · Mill, Lathe
On mills: Cutter compensation right
Offsets the tool path to the right of the direction of travel by half the tool diameter stored in the D offset.
Format
Addresses
| Address | What it does |
|---|---|
D | Tool diameter offset number |
How it works
Modal. Cancel with G40.
Example program
T1 M6 ; LOAD TOOL 1, Z GOES HOME FIRST
G54 G0 X0 Y0 ; WORK OFFSET 1
S3000 M3
…
The full 9-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- The D number stays active, so a later G41 or G42 without D uses the last one.
- Plan the lead-in from a safe side or the comp move can nick a corner.
On lathes: Nose radius compensation right
Offsets the path right of travel by the tool nose radius stored for the active T offset. Used for most OD turning toward the chuck.
Format
Addresses
| Address | What it does |
|---|---|
none | No words |
How it works
Modal. Cancel with G40.
Example program
T0101 ; TOOL 1 WITH OFFSET 1
G50 S3000
G96 S500 M3
…
The full 8-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- CNC12 rule of thumb: OD moves toward minus Z and ID moves toward plus Z use G42.
- Program as if the lathe has the tool post at the back and the headstock on the left.
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 |
| Hurco WinMax (NC) | Cutter compensation right |
| Fadal | Cutter radius compensation right, conventional |
| Swiss (Citizen Star) | Nose radius compensation right |
Every G-code for Centroid CNC12 Acorn 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 Centroid CNC12 Acorn G-codes