Home › G-codes › Siemens 808D › G2
G2 Circular interpolation clockwise
Siemens 808D G-code · Mill and lathe
Cuts a clockwise arc in the active plane. Set the arc by end point and center (I J K), end point and radius CR=, opening angle AR= with end point or center, or polar AP= RP= around the pole. A full circle needs end point and center.
Format
G2 X Y I J F or G2 X Y CR= F or G2 X Y AR= F or G2 I J AR= F
Addresses
| Address | What it does |
|---|---|
X Y Z | Arc end point |
I J K | Arc center, incremental from the arc start point. I=AC() gives an absolute center. |
CR= | Arc radius. Negative value for an arc greater than a semicircle. |
AR= | Opening angle of the arc in degrees |
F | Feed rate |
How it works
Modal, G group 1 (motion).
Example program
G17 G90 G54 ; XY PLANE, ABSOLUTE
G0 X30 Y40 Z2 ; START POINT OF ARC
G1 Z-2 F100 ; FEED TO DEPTH
G2 X50 Y40 I10 J-7 F300 ; END POINT AND CENTER
…
G0 X30 Y40 Z2 ; START POINT OF ARC
G1 Z-2 F100 ; FEED TO DEPTH
G2 X50 Y40 I10 J-7 F300 ; END POINT AND CENTER
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Center values I J K refer to the arc start point, even in G90. Write I=AC() and J=AC() for an absolute center.
- CR= cannot cut a full circle. Use end point and center for 360 degrees.
- The control compares the radius at start and end. If they differ by more than the tolerance in machine data, it alarms.
Related codes
G3 · CIP · CT · G17 · AC · TURN
G2 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 |
| Okuma OSP | Circular interpolation clockwise |
| Mitsubishi M70 M80 | Circular move clockwise |
| Brother Speedio | Circular interpolation clockwise |
| Siemens 840D 828D | Circular interpolation clockwise |
| Siemens 808D ISO | Clockwise arc or helix |
| 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 Siemens 808D 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 G2 in the app All Siemens 808D G-codes