G-code reference

G70 G-Code: Finishing Cycle (Lathe)

Finishing Cycle (Lathe) — Runs the finish profile defined between P and Q blocks after roughing with G71, G72 or G73, using the F/S/T values inside the profile.

By cnccode · Updated
PropertyValue
CodeG70
FunctionFinishing Cycle (Lathe)
Modal group00
TypeOne-shot (non-modal) — active only in its own block
Used onLathes
SyntaxG70 P_ Q_

What does G70 do?

Runs the finish profile defined between P and Q blocks after roughing with G71, G72 or G73, using the F/S/T values inside the profile.

G70 is a one-shot code: it only acts in the block where it is written, and the previously active modal codes take over again afterwards.

Syntax and parameters

Format
G70 P_ Q_
AddressMeaning
PFirst block number of the profile
QLast block number of the profile

G70 example program

Example
G71 U2.0 R0.5
G71 P10 Q20 U0.4 W0.1 F0.25
N10 G00 X20.0
G01 Z-30.0 F0.1
X40.0 Z-40.0
N20 X52.0
G70 P10 Q20

▶ Open this example in the G-code viewer

Tips and common mistakes

  • Finishing F/S inside the P–Q blocks are only used by G70.
  • Siemens G70 means inch — totally different.

Controller compatibility

G70 follows the ISO/Fanuc dialect used by Fanuc, Haas, Brother, Doosan, Hurco (ISO mode), Mazak (EIA/ISO mode), Okuma (G-code mode) and Siemens in ISO dialect mode. Parameters, option packages and builder-specific behaviour can differ, so confirm the details in your machine's programming manual before running a new program.

Frequently asked questions

Is G70 modal?
No. G70 is a one-shot (group 00) code and only acts in the block where it appears.
What does G70 mean in CNC?
G70 means Finishing Cycle (Lathe). Runs the finish profile defined between P and Q blocks after roughing with G71, G72 or G73, using the F/S/T values inside the profile.
What is the difference between G70 and G71?
G70 is Finishing Cycle (Lathe), while G71 is Stock Removal in Turning (Roughing Cycle). See the G71 page for its syntax and examples.
Can I use G70 on a mill?
Usually not with the same meaning: G70 is documented here for lathes. Check your control manual for the equivalent.