Home › G-codes › Haas NGC › G02
G02 Circular interpolation clockwise
Haas NGC G-code · Mill, Lathe
On mills: Circular interpolation clockwise
Cuts a clockwise arc in the selected plane at feed rate. Define the arc with I J K center offsets or with R radius. Adding a third axis move makes a helix.
Format
Addresses
| Address | What it does |
|---|---|
X Y Z | Arc end point |
I J K | Incremental distance from the start point to the arc center |
R | Arc radius. Negative R gives an arc over 180 degrees |
F | Feed rate |
L | Number of repeats for full circle or helix moves |
How it works
Modal, motion group 01. Direction is seen looking down on the selected plane from the positive side.
Example program
G01 Z-.2 F10. (FEED DOWN)
G02 X-1. Y0. I1. J0. F15. (FULL CIRCLE CLOCKWISE AROUND X0 Y0)
G00 Z1. (RETRACT)
Example is in inch. Check offsets and clearances first.
Watch out for
- A full 360 degree circle needs I J K. R cannot define a full circle.
- I J K are always measured from the arc start point, even in G90.
- Check the plane. G18 and G19 arcs can look reversed compared with G17.
On lathes: Circular interpolation clockwise
Cuts a clockwise arc to the end point. Give the arc center with I and K or the radius with R. The direction is as seen on a standard turret lathe in the XZ plane.
Format
Addresses
| Address | What it does |
|---|---|
X | X axis absolute position, diameter |
Z | Z axis absolute position |
U | X axis incremental move, diameter |
W | Z axis incremental move |
I | X distance from start point to arc center, radius |
K | Z distance from start point to arc center |
R | Arc radius, instead of I and K |
F | Feed rate |
How it works
Modal, group 01.
Example program
G00 G54 X0 Z.1 (CENTERLINE)
G01 Z0 F.006 (TOUCH FACE)
X.75 (FACE OUT)
…
The full 8-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Clockwise and counterclockwise depend on the view of the XZ plane. Back check new arcs in Graphics.
- A positive R gives an arc of 180 degrees or less. Use a negative R for more than 180 degrees.
- I is a radius value even though X is diameter.
Related codes
G02 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | 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 Haas NGC 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 Haas NGC G-codes