Example program · Lathe
Lathe Parting Off a Part — G-Code Example
Parts off a Ø40 part with a 3 mm parting blade, reducing feed near centre to avoid breaking the blade.
Parts off a Ø40 part with a 3 mm parting blade, reducing feed near centre to avoid breaking the blade.
| Item | Value |
|---|---|
| Machine | CNC lathe (Fanuc G-code system A) |
| Units | Metric (G21) |
| Lines | 10 |
Program
O2007 (PART OFF D40)
G21 G18 G40 G99
T0707 (3 MM PARTING BLADE)
G97 S900 M03
G00 X42. Z-33. M08
G01 X6. F0.08
X-1. F0.04
G00 X42.
X100. Z100. M09
M30▶ Simulate in the G-code viewer
How it works
- Use G97: in G96 the RPM would rise to the clamp near centre.
- Halve the feed for the last few millimetres.
- Keep the blade stickout as short as possible.
Codes used in this program
Always check feeds, speeds, offsets and clearances for your own machine and tooling, and prove new programs with single block and reduced rapid.
More lathe programs
- Lathe OD Roughing and Finishing (G71 / G70)
- Lathe Facing Program with CSS
- Lathe Threading M20 × 2.5 with G76
- Lathe OD Grooving with G75
- Peck Drilling on a Lathe (G74)
- Lathe Internal Boring (G71 for ID)
- Lathe Taper Turning Program
- Lathe Threading with G92 (M12 × 1.75)
- Lathe OD Turning Box Cycle (G90)
- Lathe Facing Box Cycle (G94)
- Lathe Stock Removal in Facing (G72)