Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

VINIT K MODI MECH DEPARTMENT BBIT V.

VNAGAR

Example of CNC Milling Program


Compiled By V.K.Modi
Mechanical Department (GIA)
B.and B.Institute of Technology
Vallabh Vidyanagar Gujarat
Prepare CNC Part Program for following given
diagram

Take following given Data


Depth of Cut =1mm
VINIT K MODI MECH DEPARTMENT BBIT V.VNAGAR

Diameter of End Mill Cutter=5mm


Cutting Tool Material :HSS
%
N100 G00 G40 G49 G80 G90G71
/ N102 G91 G28 Z0.
/ N104 G28 X0. Y0.
/ N106 G92 X0. Y0. Z0.
N108 G00 G90 X20. Y20. S2500 M03 ( Spindle speed 2500rpm )
N110 G43 H1 Z50. (Tool offset)
N112 G201
N114 G01 Z10.
N116 G01 Z-1. F15.04(Take Plunge feed for 1mm depth)
N118 X50. F70.65 (Take feed)
N120 Y50.
N122 X80.
N124 Y20.
N126 X110.
N128 G02 X140. I15. J0.
N130 G01 X160.
N132 Y70.
N134 G02 Y110. I0. J20.
N136 G01 Y130.
N138 G01 Y150.
N140 X130.
N142 Y120.
N144 X100.
VINIT K MODI MECH DEPARTMENT BBIT V.VNAGAR

N146 Y150.
N148 X70.
N150 G02 X30. I-20. J0.
N152 G1 X20.
N154 Y20.
N156 G00 Z50.(Rapid Motion to Z50)
N160 M05 (Spindle Stop)
N162 G91 G28 Z0.
/ N164 G28 X0. Y0. (Written to Home Position)
N166 G90
N168 M30 (Program End)
%

You might also like