CNC lathe · G-code
G75: O.D./I.D. grooving cycle
G75 pecks in X: one groove, or several evenly spaced grooves along Z. Haas lists it as one-shot (group 00). Formats below from Haas and Fanuc, each from its maker. LinuxCNC has no such code.
Worked example
Grooves 0.2" apart from Z-1. to Z-1.75, in 0.1" pecks. Written for this page in the Haas format.
G00 X3.35 Z-1.G75 X3.25 Z-1.75 I0.1 K0.2 F0.01G00 X4.How each control writes it
Haas G75 X- Z- I- K- F- D-
One source: Haas Automation, the control's maker
- X
- X of the full groove depth (diameter)
- Z
- Z of the last groove (optional)
- U
- Incremental X depth (optional)
- W
- Incremental Z to the last groove (optional)
- I
- X peck increment (radius) (optional)
- K
- Z step between grooves (optional)
- F
- Feedrate
- D
- Tool clearance before the return (optional)
- With a Z other than the start, it cuts at least two grooves; K spaces them evenly, and the last step is shorter if Z isn’t a multiple of K.
- Chip clearance is Setting 22.
Source: Haas Automation, lathe G75
Fanuc G75 R(e) ; G75 X(U)_ Z(W)_ P(Δi) Q(Δk) R(Δd) F_ ; (two blocks)
One source: FANUC, the control's maker
- R (first block)
- Return amount after each peck (optional)
- X(U), Z(W)
- End point
- P
- Depth of each peck in X, no decimal point
- Q
- Step in Z between pecks, no decimal point (optional)
- R (second block)
- Relief at the bottom (optional)
- F
- Feedrate
- FANUC 0i-TF (lathe), G code system A (U and W are incremental), from its operator’s manual. On another FANUC model or G code system, check that control’s manual.
Source: FANUC B-64604EN-1/01, Operator's Manual, 0i-TF (lathe), §4.2.6
Controls without it
- LinuxCNC: LinuxCNC has no grooving cycle: program the plunges as G1 moves, or a subroutine. Source (archived Oct 29, 2026)
How the controls differ
- Only Haas takes D, I, K, U, W, X, Z.
- Only Fanuc takes P, Q, R (first block), R (second block), X(U), Z(W).
- A word two controls share can still mean different things: read each control's list above.
Haas follows Fanuc's numbering, but options and parameters differ between controls: check your control's manual.