Home › G-codes › LinuxCNC Tormach › G72
G72 Lathe roughing cycle, facing along X
LinuxCNC Tormach G-code · Lathe
Roughs a profile stored in an O-word subroutine with facing cuts along X. G72.1 skips pockets, G72.2 also cuts pockets.
Format
G72 Q [X] [Z] [D] [I] [R]
Addresses
| Address | What it does |
|---|---|
Q | Subroutine number of the profile |
X Z | Start position, default current position |
D | Stock left for finishing, default 0 |
I | Depth of each cut, default 1 |
R | Retract distance, default 0.5 |
How it works
Non modal.
Example program
G20 G18 G7 G40 G80 G90 G94 (INCH, XZ PLANE, DIAMETER MODE)
O200 SUB (FACE PROFILE)
G1 X2 Z-0.2
G1 X1 Z-0.2
…
O200 SUB (FACE PROFILE)
G1 X2 Z-0.2
G1 X1 Z-0.2
…
The full 10-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.
- X must change in one direction only through the profile.
- Always give I and R. The defaults are too big for inch work.
- The LinuxCNC manual warns these cycles can be fragile. Simulate before cutting.
Related codes
G72 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Stock removal in facing, rough cycle |
| Haas NGC | Bolt holes along an angle |
| Mazak (EIA) | Facing roughing cycle, X direction |
| Okuma OSP | Compound thread cycle, transverse |
| Mitsubishi M70 M80 | Face rough cutting cycle |
| Heidenhain TNC (ISO) | Scaling factor |
| Fagor 8055 8065 | Scaling factor |
| Centroid CNC12 Acorn | Rough facing cycle |
| Swiss (Citizen Star) | Rough facing 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 G72 in the app All LinuxCNC Tormach G-codes