G02: Circular interpolation, clockwise
What G02 does
G02 cuts an arc clockwise to the end point, either with a radius (R) or with the arc centre given as I, J, K distances from the start point. Clockwise is judged looking at the active plane (G17, G18 or G19) from the positive side of the third axis. On a lathe the apparent direction depends on whether the turret is in front of or behind the spindle centre line.
| Type | G-code |
|---|---|
| Machine | Mill and lathe |
| Group | Motion |
| Modal | Yes: stays active until replaced by another code from the same group |
G02 example
G02 X40. Y20. R10. F200. Clockwise arc of radius 10 to X40 Y20.
| Word | What it means here |
|---|---|
G02 | Circular interpolation, clockwise |
X40. | X axis target (on a lathe, the diameter) |
Y20. | Y axis target |
R10. | arc radius, or the R plane (retract height) in a drilling cycle, or a cycle setting |
F200. | feed rate (on threading codes, the lead) |
Codes people confuse with G02
| Code | What it does instead |
|---|---|
G03 | Circular interpolation, counterclockwise. Cuts an arc counterclockwise. |
Memory hook: G02 = clockwise, the way a clock's hands turn.
Other codes in the motion group
Only one code from a modal group is active at a time. Programming any of these replaces G02.
Meanings follow the common Fanuc-style standard that Haas, Okuma (EIA mode), Mitsubishi, LinuxCNC and most other controls share for this code. Options and parameters change details from machine to machine, so check the manual for your control.
Quick check: G02
-
What does
G02do? (Mill and lathe) -
Which code: Cuts an arc clockwise, seen from the positive end of the axis normal to the plane.(Mill and lathe)
-
What does
G03do? (Mill and lathe)
Show the answers
- Cuts an arc clockwise, seen from the positive end of the axis normal to the plane.
- G02
- Cuts an arc counterclockwise.
Frequently asked questions
- What does G02 mean in CNC programming?
- Circular interpolation, clockwise. Cuts an arc clockwise, seen from the positive end of the axis normal to the plane.
- Is G02 modal?
- Yes. G02 belongs to the motion group and stays active until another code from that group is programmed.
- What is the difference between G02 and G03?
- G02 (circular interpolation, clockwise): cuts an arc clockwise, seen from the positive end of the axis normal to the plane. G03 (circular interpolation, counterclockwise): cuts an arc counterclockwise. A way to remember it: g02 = clockwise, the way a clock's hands turn.
G-Code Sprint is an educational practice tool only. It is not a CNC simulator, machine controller, safety manual, or replacement for instruction. Always follow your instructor, employer, machine manual, and shop procedures.