CNC lathe · G-code
G70: finishing cycle (lathe)
G70 runs the finished profile defined for a G71 or G72 roughing cycle, taking off the finish allowance in one pass. Haas lists it as one-shot (group 00). Formats below from Haas, LinuxCNC and Fanuc, each from its maker.
On a Haas mill, G70 is the bolt hole circle.
Worked example
Finish the profile roughed by G71 (blocks N100–N200). Written for this page in the Haas format.
G71 P100 Q200 U0.02 W0.005 D0.1 F0.012 (rough)(N100 … N200: the finished profile)G96 S600 (finishing speed)G70 P100 Q200 (finish pass)How each control writes it
Haas G70 P- Q-
One source: Haas Automation, the control's maker
- P
- Block number where the profile starts
- Q
- Block number where the profile ends
- Works like a local subprogram call on the P–Q blocks used for G71, G72 or G73.
Source: Haas Automation, lathe G70
LinuxCNC G70 Q- X- Z- D- E- P-
One source: the LinuxCNC project, the control's maker
- Q
- Subroutine number holding the profile
- X
- Start X (defaults to the current position) (optional)
- Z
- Start Z (optional)
- D
- Starting distance from the profile (optional)
- E
- Ending distance from the profile (optional)
- P
- Number of finishing passes (optional)
- The profile is a subroutine (O-word), not a range of block numbers.
Source: LinuxCNC documentation, "G70 Lathe finishing cycle" (archived Oct 29, 2026)
Fanuc G70 P(ns) Q(nf) ;
One source: FANUC, the control's maker
- P
- First block of the finished shape
- Q
- Last block of the finished shape
- 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.4
How the controls differ
- Only LinuxCNC takes D, E, X, Z.
- 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.