0% found this document useful (0 votes)
5 views

CNC Lab Experiments

The document provides a series of CNC programming examples using G and M codes for various machining processes, including turning, grooving, drilling, and milling. Each section outlines specific commands for the CNC machine to execute, along with instructions for simulating the processes using CNC software. The examples include parameters for workpieces, tool changes, and machining cycles to achieve desired outcomes.

Uploaded by

Hari prashanth
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)
5 views

CNC Lab Experiments

The document provides a series of CNC programming examples using G and M codes for various machining processes, including turning, grooving, drilling, and milling. Each section outlines specific commands for the CNC machine to execute, along with instructions for simulating the processes using CNC software. The examples include parameters for workpieces, tool changes, and machining cycles to achieve desired outcomes.

Uploaded by

Hari prashanth
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/ 7

show 2.

Wriie
X10; X11; X13;X1s;X1S;X17; X19;X21; G90 Si500;
M30;MOS; wo;G28UO Z1;GOO MO3 TO1;
X26 MO6 WO;(BILLET
G28UOZ70;X25
TURNING the
X23:i G21 CYCLE
G98; SINGLE
simulation a
X25 CNC
Z-20 program
F40; using
CNC using
Lathe and G

software. M
codes

for
the
given
work
piece
25 and
als
also
CNC program using G and M codes for the given work piece and
Write
4.show a
the simulation using CNC Lathe software.

MULTIPLE TURNING CYCLE

[BILLET X22 Z70;


621 G98;
G28 UO WO:
MO6 TOl;
MO3 S1s00;
GOO X23 Z1;
G71 U05 ROS;
G71PI0 Q20 UO.5 WO:S F70;
NI0 GO1 X0;
GO1 ZO;
G03 X10 Z-S RS;
GO1 X10 Z-15;
GO1 X15 Z-20;
GOI XI5 Z-28:
N20 GO1X22 Z-28;
G70 P10 Q20 S1800 F80;
G28 U0 WO;
MOS;
M30;
6. Write aCNC program using Gand Mcodes for the given work piece and also
show the simulation uaing CNCLathe software.

SINGLE GROOVING
79

BILLET X22Z75;
G21G98;
G28 UO wo;
MO6 TO3;
M03 SI500;
GOO X22.5 Z-8;
G7S RI;
G75 X16 Z-10 P100 Q1000 F20;
G28 UO W0;
MOS;
M30;
b- to o4

8. Write aCNC program using G and M codes for the given work
piece and also
show the simulation using CNC Lathe software.
PECK DRILLING

[BILLET X22 Z70;


G21 G98;
G28 UO WO;
M06 TO4: (Diameter 6mm drill]
MO3 SI000:
GOO XO Z2;
G74 RI;
G74 X0 Z5 Q1000 F30;
G28 UO Wo;
MO6 TO4; (Diametcr 6mm dril]
MO3 S100;
GOO XO Z2;
G74 R1;
G74 X0 Z-10Q1000 F30;
G28UO WO;
M06 TO4; [Diameter 6mm dril]
MO3 S1000:
GOO XO Z2;
G74 R1;
G74 X0 Z-20 Q1000 F30;
G28 UO WO;
MOS;
M30;
CNC MLLING
1.Write a CNC program using Gand Mcodes for the given work piece and as
show the simulation using CNC Milling software.
SIMPLE COUNTOUR MILLING
00

BILLET X100 YI00 Z10; G28 X0 YO;


[EDGEMOVE X0 YO; MOS;
[TOOLDEF TOI DS; M30;
G21 G94;
G91 G28 ZO;
G28 XO YO;
MO6 TO1;
MO3 S1000;
G90 GO0 X35 Y2S;
GO1 Z-1 F80;
GO1 X65;
GO3 X7S Y35 R10;
GO1 X7S Y6S;
GO2 X6S Y7S RI0;
GOI X3S Y75:
GO3 X2S Y6S RI0;
GO1 X2S Y3S;
GO2 X35 Y25 RI0;
G00 Z$;
G91G28 ZO;
3. Writc a CNCprogramn using G and M
codes tor he
software.
show the simulation using CNC Milling

SIMPLE CONTOUR JNG MILLING

2) G91G28-NO YO ZO;
[BILLET XI00 YI00 Z10; MOS;
(EDGEMOVEX-S0 Y-S0; 22
M30;
(TOOLDEF TOI D6; 23

N G21G94;ZO:
N2 G9IG28
G28XO YO;
N,M06TO1;
w0sSI000;
GOO X-25 Y-25 Z5;
GO1 Z-1F40;
weGO1X-15Y-25:
GO3 X1S Y-25
RI5;
NoGO1 XZ5;
GOI Y-20;
R20:
NuG03X25Y20
GOI X2s Y25;
M4GOI X15:
Y25R15:
NIS GO3 X-15Y25:
I6GO1 X-25
Y20;
N GO1 X-25 Y-20R20;
NIgGO3X-25
NGO1 X-25 Y-25;
NGO0 Z5;
4. Writca CNC program using G and M codes for the given work piccc and also
show the simulation using CNC Milling software.
DRJLLJNG AND BORING ÇYCLE (ABSOLUTE METHOD)
5 Holes dio 3mm

S Holes dio 6mm

()

X30 Y30;
[BILLET X90 Y90 Z10;
X30 Y30;
[EDGEMOVE X-45 Y4S;
[TOOUDEF TO1 D3:" XOYO,
G80;
[TOOLDEF TO2 D6; G91 G28 ZO;
G21 G94; XO YO;
G91G28 ZO;
MØS;
G28 XO YO; M30;
M06 TO1;
MO3 SIO00;
G90 G00 X0 YO Z:
G90G99 G73X-30 Y-30 Z-6Q-1P750 R2 KI F30;
X30 Y-30,

XO YO;
G80;
G91G28 Z0:
X0 YO;
MOS;
MO6 TO2;
MO3 S1500;
G90GO0 XO YOZ5;
e90 G99 G82 X-30Y-30 Z-2 Q-1P7S0 R2KI F30;
X30 Y-30;

You might also like