Home › G-codes › Swiss (Citizen Star) › G42
G42 Nose radius compensation right
Swiss (Citizen Star) G-code · Lathe
Offsets the tool path to the right of the cut direction. Normal for OD turning toward the guide bushing.
Format
G42 G01 X Z
Addresses
| Address | What it does |
|---|---|
X Z | Lead in move |
How it works
Modal, group 07. Cancel with G40.
Example program
G00 X.2 Z-.05 T0100 (TOOL 1)
G42 G01 Z0. F.002 (COMP ON)
X.375 ,C.015
Z.75 (TURN)
…
G42 G01 Z0. F.002 (COMP ON)
X.375 ,C.015
Z.75 (TURN)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Turning on a Swiss moves the bar in plus Z out of the bushing. Check the side on the graphic before the first part.
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 |
| Hurco WinMax (NC) | Cutter compensation right |
| Fadal | Cutter radius compensation right, conventional |
Every G-code for Swiss (Citizen Star) 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 Swiss G-codes