Follow Us
Popular posts
- What If Dyson Made CNC Routers Instead of Vacuum Cleaners?
- CNC 4th Axis Basics: Routers and Woodworking
- 10 Tips for CNC Router Aluminum Cutting Success
- MIT Students Create Hand-Held CNC Router: You Gotta See This!
- Hexapod Robotic CNC Router Walks to the Site of the Work to Be Done
- CNC’ing the World’s Ultimate Pizza Cutter
- Tale of Two Engines: Giant Crankshaft and World’s Smallest V12
- CNC 4th Axis Basics: Workholding
- Machining a Titanium AR-15 Lower Receiver on a Hobby Mill
- Desktop Manufacturing is Here With Two Amazing Announcements
Recent Comments
- César on Making Cell Phone Cases With Syil, Fadal, and G-Wizard
- David Frantz on What If Dyson Made CNC Routers Instead of Vacuum Cleaners?
- Michael Warren on What If Dyson Made CNC Routers Instead of Vacuum Cleaners?
- AussieMatt on What If Dyson Made CNC Routers Instead of Vacuum Cleaners?
- Dave on What If Dyson Made CNC Routers Instead of Vacuum Cleaners?
Categories
- 3D Printing (21)
- Beginner (88)
- Blog (588)
- Business (54)
- CNC Projects (118)
- CNC Router (28)
- Cool (138)
- FeedsSpeeds (47)
- GCode (51)
- Guest-Post (10)
- Manual (8)
- Products (49)
- Software (174)
- Techniques (219)
What if you had CAM for your Lathe and didn’t even know it?
Imagine how a CAM program might work for the lathe. You draw the profile that you want to turn on a part, push a button, and out comes g-code that converts that profile into the right moves to cut the profile in multiple passes based on the depth of cut for each pass you specified. G71 and its cousins are some of the most useful canned cycles you’ll ever come across for the lathe, because they essentially do what I’ve just described. The difference is that instead of specifying a profile in a CAD program, you specify the profile using g-codes.
Here is a very simple profile:

A simple profile consisting of 3 G01 segments with a G00 to the starting point…
This profile consists of 3 G01 line segments with a G00 rapid move to the starting point of the profile. The code associated with the profile is trivial:
N1 G0 X1.6
N2 G1 Z-4.0
N3 X2.5 Z-5.0
N4 G1 X4
Now here is a G71 command to rough turn that profile as simulated by our G-Wizard CNC Simulator and Editor:

The simulated G71 makes 2 roughing passes and then cuts the profile…
And here is the code that was simulated:
% Top to bottom, right to left
( One line G71 )
G0 X4 Z1.0 (Start Position before commanding the cycle)
G71 P1 Q4 D1.0 F2 U0.2 W0.1
N1 G0 X1.6
N2 G1 Z-4.0
N3 X2.5 Z-5.0
N4 G1 X4
There’s not much more needed than the profile to get the job done. G71 can save you a whole bunch of time and make it pretty easy to crank out some parts without needing to access a CAM program. Before we dive into exactly how to program a G71, we need to cover the different flavors of G71 you may run into.
If you’re interested in learning more about G71, check out our new tutorial on it. It’s part of our G-Code tutorial course.






