G70

LatheOne-shot, group 00

Finishing cycle (finishes the profile rough-cut with G71–G73)

Format and notes

G70 P_ (first sequence number of the profile) Q_ (last sequence number)

Example

T0101 ; (ROUGHING TOOL)
G50 S2500 ; (SPINDLE SPEED LIMIT)
G96 S180 M03 ;
G00 X52. Z2. M08 ; (START POINT)
G71 U1.5 R0.5 ;
G71 P10 Q20 U0.4 W0.1 F0.25 ;
N10 G00 X20. ;
G01 Z-15. F0.1 S220 ; (F AND S FOR FINISHING)
X30. Z-25. ;
Z-40. ;
N20 X52. ;
G00 X150. Z150. ; (TOOL CHANGE POSITION)
T0303 ; (FINISHING TOOL)
G00 X52. Z2. ; (BACK TO THE START POINT)
G70 P10 Q20 ; (FINISH N10 TO N20)
G00 X150. Z150. M09 ;

An example that rough-turns the OD with G71, changes to a finishing tool, and finishes with G70 (G-code system A, diameter programming). Roughing uses F0.25 in the G71 block and the constant surface speed S180 before it; F0.1 and S220 inside the profile are used for the G70 finishing pass. G70 follows the profile from X52. Z2. and returns there when done. The values are for illustration and are not recommended values.

Diagram: How G70 (lathe) cuts

ZXCuts the finish allowance (dotted)Start pointFinish profile (P–Q)
Traces the finish profile written in P–Q once to finish the allowance left by G71–G73. When done, it returns to the start point by rapid.

Differences between controls and machines

The same code can be written or assigned differently depending on the CNC control and the machine builder. Always check your machine’s manual.

SourceMachineItemDetail
HaasLatheNotesSubprograms can be included inside P–Q (Haas-specific; explicitly stated as not FANUC-compatible)
Siemens (ISO dialect)LatheCodeIn G-code system C, the finishing cycle is G72. G70 in system C is inch input (G20 in systems A and B)
Mitsubishi ElectricLatheFormatG70 A_ P_ Q_. With A, the profile can be called from a separate program number

Frequently asked questions about G70

What is G70 (Finishing cycle (finishes the profile rough-cut with G71–G73)) used for and how is it formatted in a CNC program?
G70 commands "Finishing cycle (finishes the profile rough-cut with G71–G73)" on Lathe. The standard program format is "G70 P_ (first sequence number of the profile) Q_ (last sequence number)". Follows the finishing profile written in the P–Q range exactly
Is G70 a modal code or a one-shot (non-modal) code?
G70 is a one-shot (non-modal, Group 00) code. It acts only in the single block where it is written and does not carry over to the next block, so you must write G70 on every line where that action is required.
Does G70 work differently on machining centers (mills) versus CNC lathes?
G70 is primarily used on Lathe. Depending on the machine type and the lathe G-code system (System A, B, or C), this code may be unavailable or assigned to a different function, so verify against your machine tool manual.
Are there differences in G70 across FANUC, Mitsubishi, Okuma, Haas, and Siemens controls?
Yes. Control builders such as FANUC, Mitsubishi Electric (M80/M800), Okuma (OSP), Haas, Mazak, Siemens (SINUMERIK ISO dialect), and Heidenhain can differ in argument letters, decimal-point rules, and optional parameters for G70. Review the control comparison table above and verify the exact syntax in your machine’s programming manual before proving out the program.

Sources

The meaning of this code agrees in two or more sources from different publishers. Explanations are written in our own words.

  1. Siemens AG — SINUMERIK 802D sl/840D/840D sl/840Di/840Di sl/810D Programming Manual ISO Turning, 04.2007 Edition cache.industry.siemens.com
  2. Haas Automation, Inc. — G-code, M-code, and Setting (per-code explanation pages) haascnc.com
  3. Haas Automation, Inc. — Lathe Operator's Manual – 16 Lathe G-Codes (online version) haascnc.com
  4. Mitsubishi Electric — MITSUBISHI CNC 700/70 Series Programming Manual (Lathe System) (IB-1500057) mitsubishielectric.com