1.
Linear Interpolation
AIM: To write a part program for linear interpolation and execute the tool path for the
given model using a CNC milling machine.
MACHINE USED: CNC Milling Machine
CNC PROGRAM:
G91 G28 Z0;
G91 G28 X0 Y0;
M06 T06;
M03 S1500;
G54 G90 G00 X0 Y0 Z10;
G00 X-20 Y-20 F200;
G01 Z2 F300;
G01 Z-1 F100 M07;
X-20 Y20 F100;
G01 X20 Y-20;
G01 X20 Y20;
G00 Z0;
G91 G28 Z0;
M09;
G91 G28 X0 Y0;
M05;
M30;
RESULT: The tool path for linear interpolation was successfully executed on the CNC
milling machine.
2. Circular Interpolation
AIM: To write a part program for circular interpolation and execute the tool path for the
given model using a CNC milling machine.
MACHINE USED: CNC Milling Machine
CNC PROGRAM:
G91 G28 Z0;
G91 G28 X0 Y0;
M06 T06;
M03 S1500;
G54 G90 G00 Z10 X0 Y0;
G00 X-40 Y0 F200;
G01 Z2 F300;
G01 Z-1 F100 M07;
G03 X40 Y0 R40;
G03 X-40 Y0 R40;
G03 X0 Y0 R20;
G02 X40 Y0 R20;
G00 Z0;
G91 G28 Z0;
M09;
G91 G28 X0 Y0;
M05;
M30;
RESULT: The tool path for circular interpolation was successfully executed on the CNC
milling machine.
3. Drilling
AIM: To write a part program for drilling and execute the tool path for the given model
using a CNC milling machine.
MACHINE USED: CNC Milling Machine
CNC PROGRAM:
G91 G28 Z0;
G91 G28 X0 Y0;
M06 T05;
M03 S1500;
G54 G90 G00 Z10 X0 Y0;
G99 G81 X0 Y0 Z-10 R4 F100 M07;
X-25 Y-25;
X-25 Y25;
X25 Y25;
X25 Y-25;
G80;
G00 Z5;
G91 G28 Z0;
M09;
G91 G28 X0 Y0 Z0;
M05;
M30;
RESULT: The tool path for drilling was successfully executed on the CNC milling
machine.
4. Peck Drilling
AIM: To write a part program for peck drilling and execute the tool path for the given
model using a CNC milling machine.
MACHINE USED: CNC Milling Machine
CNC PROGRAM:
G91 G28 Z0;
G91 G28 X0 Y0;
M06 T05;
M03 S1500;
G54 G90 G00 Z10 X0 Y0;
G99 G83 X0 Y0 Z-10 R1 Q1 F100;
X-25 Y0;
X0 Y25;
X25 Y0;
X-25 Y0;
G80;
G00 Z5;
G91 G28 Z0;
M09;
G91 G28 X0 Y0 Z0;
M05;
M30;
RESULT: The tool path for peck drilling was successfully executed on the CNC milling
machine.
5. Linear & Circular Interpolation
AIM: To write a part program for contour profile and execute the tool path for the given
model using a CNC milling machine.
MACHINE USED: CNC Milling Machine
CNC PROGRAM:
G91 G28 Z0;
G91 G28 X0 Y0;
M06 T05;
M03 S1500;
G54 G90 G00 X-10 Y-10;
G01 Z-2 F100 M07;
X0 Y50;
X10 Y10;
X50 Y0;
X10 Y-10;
X0 Y-50;
X-10 Y-10;
X-50 Y0;
X-10 Y10;
G00 Z5 M09;
G91 G28 X0 Y0 Z0 M05;
M30;
RESULT: The tool path for contour milling was successfully executed on the CNC
milling machine.
[Link] Part Programming for Turning and Step
Turning
AIM:
To write a part program for Turning and step turning and execute the tool path for the
given model using a CNC turning machine.
MACHINE USED:
CNC Turning Machine
DIAGRAM:
PROGRAM:
0001;
N1;
T0000;
G28 U0 W0;
M06 T01 01;
G97 M03 S2000;
G00 X0 Y0 Z5 M08;
G01 X0 Z0 F0.2;
G01 X25 Z0;
G01 X25 Z-40;
G00 X35 Z5 M05;
G28 U0 W0;
M09;
M30;
DIAGRAM:
PROGRAM:
0001;
N1;
T0000;
G28 U0 W0;
M06 T01 01;
G97 M03 S2000;
G00 X0 Z5 M08;
G01 X22 Z0 F0.2;
G01 X22 Z-65;
G00 X22 Z5;
G01 X18 Z0;
G01 Z-45;
G00 X25 Z5;
G01 X13 Z0;
G01 Z-28;
G00 X25 Z5;
G01 X8 Z0;
G01 Z-13;
G00 X25 Z5;
G28 U0 W0;
M05 M09;
M30;
RESULT: Thus, the part program for step turning and turning is written and execution
of the tool path for the given model using the CNC turning machine has been performed.
7. Manual Part Programming for Taper Turning
AIM:
To write a part program for taper turning and execute the tool path for the given model
using a CNC turning machine.
MACHINE USED:
CNC Turning Machine
DIAGRAM:
PROGRAM:
G21 G98;
G28 U0 W0;
M06 T04;
M03 S1500;
G00 X23 Z5;
G00 P70 Q140 U0.05 W0.5 F50;
G01 X0 R5;
Z0;
G03 X8 Z-0.5 R5;
G01 Z-17;
G01 X12 Z-25;
Z-35;
G02 X16 Z-40 R6;
G01 Z-42;
G70 P70 Q140;
G28 U0 W0;
M05;
M30;
RESULT: Thus, the part program for taper turning is written and execution of the tool
path for the given model using the CNC turning machine has been performed
8. Manual Part Programming for Grooving
AIM:
To write a part program for grooving and execute the tool path for the given model using
a CNC turning machine.
MACHINE USED:
CNC Turning Machine
DIAGRAM:
PROGRAM:
G21 G98;
G28 U0 W0;
M06 T02;
M03 S1500;
G96 S150;
G95 F0.5 M03;
G00 X22 Z-20;
M08;
G01 X14;
G00 X25;
G00 Z25;
G28 U0 W0;
M05;
M30;
RESULT:
Thus, the part program for grooving is written and execution of the tool path for the given
model using the CNC turning machine has been performed.
9. Manual Part Programming for Thread Cutting
AIM:
To write a part program for thread cutting and execute the tool path for the given model
using a CNC turning machine.
MACHINE USED:
CNC Turning Machine
Diagram:
PROGRAM:
G21 G98;
G28 U0 W0;
M06 T05;
M03 S1000;
G00 X20 Z2;
G76 P010060 Q100 R0.05;
G76 X10 Z-30 P1024 Q200 R0 F1.5;
G28 U0 W0;
M05;
M30;
RESULT:
Thus, the part program for thread cutting is written and execution of the tool path for the
given model using the CNC turning machine has been performed.
10. Manual Part Programming for Peck Drilling
AIM:
To write a part program for peck drilling and execute the tool path for the given model
using a CNC turning machine.
MACHINE USED:
CNC Turning Machine
Diagram:
PROGRAM:
T0000;
G28 U0 W0;
M06 T0202;
G97 S800 M03;
G00 X0 Z5;
G74 R1.0;
G74 X0 Z-40 Q5000 F0.1;
G28 U0 W0;
M05 M09;
M30;
RESULT:
Thus, the part program for peck drilling is written and execution of the tool path for the
given model using the CNC turning machine has been performed.