CNC Machinist Calculator Ultra

Home › G-codes › LinuxCNC Tormach › G2

G2 Clockwise arc or helix

LinuxCNC Tormach G-code · Mill and lathe

Cuts a clockwise arc in the active plane at feed rate. A move on the third axis turns it into a helix. P sets the number of turns.

Format

G2 X Y [Z] I J [P] F or G2 X Y [Z] R [P] F

Addresses

AddressWhat it does
X Y ZEnd point of the arc
I J KCenter offset from the start point
RArc radius, used instead of I J K
PNumber of turns, whole number, default 1
FFeed rate

How it works

Modal, motion group. Stays on until another motion code.

Example program

G20 G17 G40 G49 G54 G80 G90 G94 (INCH, SAFE START)
T3 M6 G43 (.375 THREAD MILL)
S4000 M3
G0 X0.3 Y0 Z0.1 (START AT RADIUS .300)
…

The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G3 · G17 · G90.1 · G91.1

G2 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucCircular interpolation clockwise
Haas NGCCircular interpolation clockwise
Mazak (EIA)Circular interpolation, clockwise
Okuma OSPCircular interpolation clockwise
Mitsubishi M70 M80Circular move clockwise
Brother SpeedioCircular interpolation clockwise
Siemens 840D 828DCircular interpolation clockwise
Heidenhain TNC (ISO)Clockwise arc, Cartesian
Fagor 8055 8065Clockwise circular interpolation
Mach3 Mach4Clockwise arc
Centroid CNC12 AcornClockwise arc or helix
Hurco WinMax (NC)Circular or helical move clockwise
FadalCircular interpolation clockwise
Swiss (Citizen Star)Circular move clockwise

Every G-code for LinuxCNC Tormach 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 LinuxCNC Tormach G-codes

App Store Google Play