Home › G-codes › LinuxCNC Tormach › G70
G70 Lathe finishing cycle
LinuxCNC Tormach G-code · Lathe
Cuts the finish pass along a profile stored in an O-word subroutine. Usually run after G71 or G72.
Format
G70 Q [X] [Z] [D] [E] [P]
Addresses
| Address | What it does |
|---|---|
Q | Subroutine number of the profile |
X Z | Start position, default current position |
D | Distance from the profile start, default 0 |
E | Distance from the profile end, default 0 |
P | Number of finishing passes, default 1 |
How it works
Non modal.
Example program
G20 G18 G7 G40 G80 G90 G94 (INCH, XZ PLANE, DIAMETER MODE)
O100 SUB (PROFILE)
G1 X0.5 Z0
G1 Z-0.75
…
O100 SUB (PROFILE)
G1 X0.5 Z0
G1 Z-0.75
…
The full 9-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- The profile is an O-word subroutine named by Q, such as O100 SUB to O100 ENDSUB.
- G18 must be active and nose radius comp G41 or G42 must be off.
- The profile may use G0 to G3. A and C words add fillets and chamfers.
Related codes
G70 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Finishing cycle |
| Haas NGC | Bolt hole circle |
| Mazak (EIA) | Finishing cycle |
| Mitsubishi M70 M80 | Finishing cycle |
| Siemens 840D 828D | Inch input for geometry |
| Heidenhain TNC (ISO) | Inch units |
| Fagor 8055 8065 | Inch programming |
| Mach3 Mach4 | Inch units, Mach3 |
| Centroid CNC12 Acorn | Profile finishing cycle |
| Hurco WinMax (NC) | Inch input (Basic NC) |
| Fadal | Check for inch setting, older code |
| Swiss (Citizen Star) | Finish turning cycle |
Every G-code for LinuxCNC Tormach in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.
Open G70 in the app All LinuxCNC Tormach G-codes