[go: up one dir, main page]

0% found this document useful (0 votes)
9 views8 pages

CIM Lab - CNC Programs

The document outlines a series of exercises for CNC programming and machining using both lathe and milling machines. Each exercise includes specific part programs that demonstrate various techniques such as linear and circular interpolation, stock removal cycles, canned cycles, and subprograms. The programs are designed to produce components through a series of commands and operations tailored to different machining tasks.

Uploaded by

VELMURUGESAN R
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views8 pages

CIM Lab - CNC Programs

The document outlines a series of exercises for CNC programming and machining using both lathe and milling machines. Each exercise includes specific part programs that demonstrate various techniques such as linear and circular interpolation, stock removal cycles, canned cycles, and subprograms. The programs are designed to produce components through a series of commands and operations tailored to different machining tasks.

Uploaded by

VELMURUGESAN R
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

PART B: CNC Programming and Machining

CNC LATHE MACHINE


Exercise: 1 Using Linear and Circular interpolation - Create a part program and
produce component in the Machine.

Program:
G28 U0.0 W0.0;
M06 T0808;
M08;
G00 X26.0 Z1.0;
G71 U0.5 R1.0;
G71 P10 Q20 U0.0 W0.0 F0.1;
N10 G01 X0.0 Z0.0;
G03 X10.0 Z-5.0 R5.0;
G01 X10.0 Z-15.0;
G02 X20.0 Z-20.0 R5.0;
G01 X20.0 Z-30.0;
G01 X25.0 Z-35.0;
N20 G01 X25.0 Z-40.0;
G28 U0.0 W0.0;
M09;
M05;
M30;
Exercise: 2 Using Stock removal cycle – Create a part program for multiple turning
operations and produce component in the Machine.

Program:
G28 U0.0 W0.0;
M06 T0808;
M08;
G00 X26.0 Z1.0;
G71 U0.5 R1.0;
G71 P10 Q20 U0.0 W0.0 F0.1;
N10 G01 X0.0 Z0.0;
G03 X10.0 Z-5.0 R5.0;
G02 X20.0 Z-10.0 R5.0;
G01 X20.0 Z-22.5.0;
G02 X25.0 Z-25.0 R2.5;
N20 G01 X25.0 Z-35.0;
G28 U0.0 W0.0;
M09;
M05;
M30;
Exercise: 3 Using canned cycle - Create a part program for thread cutting, grooving
and produce component in the Machine.

Program:
G28 U0.0 W0.0;
M06 T0808; (Turning operation)
M08;
G00 X26.0 Z1.0;
G71 U0.5 R1.0;
G71 P10 Q20 U0.0 W0.0 F0.1;
N10 G01 X0.0 Z0.0;
G01 X10.0 Z0.0;
G01 X12.0 Z-1.0;
G01 X12.0 Z-24.0;
G01 X20.0 Z-35.0;
G01 X25.0 Z-35.0;
N20 G01 X25.0 Z-45.0;
G28 U0.0 W0.0;
M09;
M05;
M01; (Optional Stop)
M06 T0202; (Grooving Operation)
M08;
M03 S300;
G00 X26.0 Z-24.0;
G75 R0.5;
G75 X10.0 Z-24.0 P200 Q3000 F0.1;
G00 X26.0 Z-24.0;
G28 U0.0 W0.0;
M09;
M05;
M01; (Optional Stop)
M06 T0606; (Thread Cutting)
M08;
M03 S300;
G00 X13.0 Z2.0;
G92 X12.0 Z-21.0 F0.1;
X11.75;
X11.50;
X11.25;
X11.0;
X10.75;
X10.50;
X10.25;
G28 U0.0 W0.0;
M09;
M05;
M30;
CNC MILLING MACHINE
Exercise: 4 Using Linear interpolation and Circular interpolation – Create a part
program for grooving and produce component in the Machine.

Program:
G21 G94
G28 G91 Z0
G28 X0 Z0
T2 M06
M03 S1000
G00 G90 G54 X0 Y0
G00 G43 H2 Z5
G00 X-25 Y-30
G01 Z-0.25 F50
G01 X15 Y-30
G02 X25 Y-20 R10
G01 X25 Y30
G01 X-15 Y30
G03 X-25 Y20 R10
G01 X-25 Y-30
G28 G91 Z0
G28 X0 Z0
M05
M30

Exercise: 5 Using canned cycle - Create a part program for drilling, tapping, counter
sinking and produce component in the Machine.

Program:
G21 G94
G28 G91 Z0
G28 X0 Z0
T2 M06
M03 S1000
G00 G90 G54 X0 Y0
G00 G43 H2 Z5
G83 X-25 Y-30 Z-2 Q0.25 R1 F50
X25 Y-30
X25 Y30
X-25 Y30
X0 Y0
G80
G28 G91 Z0
G28 X0 Z0
M05
M30
Exercise: 6 Using subprogram - Create a part program and produce component in the
Machine.

Program:
G21 G94
G28 G91 Z0
G28 X0 Z0
T2 M06
M03 S1000
G00 G90 G54 X0 Y0
G00 G43 H2 Z5
G00 X10 Y10
G01 Z0 F50
M98 P12 L1 (Sub Program Call)
G00 Z5
G51.1 X0 (Mirroring and Scaling ON – Mirror about X0 axis)
G00 X10 Y10
G01 Z0 F50
M98 P12 L1
G00 Z5
G50.1 (Mirroring and Scaling OFF)
G51.1 X0 Y0
G00 X10 Y10
G01 Z0 F50
M98 P12 L1
G00 Z5
G50.1
G51.1 Y0
G00 X10 Y10
G01 Z0 F50
G50.1
G28 G91 Z0
G28 X0 Z0
M05
M30
Sub Program:
G91 Z-0.25 F50
G90
G01 X20 Y10
G01 X20 Y27
G01 X27 Y20
G01 X10 Y20
G01 X10 Y10
M99 (Sub Program End)

You might also like