OD Turning with G73 Pattern Repeating Cycle CNC Lathe Example Program


Submit by: Vikram

Summary

Write the CNC lathe program for a FANUC controlled machine using subroutine codes. Take the diameter of the work piece = 40mm, depth of cut = 0.5mm, speed = 1200rpm. Assume feed and other data suitably.

Drawing/Image

OD Turning with G73 Pattern Repeating Cycle CNC Lathe Example Program

CNC Program

Main Program:

N0 G90 F0.2 S1200 T0101 M04
N10 G00 X42 Z2
N30 M98 P12000 (call subprog O2000 once)
N130 G28 U0 W0
N140 M05 M30


Subprogram:

O2000;
N30 G73 U12 R24
N40 G73 P50 Q120 U0.05 W0.05
N50 G01 X16 Z0
N60 G01 X16 Z-20
N70 G03 X30 Z-28 R8
N71 G01 X30 Z-45
N80 G01 X40 Z-60
N90 G01 X40 Z-68
N100 G02 X40 Z-78 R8
N110 G01 X40 Z-88
N120 G01 X50 Z2
N121 M99