G02 Circular interpolation clockwise / Circular interpolation, clockwise
Fanuc G-code · Mill, Lathe
On mills: Circular interpolation clockwise
Cuts a clockwise arc in the selected plane, viewed from the positive end of the third axis. The center is given with I J K or the size with R. Adding the third axis gives a helix.
Format
Addresses
| Address | What it does |
|---|---|
X Y Z | End point of the arc |
I J K | Distance from the arc start point to the center in X, Y and Z, always incremental |
R | Arc radius. Plus for 180 degrees or less, minus for more than 180 degrees |
F | Feed rate along the arc |
How it works
Modal, group 01. The plane comes from G17, G18 or G19.
Example program
G01 Z-.2 F10. (FEED TO DEPTH)
G02 X-1. Y0. I1. J0. F20. (FULL 2 INCH CIRCLE CW)
G02 X0. Y1. R1. (QUARTER ARC WITH R)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- I J K are measured from the start point to the center, even in G90.
- A full circle needs I J K. With R and the end point equal to the start point the tool does not move.
- With cutter compensation on, an arc smaller than the tool radius on an inside corner gives an alarm.
- In G18 the arc direction is seen from plus Y, which can look reversed from the operator side.
On lathes: Circular interpolation, clockwise
Cuts a clockwise arc in the ZX plane. Give the end point and either the radius R or the center offset I and K. On OD work toward the chuck, it cuts a fillet into a shoulder.
Format
Addresses
| Address | What it does |
|---|---|
X Z | Arc end point, X as a diameter |
U W | Incremental end point |
I | X distance from start point to center, radius value with sign |
K | Z distance from start point to center, with sign |
R | Arc radius, for arcs up to 180 degrees |
F | Feed rate |
How it works
Modal, group 01.
Example program
G42 G01 Z-1. F.006 (COMP ON, TURN .9 DIA)
G02 X1.3 Z-1.2 R.2 (.2 FILLET INTO SHOULDER, CLOCKWISE)
G01 X1.8 (FACE SHOULDER)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Read the direction with X plus up on the print, the normal Fanuc view. On a front turret lathe it can look reversed from the operator side.
- I is a radius value even though X is a diameter.
- Use tool nose radius compensation G41 or G42 or the arc size will be wrong.
Related codes
G03 · G01 · G17 · G18 · G19 · G41 · G42
G02 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Haas NGC | Circular interpolation clockwise |
| Mazak (EIA) | 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 Fanuc 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 Fanuc G-codes