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.
| Property | Value |
|---|---|
| Code | G70 |
| Function | Finishing Cycle (Lathe) |
| Modal group | 00 |
| Type | One-shot (non-modal) — active only in its own block |
| Used on | Lathes |
| Syntax | G70 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
G70 P_ Q_| Address | Meaning |
|---|---|
P | First block number of the profile |
Q | Last block number of the profile |
G70 example program
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.
Related codes
- G71 — Stock Removal in Turning (Roughing Cycle)
- G72 — Stock Removal in Facing
- G73 — Pattern Repeating (Lathe) / High-Speed Peck Drilling (Mill)