Home › G-codes › Okuma OSP › G02
G02 Circular interpolation clockwise
Okuma OSP G-code · Mill, Lathe
On mills: Circular interpolation clockwise
Cuts a clockwise arc, or a helix when a third axis is added. The center is given with I J K from the start point.
Format
G02 X Y I J [Z] F
Addresses
| Address | What it does |
|---|---|
X Y | End point of the arc |
I J | Arc center distance from the start point |
Z | Helical move on the third axis |
F | Feed rate |
How it works
Modal, motion group.
Example program
O1000 (OKUMA MILL SAMPLE)
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 G00 G90 X0 Y-1. S3000 M03 (START OF ARC)
N3 G56 Z.1 H1 (LENGTH OFFSET)
…
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 G00 G90 X0 Y-1. S3000 M03 (START OF ARC)
N3 G56 Z.1 H1 (LENGTH OFFSET)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- I and J are incremental from the arc start point even in G90.
- The plane comes from G17, G18 or G19. Check it before using K.
- Many OSP controls also accept R for radius. Check your manual before relying on it.
On lathes: Circular interpolation clockwise
Cuts a clockwise arc in the ZX plane. The center is given with I and K, or the radius with L.
Format
G02 X Z [I K] [L] F
Addresses
| Address | What it does |
|---|---|
X Z | End point |
I K | Center distance from the start point, with signs |
L | Arc radius |
F | Feed rate |
How it works
Modal, motion group.
Example program
O2000 (OKUMA LATHE SAMPLE)
N1 G50 S3000 (MAX SPINDLE 3000 RPM)
N2 G00 X0 Z.1 T010101 (CENTER)
N3 G96 S500 M03 (500 SFM)
…
N1 G50 S3000 (MAX SPINDLE 3000 RPM)
N2 G00 X0 Z.1 T010101 (CENTER)
N3 G96 S500 M03 (500 SFM)
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Okuma lathes use L for radius, not R.
- Arc direction depends on which side of center the turret is. Check in the graphics.
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 |
| Mazak (EIA) | 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 Okuma OSP 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 Okuma OSP G-codes