Home › G-codes › Siemens 808D ISO › G42
G42 Cutter radius compensation right / Tool nose radius compensation right
Siemens 808D ISO G-code · Mill, Lathe
On mills: Cutter radius compensation right
Offsets the tool path to the right of the contour, looking in the direction of travel, by the radius in offset D. The plane comes from G17, G18 or G19.
Format
Addresses
| Address | What it does |
|---|---|
X Y | First move with compensation, in the active plane |
D | Offset number holding the radius. D00 is radius 0 |
How it works
Modal, group 7. Cancel with G40.
Example program
G43 Z5. H01 (LENGTH OFFSET)
G01 Z-5. F200. (DEPTH)
G42 G01 X0. Y0. D01 F500. (COMP RIGHT ON)
…
The full 10-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Turn it on with a G00 or G01 move that has at least one axis of the plane.
- Collision detection CDON is a Siemens command. Switch with G290, program CDON, then G291 to use it in ISO mode.
- A negative radius swaps the side. You can switch G42 to G41 directly without G40.
On lathes: Tool nose radius compensation right
Offsets the tool by the nose radius to the right of the path, seen in the cut direction. The usual choice for OD turning toward the chuck on a rear turret lathe.
Format
How it works
Modal, G group 07. Cancel with G40.
Example program
G00 X26.0 Z2.0 (START)
G42 G01 X30.0 Z0.0 F0.1 (COMP ON)
G01 Z-25.0 (FINISH TURN 30 DIA)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- The compensation is taken from the T offset. Check the radius and tip position in the tool data first.
- Take the compensation on and off with a move away from the part. The control makes extra moves when it starts and ends.
- Not allowed inside G71 to G76 cycles. Program the cycle without G41 or G42 active.
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 |
| Siemens 808D | 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 Siemens 808D ISO 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 Siemens 808D ISO G-codes