G71 Cycle Examples for CNC Lathe

In this article, we wrote CNC Program Examples for CNC lathe with G71 Turning Cycle. There are different G71 Cycle examples for outside and/or inside diameter turning, with or without G70 finishing cycle.

0
3084

G71 Turning Cycle

G71 Turning Cycle is a CNC code and used to stock removal in turning for CNC lathe machines. Its purpose is to remove stock by horizontal cutting, primarily along the Z-axis, typically from the right to the left. It is used for roughing out material out of a solid cylinder. In addition, although many of us use the G71 command to turn the outer diameter, inner diameter (boring or hole turning) operations can also be performed with the G71 command.

G70 Finishing Cycle

The G70 Finishing Cycle is used for finish cutting operations (final cleaning cutting) in CNC lathes. The G70 command is used to final cutting after any roughing cycles like G71, G72 or G73.

G71 Cycle Examples

Example – 1

In this example, we used G71 Canned cycle for outer diameter turning. We didn’t use G70 finishing cycle for final cutting.

Outside Diameter Turning Example with G71 Turning Cycle
CNC Lathe | G71 cycle | Outside Diameter Turning Example – No finish cut with G70
O0240;
N05 T0101;
N10 M4 S2500;
N15 G0 X37 Z0 M8;
N20 G71 U2 R1;
N25 G71 P30 Q90 U0 W0 F0.25;
N30 G1 X0 F0.1;
N40 G3 X11 Z-5 R5;
N45 G1 Z-9;
N50 G1 X14 Z-17;
N55 G1 Z-22;
N60 G1 X18;
N65 G1 X24 Z-29;
N70 G1 Z-35;
N75 G1 X28;
N80 G1 Z-43;
N85 G1 X34;
N90 G1 Z-63;
N95 G0 X200 Z200 M9;
N100 G28 U0 W0 M9;
N105 M30;

Example – 2

In this example, we used G71 Turning Cycle for boring (inner diameter) in Lathe. We used G70 finishing cycle also for final cutting and it was different tool.

Inside Diameter Turning Example with G71 CNC code
CNC Lathe Inside Diameter Turning Example – 2 with G71 cycle
O1298
N10 G54;
N15 T0101 M04
N20 G50 S2000
N25 G96 S100
N30 G99 F0.3
N40 G00 X74 Z0
N45 G01 X–1.6
N50 G00 X74 Z4
N55 G71 U2. R1.
N60 G71 P65 Q95 U0.4 W0.2 F0.4
N65 G42 G00 X49 Z1
N70 G01 X56 Z–2.5
N75 Z–32
N80 G02 X64 Z–36 R4
N85 G01 X66
N90 G03 X72 Z–39 R3
N95 G40
N100 G28 U0 W0
N105 T0202 M04
N110 G50 S2500
N115 G96 S130
N120 G99 F0.2
N125 G00 X74 Z4
N130 G70 P65 Q95
N135 G28 U0 W0
N140 M05
N217 T0909 M04 (Ø22 U-Drill)
N222 G97 S300
N227 G00 X0 Z2
N232 G74 R1.
N233 G74 Z–53. Q3000 F0.25
N238 G28 U0 W0
N243 M05
N248 T1212 M04 (Rough cutting tool)
N253 G50 S1800
N258 G96 S65
N263 F0.25
N268 G00 X22 Z2
N273 G71 U2. R1.
N274 G71 P279 Q314 U–0.4 W0.2 F0.25
N279 G41 G00 X45 Z2
N284 G01 Z–11
N289 G03 X39 Z–14 R3
N294 G01 X38
N299 G02 X30 Z-18 R4
N304 G01 Z-30
N309 X22 Z-40
N314 G40
N319 G28 U0 W0
N324 T1414 ; (Finishing tool)
N329 G50 S1500
N334 G96 S90 F0.180
N339 G00 X22 Z2
N344 G70 P279 Q314
N349 G28 U0 W0
N354 M05 M09
N359 M30

Example – 3

In this example, we used G71 CNC code for outer diameter turning. We used also G70 finishing cycle for final cutting and it was different tool.

Outside turning example with G71 canned cycle
CNC Lathe | G71 cycle Example – 3 | Finish Cut (G70) with Different Tool
N5 T0101; ( Rough Cutting Tool )
N10 M3 S1800;
N15 G0 X83 Z0;
N20 G71 U1 R1;
N25 G71 P30 Q60 U0.2 W0.1 F0.18;
N30 G1 X50 ;
N35 G1 Z-2;
N40 G1 X60 Z-23;
N45 G1 Z-48;
N50 G1 X76;
N55 G1 X80 Z-53;
N60 G1 Z-68;
N65 G0 X150 Z200;
N70 T0202; ( Finish Cutting Tool )
N75 G70 P30 Q60;
N80 G0 X150 Z200;
N85 G28 U0 W0;
N90 M02;

Example – 4

In this example, we used G71 Turning Cycle for outside diameter turning. We used also G70 finishing cycle for final cutting and it was same tool.

G71 cycle programming example for outside diameter turning
G71 stock removal cycle | Example – 4 | Longitudinal axis
( Diameter designation, metric input )
O1234 ;
N010 G00 X200.0 Z220.0 ;
N011 X142.0 Z171.0 ;
N012 G71 U4.0 R1.0 ;
N013 G71 P014 Q020 U4.0 W2.0 F0.3 S550 ;
N014 G00 X40.0 F0.15 S700 ;
N015 G01 Z140.0;
N016 X60.0 Z110.0 ;
N017 Z90.0 ;
N018 X100.0 Z80.0 ;
N019 Z60.0 ;
N020 X140.0 Z40.0 ;
N021 G70 P014 Q020 ;
N022 G00 X200 Z220 ;
N023 M30 ;

Example – 5

In this example, we used G71 Cycle for outer diameter turning. We used G70 Cycle also for final cutting and it was different tool.

Outside Diameter Turning Example with G71 cycle
CNC Lathe Outside Diameter Turning Example – 5 with G71 cycle
O0001;
N05 G54;
N10 T0101;
N15 G99 F0.25;
N20 G50 S1500;
N25 G96 S80 M03;
N30 G00 X62 Z0 M08;
N50 G01 X–1.6;
N55 G00 X62 Z2;
N58 G42;
N60 G71 U3. R1;
N65 G71 P70 Q135 U0.5 W0.1 F0.27;
N70 G00 X19 ;
N90 G01 X25 Z–3;
N95 G01 Z–17.5;
N100 G02 X30 Z–20 I2.5 K0 F0.3;
N105 G01 X34;
N110 X36 Z–21;
N115 Z–50;
N120 X45;
N125 G03 X50 Z–52.5 I0 K–2.5 F0.3;
N130 G01 Z–60;
N135 X61;
N140 G40;
N145 G00 X200 Z200;
N150 T0303;
N155 G00 X62 Z2;
N160 G70 P70 Q135;
N165 G00 X200 Z200;
N150 M05 M09;
N155 M30;

Example – 6

In this example, we used G71 turning cycle for outer diameter turning. We used also G70 finishing cycle for final cutting and it was different tool.

CNC Lathe Outside Diameter Turning Example with G71 cycle
CNC Lathe Outside Diameter Turning Example – 6 with G71 cycle
O0001;
N15 G54;
N20 T0101;
N25 G99 F0.25;
N30 G50 S1500;
N35 G96 S80 M03;
N40 G00 X32 Z0 M08;
N45 G01 X–1.6;
N50 G00 X32 Z3;
N55 G71 U3 R1;
N60 G71 P65 Q100 U0.5;
N65 G42 G01 X10 Z1;
N70 G01 X12 Z– 4;
N75 G01 X12 Z– 8;
N80 X20;
N85 Z–16;
N90 G02 X28 Z–2 0 I4 K0 F0.2;
N95 G01 X28 Z–27;
N100 G40;
N105 G00 X200 Z200;
N110 T0202; ( Finish cutting tool )
N115 G50 S2000 F0.2;
N120 G96 S120 M04;
N120 G00 X32 Z0;
N125 G70 P65 Q100;
N130 G28 U0 W0;
N135 M05 M09;
N140 M30;

Example – 7

In this example, we used G71 CNC code for outside diameter turning. We used G70 finishing cycle also for final cutting and it was same tool with rough cutting tool.

G71 cycle Example with G70 finishing cycle ( Used same tool for finishing)
CNC Lathe | G71 cycle Example – 7 | Finish Cut (G70) with Same Tool
O1234;
N5 T0101;
N10 M3 S1800;
N15 G0 X83 Z0 M08;
N20 G71 U1 R1;
N25 G71 P30 Q60 U0.2 W0.1 F0.18;
N30 G1 X50 ;
N35 G1 Z-2;
N40 G1 X60 Z-23;
N45 G1 Z-48;
N50 G1 X76;
N55 G1 X80 Z-53;
N60 G1 Z-68;
N65 G70 P30 Q60;
N70 G00 X200 Z200 M09;
N75 G28 U0 W0;
N80 M02;If U(2) and W = 0, then there should not write G70.N5 T0101;
N10 M3 S1800;
N15 G0 X83 Z0 M08;
N20 G71 U1 R1;
N25 G71 P30 Q60 U0 W0 F0.18;
N30 G1 X50 ;
N35 G1 Z-2;
N40 G1 X60 Z-23;
N45 G1 Z-48;
N50 G1 X76;
N55 G1 X80 Z-53;
N60 G1 Z-68;
N65 G28 U0 W0;
N70 M02;

Example – 8

In this example, we used G71 code for outside diameter turning. We used also G70 Cycle for final cutting and it was same tool with rough cutting tool.

G71 Canned cycle Programming Example for Outside Turning - Finish with same tool
CNC Lathe | G71 cycle Example – 8 | Finish Cut (G70)
O1234;
N10 G50 S1500 T0101 ;
G96 S180 M03 ;
G00 X85.0 Z5.0 M08 ;
Z0 ;
G01 X-1.6 F0.25 ;
G00 X83.0 Z2.0 ;
G71 U3.0 R1.0 ;
G71 P20 Q30 U0.5 W0.1 F0.27 ;
N20 G42 G00 X30.0 ;
G01 Z-20.0 F0.17 ;
X40.0 Z-40.0 ;
Z-60.0 ;
X50.0 Z-70.0 ;
Z-90.0 ;
X60.0 Z-110.0 ;
Z-140.0 ;
X80.0 ;
N30 G40 ;
G70 P20 Q30 ;
G00 X200.0 Z200.0 T0100 ;
M30 ;If G70 finish cutting need different tool, replace above lines from G70 line with below.G00 X200.0 Z200.0 T0100 ;
M01 ;
N40 G50 S2000 T0303 ;
G96 S200 M03 ;
G00 X83.0 Z2.0 M08 ;
G70 P20 Q30 ;
G00 X200.0 Z200.0 T0300 ;
M30 ;

Example – 9

In this example, we used G71 CNC code for outside diameter turning. We used also G70 finishing cycle for final cutting.

CNC Lathe | G71 cycle Example - 9 | Finish Cut (G70)
CNC Lathe | G71 cycle Example – 9 | Finish Cut (G70)
O0014 ;
N1 T00 00 ;
G00 X0. Z-100.;
T0606 M07 ;
G92 S2500 ;
G96 S180 M03 X75.Z0. ;
G01 X-1 F0.25 ;
G00 X75.Z2. ;
G71 U2.5 R1. ;
G71 P10 Q20 U1. W0.5 F0.3 ;
N10 G0 X21. ;
G01 G42 X23. Z0. F0.2 ;
A135. X25. ;
Z-25. ;
X40. R3. ;
A180. R2. ;
X60. Z-60. A135. R2. ;
Z-75. R3. ;
X72.
N20 G00 G40 X75. ;
N2 S0 T00 00 ;
G00 X0.Z-100. ;
T0808  ;
G92 S2500 ;
G96 S200 M03 X75. Z2. ;
G70 P10 Q20 ;
S0 T00 00 M09 ;
G0 X0.Z-100. ;
M05 ;
M30 ;

 


Need to More?

Our volunteers have worked together and carefully prepared the articles published here in their native language without using machine translation. You can search the entire site for more information on the subject. You can start a discussion on CNCarea.com forums and join us to get support, ask questions, improve a published article or give your opinion.


Previous articleSiemens CNC | Cycle95 | Outside Diameter Turning Example-No Finish Cut
Next articleCNC Lathe | G76 Cycle | Multiple Repetitive Pass Threading (Quick Guide)