Home › G-codes › Mazak (EIA) › G02
G02 Circular interpolation, clockwise / Circular interpolation, lathe
Mazak (EIA) G-code · Mill, Lathe
On mills: Circular interpolation, clockwise
Cuts a clockwise arc in the active plane. Give the center with I J K, measured from the start point, or give the radius with R.
Format
Addresses
| Address | What it does |
|---|---|
X Y Z | Arc end point |
I J K | Arc center, incremental from the start point |
R | Arc radius. Negative R gives the arc larger than 180 degrees |
F | Feed rate |
How it works
Modal, group 01.
Example program
G43 H03 Z.1 (LENGTH OFFSET)
G01 Z-.1 F10. (FEED DOWN)
G02 X0. Y-1. I-1. J0. F20. (QUARTER ARC, CENTER AT X0 Y0)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- A full circle needs I J K. R cannot program a full circle.
- Clockwise is viewed from the plus side of the axis normal to the plane. In G18 this looks reversed to many operators.
On lathes: Circular interpolation, lathe
Cuts an arc. Use G02 for clockwise and G03 for counterclockwise, as seen from the plus side of the Y axis. On a front turret lathe a convex OD radius going toward the chuck is usually G03.
Format
Addresses
| Address | What it does |
|---|---|
X Z | Arc end point |
R | Arc radius |
I K | Center from the start point, I as a radius value |
F | Feed rate |
How it works
Modal, group 01.
Example program
G00 X.75 Z.1 (START)
G01 Z0. F.006 (TO FACE)
G03 X1.25 Z-.25 R.25 (CORNER RADIUS)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Arc direction depends on turret side. Prove the first arc in single block.
- Use tool nose compensation G41 or G42 on arcs and tapers.
Related codes
G02 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Circular interpolation clockwise |
| Haas NGC | Circular interpolation clockwise |
| Okuma OSP | Circular interpolation clockwise |
| Mitsubishi M70 M80 | Circular move clockwise |
| Brother Speedio | Circular interpolation clockwise |
| Siemens 840D 828D | Circular interpolation clockwise |
| Heidenhain TNC (ISO) | Clockwise arc, Cartesian |
| Fagor 8055 8065 | Clockwise circular interpolation |
| LinuxCNC Tormach | Clockwise arc or helix |
| Mach3 Mach4 | Clockwise arc |
| Centroid CNC12 Acorn | Clockwise arc or helix |
| Hurco WinMax (NC) | Circular or helical move clockwise |
| Fadal | Circular interpolation clockwise |
| Swiss (Citizen Star) | Circular move clockwise |
Every G-code for Mazak (EIA) 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 G02 in the app All Mazak G-codes