G74 Cycle Examples for CNC Lathe

G74 Canned Cycle

G74 Cycle is a CNC code and used to peck drilling and face grooving on CNC lathe machines.

Although the G74 Peck Drilling and Face Grooving Cycle is frequently used in the market to peck deep holes in CNC lathes, the variables used when writing the cycle can be written differently and can be used for face cutting and face grooving operations.

G74 Cycle Examples

Example - 1

In this example, we used G74 CNC code for peck drilling on CNC lathe machine.

CNC Program example for peck drilling with G74 Cycle - 1

O3453;
T0202;
G97 M3 S3000;
G0 X0 Z3 M8;
G1 Z-3 F0.1;
G0 Z3
G0 X200 Z200 M9;
T0606;
G97 M3 S1000;
G0 X0 Z3 M8;
G74 R1;
G74 Z-30 Q10000 F0.1 ;
G0 X200 Z200 M9;
T1010;
G97 M3 S500;
G0 X0 Z3 M8;
G1 Z-24 F0.1;
G1 Z3;
G0 X200 Z200 M9;
M30;

Example - 2

In this example, we used G74 Peck Drilling and Face Grooving Cycle for peck drilling on CNC lathe machine.

CNC Program example for peck drilling with G74 Code - 2

O3507
N1 G20
N2 T0200
N3 G97 S1200 M03
N4 G00 X0 Z0.2 T0202 M08
N5 G74 R0.02 ;
N6 G74 Z-75.0 Q6000 F0.1 ;
N7 G00 X6.0 Z2.0 T0200
N8 M30

Example - 3

In this example, we used G74 CNC code for peck drilling on CNC lathe machine.

CNC Program example for peck drilling with G74 CNC Code - 3

O0011;
N300 G54;
N305 T0101 M03;
N302 G50 S1500;
N305 G96 S100;
N300 G99 F0.3;
N315 G00 X75 Z0 M08;
N320 G01 X–1.6;
N325 G00 X72 Z4;
N330 G71 U4 R1;
N335 G71 P340 Q365 U0.5 W0.2 F0.2;
N340 G42 G00 X36 Z1;
N345 G01 X36 Z–27;
N350 G02 X52 Z–35 I8 K0 F0.2;
N355 G01 X58;
N360 G03 X70 Z–41 I0 K–6 F0.2;
N365 G40;
N370 G28 U0 W0;
N375 T0202;
N380 G50 S2500;
N385 G96 S210;
N390 G00 X72 Z4;
N395 G70 P340 Q365;
N400 G28 U0 W0;
N405 T0505;
N410 G00 X0 Z5;
N415 G74 R1.5;
N420 G74 Z–35 Q5000 F0.2;
N425 G28 U0 W0;
N430 M05 M09;
N435 M30;

Example - 4

In this example, we used G74 CNC cycle for peck drilling on CNC lathe machine.

CNC Program example for peck drilling with G74 CNC Cycle - 4

O0012;
N320 G54
N325 T0101 M04;
N330 G50 S2000;
N335 G96 S150;
N340 G99 F0.3;
N350 G00 X102 Z0 M08;
N355 G01 X–1.6;
N360 G28;
N365 M05;
N370 T0707;
N375 G97 S950 F0.3 M03;
N380 G00 Z3;
N385 G00 X0 M7;
N390 G74 R1.;
N391 G74 X0. Z–59. Q1500 F0.3;
N396 G28;
N401 M05;
N406 T0505;
N411 G50 S3500;
N416 G96 S200 M04;
N421 G00 X20 Z2;
N426 G90 X23 Z–58.9 F0.25 M7;
N431 G90 X32 Z–43.9 F0.25;
N436 X40;
N441 X47;
N446 G00 X47;
N451 G90 X55 Z–23.9 F0.25;
N456 X63;
N461 X71;
N466 G28;
N471 M05;
N476 T1111;
N481 G50 S4500;
N486 G96 S380 M4;
N491 G41;
N496 G00 X72 Z2;
N501 G01 Z–24;
N506 X48;
N511 Z–44;
N516 X24;
N521 Z–59;
N526 X20;
N531 G40;
N536 G00 X20.8 Z2;
N541 G28;
N546 M05;
N551 M09;
N556 M30;

Example - 5

In this example, we used G74 Cycle for peck drilling on CNC lathe machine.

CNC Program example for peck drilling with G74 Cycle - 5

O0074 ;
T000 ;
G00 X0 Z-100. ;
S900 M04 ;
T0505 ;
G00 X0 Z3. M07 ;
G74 R1000 ;
G74 Z-60. Q20000 F0.2 ;
G00 Z5. ;
S0 T0000 M09 ;
X0 Z-100. M05 ;
M30 ;

Important Note: The reason we write Q3000 (3mm=3000 microns) and P10000 (10mm=10000 microns) in the examples is that these values must be entered in the system in microns. These values may have to be entered as mm in some machines. If you don’t know, please get information from the machine authorized service or from the booklets of the control unit.