G71 is a 2-line canned cycle for CNC turning that automatically generates multi-pass longitudinal roughing toolpaths from a simple profile definition, drastically reducing program length.
Engineering Specifications & Parameters
Direction
OD / ID turning along Z-axis
Cycle Type
Longitudinal Rough Turning Cycle
Paired Finish Cycle
G70 P100 Q200 (Executes contour finish pass)
Controller Compatibility
Fanuc, Haas, Doosan, Mitsubishi
Standard 2-Line G71 Syntax
Line 1 sets the radial depth of cut (U) and retract clearance (R).
Line 2 sets the profile start block (P), end block (Q), X/Z finishing allowances (U/W), and roughing feed rate (F).
Advantages
Reduces hundreds of lines of point-to-point turning code to just 2 lines, simplifying on-machine programming and troubleshooting.
Frequently Asked Questions
What is the difference between G71 Type I and Type II?
Type I only supports monotonic profiles (non-recessed); Type II includes X and Z in the starting block to handle pockets and undercut profiles.
How do you run the finish pass after G71?
Call G70 with P and Q block numbers using a dedicated finishing insert to clean up the U and W stock allowance.