CAD/CAM LABORATORY
MEL58
SIMPLE TURNING
a/
W'it"a manual part program for Simple Turning Operation for the component
shown in
figure below.
PLANNING AND OPERATIONSSHEET
B I L LB T S IZ E :2 2 x6 0
MATERIAL: Aluminum
PROGRAM NO : 1002
DWGNO:2
Simple
Tool offset No.
SDJCR
tzlzHtl
DCMT
l1T304
TOOL OFFSETSHEET
Compensations,mm
Radius. mm
Standard Tool
Number
(Drawing No .2
(CNCprogramfor SimpleTurning
(Reducing
thediameterfrom 22 mmto l4 mm
01002
programNumber1002
[BILLET X22 2,60
DefiningBillet sizedia : 22length60mm
G2l G98
Initialiettinss
G28U0 W0
Goingto horie ^lrlo.
position
M06 T0303
Selecting
Tool
3 with offsetNo 3
M03 S1200
Setringspindlespeedat 1200rpm
G00X22 Z1
tool movingto tool entrypoini X22Zl al
GOl X21
rapidtraverse.
GOlz-30F45
G00X22
SimpleTurningoperarion
GOO
ZI
G O lx 2 i
GOlz-30 F45
G00x22
GOO
ZT
DEPARTI\{ENTOF MECHANICAL BNGINEERING,K.S.I.T. BANGALORE-62
56
CAD/CAM LABORATORY
GOlx20
G01Z-30F45
G00x22
GOO
ZT
G O xl l 9
G0rz-30F45
G00x22
GOO
Z1
G O xl 1 8
GOlz-30F45
G00x22
GOO
ZI
G O xl l 7
GOlz-30F45
G00x22
GOO
ZI
G O xl 1 6
GOlz-30F45
G00x22
GOO
ZT
G 0 1X 1 5
G}t z-30F4s
G00x22
GOO
ZI
G O xl l 4
GOlz-30F45
G00x22
GOO
ZI
G28U0 W0
M05
M30
MEL58
Going to homeposition
Stopthe spindle
stopand rewind.
CIRCULAR INTERPOLATION _ GO2/GO3
I
a
J
Data to be given
Rotation Direction
Endpointposition
Distancefrom start
pointto center
Radius of arc
Command
Absolute
command
Incremental
command
Meaning
G02
G03
Clockwisedirection(CW)
X.Z
End point positionin the work
coordinatesystem
Distancefrom startpoint to end
point.
Distancewith directionfrom
start point to arc center.
Radiusof arc.
u,w
[,K
R
Counterclockwisedirection
(ccw)
DEPARTMENT OF MECHANICAL ENGINEERING,K.S.I.T, BANGALORE.62
57
CAD/CAM LABORATORY
MEL58
The end point of an arc is specifiedby addressX,Z or U, W and is expressedas an
absoluteor incrementalvalue. For the incrementalvalue, the coordinateof the endpoint
which
is viewed from the start point of the arc is specified.The arc center is specifiedbyaddresses
I
and K for the X and Z axis. The numerical value following I,J is always specified
as an
incrementalvalue- I and K must be signed according^tothe direction. The radius is specified
with addressR, if the circular path is greaterthan 1800,then R should be negative.For
a lathe,
becauseof the characteristicsof the turning operation,the circular motion can only b" t.ss
tha,i
1g00.
Clockwise and counterclockwise directionsof rotationsare distinguishedon the basis
of the rule that when one looks from the positivedirection of the axis perpe-ndicular
to the plane
on which the circular motion is performed,the motion is in clockwise ind counterclockwise
directionsrespectively.The clockwiseor counterclockwisedirection variesin right or left
hand
coordinatesystemsas shown in figuresbelow :
GOa operaticrn
Machine with
tool post
G03 oper ,r.tion
CONTOURTNG
Write a manual part program for Linear and Circular Contour Operation for the
componentshown in figure below.
DEPARTMENT OI..MECHANICAL ENGINEERING,K.S.I.T, BANGAL0RE-62
58
CAD/CAM LABORATORY
MEL58
5----{
DWG.NO.3
PLANNING AND OPERATIONSSHEET
BILLET SIZE : 32 x 60
MATERIAL: Alum inum
PROGRAM NO : 1003
D W GN O : 3
SL.NO Operation
Tool
Tool
Tool
Tool
Spindle
Feed,
Holder
Tip
Station Offset
Speed, mm/min
No
No
rpm
Linear
SDJCR DCMT
I
I
1200
45
Intemolation t2t2Hrl
11T304
2
Contouring SDJCR DCMT
I
r200
25
t2t2Htl
l1T304
TOOL OFFSETSHEET
Tool offset No.
Compensations,mm
X
I
Toolnose
Radius, mm
Standard Tool
Number
0.4
(DrawingNo.3
(CNCprogramfor Linearandcircularinterpolation
01003
Prosram
Number1003
Deining Billet sizedia : 32 length60 mm
IBILLET X32 260
G2l G98
Initialsettinss
G28U0 W0
Goingto hJmeposition
M06T0303
Selectine
ToolNo. 3 with offsetNo. 3
M03 51200
Settingspindlespeedat 1200rpm
G00X32 Zl
Tool movingto tool entrypointX32 Zl at
rapidtraverse.
GOO
X5
GOIZO
G 0 1X 1 0Z -1 0F 4 5
- G02
GC2X20Z-25F.l} F25
ClockwiseInterpolation
G01Z-30F45
DEPARTMENT OF MECHANICAL ENGINEERING,K.S.I.T, BANGALORE-62
<o
CAD/CAM LABORATORY
MEL58
G03U5Z-37F.r} F25
G9tz-42F45
x30z-47
z-52
G28U0 W0
M05
M30
- G03
CounterClockwiseInterpolation
Going to homeposition
Stop the spindle
Pro
stop and rewind.
G94_ FACING CYCLE
N
Al.
\-l
f
o) Step Fo.cing
cyc(e
b)Toper Focing
cycte R-
Description
A G94 is a "Box Type" cutting cycle.
This cycle is used for stock removal
either parallel or at an angle to workpiece
face. It is the equivalent of rapid to Z
position, feed to X position, feed to start
Z position, and rapid to start X position.
If the "R" value is specifiedtaperingwill
be performed. The sign of "R" depends
on direction of the taper.The initial rapid
move will be to the Z position plus .,r"
value. As carmed cycles are modal, to
repeat the cycle for removing further
material only the value in the axis to be
movecineedsto be changed.
t
c)Taper Fo.cing
cycle R+
Illustration
a)Ge4
x(u) z(w)F
b)Ge4x(u) z(w)R-F
c) G94 X(U) Z(w) R+ F
Where X: diameterto which the movement
is beingmade.
{J: The incremental distance from the
current tool position to the required final
diameter.
Z: The Z axis coordinate to which the
movementis being made.
W : The incremental distance from the
currenttool position to the requiredposition.
R: The difference in incrementalof the cut
start radius value and the cut finish radius
value.
DBPARTMENT OF MECHANICAL ENGINEERTNG,K.S.I.T, BANGALORE-62
60
t9
-IYJINYHJf,WdO INflIAIJUYdg(
Z9-!ruO'IVDNVTI'I'I'S'X'CNTUSSNI)NS
9'Z-Z
Z-Z
9'I-Z
epoc?6C
C Z XV6D: xe1u,{g
a1c,(c
SurceC
xofl t6C ----------ol
Eurrrou
V Zzxlurod,&lueloot
1oo1
rufu00Zt 1epaadsalpurds3ur11eg
'oN
t oN lesJJoqU^At
IooJ 8ur1ce1ag
uorlrsodryoq ol Surog
sdurllesIuqruI
tulrt0t r{}Eua1
Z(.: e\pazrs}ollrgSurugeq
t00l raqun5lururSor6
rZ
gEC
9'0-Z
0rx r6c
IZ ZEXOOJ
OOZIS
'OhI
t00J 90IAI
01K0n 8zc
86CrZC
OVZZZX Tg-lr|lg]
t00ro
e1c,(cSurcegro3 ruerSo;d3p3)
?'oN Sur,r,rerq)
v'0
t
JaqrunN
IooI prBpuBfs
Iutu 'snrp8u
esoulo0I
turu (suorlzsuaduro3
'oN
rgtrHs Jtrsddo'IooI
IIHZIZI I
ulfcs
oN
uorlBls
alpurd5 |
IooI
IOOI
IooI
? : ON CA\(I
tesJJolooJ
Eursec
xog
loo.[
t00I : oN I IYUSOUd
unururnlY: .IvtuflJvhtr
0v x z7: uzIS J,g.I.Ufl
JgflHS SNOII\TUfldO (INY CNINNVTd
t'oN'ca\o
0+---
--T*I-
I
',$oJJqe"rn8rtr
ur u,raoqs
luauoduoc aql roJ uorlurado Surcegxog roJ uer8ord lrud lenuuu B alirA\
CNIJVd XOg
SSTgW
AUOI\NUOflY'I'TIVJ/(YJ
CAD/CAM LABORATORY
MEL58
z-3
z-3.5
z-4
z-4.5
z-5
G00x22z-5
G 9 4X l O Z -5 .5F 3 5
z-6
z-6.5
z-7
z-7.5
z-8
z-8.5
z-9
z-9.5
z-r0
G28U0 W0
M05
M30
G94 Box Facingcycle
Going to homeposition
Stop the spindle
Programstop and rewind.
TAPER FACING
Write a manual part program for Taper Facing Operation for the componentshown
in
figure below.
|}
DWG.NO.5
mry
ERATIONSSHEET
LMATERIAL : Aluminum
rRUGR-d Nl N0 : 1005
D W GN O : 5
SL.NO Operation
Tool
Tool
Tool
Tool
Spindle
Feed,
Holder
Tip
Station
Offset
Speed, mm/min
No
No
rDm
I
Plain
SDJCR DCMT
I
t 200
35
Turning
lztzHtr I 1T304
a
a
2
Taper
SDJCR DCMT
J
J
1000
30
Facinp
l2r2Htl
I1T304
DEPARTMENT OF MECHANICAL ENGINEERING,K.S.I.T, BANGALORE-62
62
CAD/CAM LABORATORY
MEL58
TOOL OFFSETSHEET
Tool offset No.
Compensations,mm
X
1
a
J
Toolnose
Radius. mm
Standard Tool
Number
R
0.4
a
J
0.2
n
J
(Drawing No .5
(CNC programfor Taper Facingcycle
or005
IBTLLETX22 260
G21G98
G28U0 W0
M06 T0303
M 0 35 1 2 0 0
G00x22zr
G 9 4Xl O Z -0 .5 F 3 5
z-l
z-t.5
z-2
z-2.5
z-3
z-3.5
z-4
z-4.5
z-5
z-5.5
z-6
z-6.5
z-7
z-7.s
z-8
z-8.5
z-9
z-9.5
z-t0
G28U0 W0
M 0 6T 0 1 0 1
M03 51000
G00x22z-r0
G94X22Z-2sR-10F30
x2r
ProgramNumber 1005
DefiningBillet sizedia :22length 60 mm
Initial settings
Going to home position
SelectingTool No. 3 w'ith offset No 3
Settingspindlespeedat 1200rpm
Tool moving to tool entry point X22 Zl
G94 For Facingcycle
G94 codeSyntax : G94X Z F
Going to home position
using Left Hand Tool
TaperFacingCycle - G94
x20
xl9
xl8
DEPARTMENT OF MECHANICAL ENGINEERING,K.S.I.T. BANGALORE-62
63
CAD/CAM LABORATORY
MEL58
xl7
xl6
xl5
xt4
xl3
xt2
xll
xl0
G28U0 W0
M05
M30
Going to Home position.
Stopthe spindle
Programstopand rewind.
G72MULTIPLE FACING
Description
This multiple facing cycle is used
when the major direction of cut is
along the "X" axis. This cycle
causes the profile to be roughed
out by facing. Control passeson
to after the last block of the
profile. Two G72 blocks are
neededto specifyall the values.
Illustration
G72WR
GTzPQUWFST
Where W - Depth of cut in Z axis
R - Escapeof relief amount
P- The line numberin the programmarking the start
of the finishedform required.
Q - The line numberin the programmarking the end
of the finishedform required.
U - The amountand direction of the finishing
allowanceleft in the X axis
W - The amountand directionof the finishins
allowanceleft in the Z axis
F - Feedrate
S - Speed
T - Tool number
The valuesof F,S and T containedin the data
blocks for the profiles are ignoredwhen G72 line is
read.
DEPARTMENT OF MECHANICAL ENGINEERTNG,K.S.I.T, BANGALORE-62
64
CAD/CAM LABORATORY
MEL58
MULTIPLE FACING
Write a manual part program for Multiple Facing Operation for the componentshown in
figure below.
DWG.NO.6
PLANNING AND OPERATIONSSHEET
BILLET SIZE : 30 x 60
MATERIAL: Aluminum
PROGRAM NO : 1006
DWGNO:6
SL.NO Operation
Tool
Tool
Tool
Tool
Spindle
Holder
Tip
Station Offset
Speed,
No
No
rDm
I
Multiple SDJCR DCMT
I
1200
rough
tzt2Htl
I1T304
facins
2
Finishing SDJCR DCMT
2
2
1450
t2tzHtl
I1T302
Feed,
mm/min
45
25
TOOL OFFSETSHEET
Tool offsetNo.
Compensations,mm
Toolnose
Radius. mm
Standard Tool
Number
R
0.4
0.2
J
a
J
(Drawing No .6
(CNC programfor Multiple Facingcycle
01006
ProsramNumber 1006
X30260
IBTLLET
c21ce8
dia: 30mmrength
60mm
--------?:fllilSillT:"^
G28U0 W0
M06 T0303
M03 51200
G00X31 21
MULTIPLEFACINGCYCLE_ G72
Goingto horie position
SelectinsToolNo. 3 with offserNo 3
Settinglpindlespeedat 1200rpm
Tool movingto tool entrypoint){3I Zl
DEPARTMENT OF MECHANICAL ENGINEERING,K.S.I.T, BANGALORE-62
.
65
CAD/CAM LABORATORY
MEL58
(Depthof cut for eachpassW:0.5 mm
(ReliefamountR:0.5 mm
(P & Q - Beginning& endof cyclessequence
Nos.
(Allowances
on X andZ axis:0.1 mm respectively.
(FeedrateF:35 mm/min.
G72W0.5R0.5
G 7 2 P r}Q2 0 U O.lw 0 .1F 3 s
N l O GOlz-s2
x30
z-47
x25Z-42
z-37
G02X20Z-30RtO F25
GOIZ-25
G 0 3X l O z - l s R 1 0
G O lz - 1 0F 3 5
N2OX5 ZO
G20U0 W0
M06 T0202
M03S14s0
G00x3l 21
G70P10Q20F25
G28U0 W0
Mo5
M30
UsingLeft HandFinishingtool
Finishing
Cycle
Goingto Homeposition.
Stopthespindle
Prosramstop and rewind.
G9OSINGLE TURNING CYCLE
This cycle can be usedto produceeithera parallelor taperedtool path. This cycle
performsfour distinct moveswith one line of informationand it is equivalentof
. Rapid to X position
o Feedto Z position
o Feedto startX position
a
rd to startZ position
Description
Illustration
With the abovecommand the cycle
GeOx(u) z(w) F
will executeremoving material to the WhereX - Diameterto which the movementis
requireddiameterand length. To
being made.
repeatthis cycle to reducethe
U- The incrementaldistancefrom the current
diameterbut maintain the same
tool position to the requiredfinal diameter
length, only the value to be changed
Z-TheZaxis coordinateto which the movement
needto be programmed.
is beingmade.
W- The incrementaldistancefrom the current
tool positionto the requiredZ axtsposition
F- Feed
DEPARTMENTOFMECHANICAL ENGINEERING,K.S.I.T, BANGALORE-62
66
CAD/CAM LABORATORY
MEL58
STEPTURNING
Write a manual part program for Step Turning Operation with G90 cycle for
the
componentshown in figure below.
DWG.NO.7
PLANNING AND OPERATIONSSHEBT
BILLET SIZE :22 x60
MATERIAL : Aluminum
PROGRAMNO : 1007
D W GN O : 7
SDJCR
t212Hrl
DCMT
l1T304
TOOL OFFSETSHBET
Tool offset No.
Compensations,
mm
Toolnose
Radius, mm
Standard Tool
Number
0.4
a
J
(Drawing No.7
(CNC programfor StepTurning
o1007
IBTLLETX22260
G2l c98
G28U0 W0
M06T0303
M0351200
G00x22 zl
G90X22Z-30F30
x2l
x20
x19
xl8
ProgramNumber 1007
DefiningBillet size dia :22lensth 60 mm
Initial settings
Going to homeposition
SelectingTool No. 3 with offsetNo 3
Settingspindlespeedat 1200rpm
Tool moving to tool entry point X22 Zl
G90 StepTurning cycle
G90 code Syntax : G90 X Z F
xr7
DEPARTMENTOFMECHANICALENGINBBRING, K.S.I.T, BANGALORE-62
67
CAD/CAM LABORATORY
MEL58
xl6
xl5
xl4
G00xr4 zI
G90Xl3 Z-r5 F 3 0
xt2
xll
xl0
G28U0 W0
M05
M30
Going to homeposition
Stop the spindle
Programstopand rewind.
G9OTAPER TURNING
ll
()
1r\
r---$--+
ti
h/
rr-=>-
t-, F fn
p---\--__j
il
,l ,y;!n
.F-
-\ {
h)Toper Turnlng
cycte R-
Descrirrtion
If an "R" value is specified in the
command format of G90 cycle,
tapering will be performed. The
sign of "R" will depend on the
direction of the taper. The initial
rapid move will be ro the X position
plus the "R" value.
c)Toper Tur-nlng
cyc(e R+
Illustration
GeOx(u) z(w) R F
WhereX - Diameterto which the movementis
being made.
U- The incrementaldistancefrom the currenttool
positionto the requiredfinal diameter
Z- The Z axis coordinateto which the movementis
being made.
W- The incrementaldistancefrom the currenttool
positionto the requiredZ axis position
R- The differencein incrementalof the cur srarr
radiusvalue and the cut finish radiusvalue.
F- Feed
DEPARTMENT OFMECHANICAL ENGINEERING,K.S.I.T, BANGALORE-62
68
CAD/CAM LABORATORY
MEL58
TAPER TURNING
Write a manual part program for Taper Turning Operation for the componentshown in
figure below.
g-
frB
-15-
DWG.NO.8
PLANNING AND OPERATIONSSHEET
BILLET SIZE :22 x60
MATERIAL : Aluminum
PROGRAM NO : 1008
DWGNO:8
SL.NO 0peration
Tool
Tool
Tool
Tool
Spindle
Feed,
Holder
Tip
Station
Offset
Speed, mm/min
No
No
rDm
I
Taper
SDJCR DCMT
I
t200
35
Turning
t2t2Htl
I1T304
TOOL OFFSETSH ET
Tool offsetNo.
Compensations,mm
X
I
(DrawingNo.8
(CNCprogramfor TaperTurning
o1008
IBTLLETX22 260
G2l G98
G28UOWO
M06 T0303
M03 51200
G00x22zl
G90X22Z-54F35
x2l
x2a
Standard Tool
Number
R
0.4
ProgramNumber 1008
DefiningBillet sizedia :22length 60 mm
Initial settings
Going to home position
SelectingTool No. 3 with offset No 3
Settingspindlespeedat 1200rpm
Tool moving to tool entry point X22 Zl
G90 StepTurning cycle
G90 code Svntax : G90 X Z F
xl9
xl8
xl7 z-6
xl6
x15
DEPARTMENT OF MECHANICAL ENGINEERING,K.S.I.T, BANGALORE-62
69
CAD/CAM LABORATORY
MBL58
xt4
xl3
xt2
xll
xt0
X9
G00xl8 2-6
G9OX18Z-21ROF3O
xl8 R-0.5
xl8 R-l
xl8 R-I.5
xr8 R-2
xl8 R-2.5
x18R-3
xl8 R-3.5
xl8 R-4
xl8 R-4.5
G 0 lx l S z - 3 3
G90X18Z-48R0F50
xl7 R0.5
X I 6R l
xl5 Rl.5
XI4 R2
xl3 R2.5
XI2 R3
xl l R3.5
XIOR4
x9 R4.5
G00xt 8 z-48
G90Xl8 z-54F30
xt7
xl6
xl5
x14
xl3
xt2
xll
TaperTurning- G90RR:(D 1-DF)/2
:(9-t8)t2
:- 9/2: - 4.5
Dl
TaperTurning- G90R+
l8Dl
R:(Dl-DFy2
:(18-9)t2
: 9 / 2 =4 . 5
TaperTurning- G90
xr0
X9
G28U0 W0
M05
M30
Going to home position
Stop the spindie
Program
and rewind.
DEPARTMENT OF MECHANICAL ENGINEERING,K.S.I.T, BANGALORE-62
70
CAD/CAM LABORATORY
MEL58
G71 MULTIPLE TURNING
Description
This multiple turning cycle is
usedwhen the major direction
of cut is along the 'Z' axis.
This cycle causesthe profile
to be roughed out by turning.
Control passeson to after the
last block of the profile. Two
G71 blocks are needed to
Jpqqiryall the values.
Illustration
G7l U(*ul) R
GTIPQU(*u2)WFST
Whereul - Depth of cut (RadiusDesignation).
R- Relief amount,F - Feedrate, S - Speed
P- Line or block numberof the start of the final profile.
Q- Line or block numberof the end point of the final
profile,T-Tool number.
U2 - Finishingallowancein the X axis.
W- Finishingallowancein the Z axis.
G7OFINISHING CYCLE
Description
On completion of roughing out operation
usingcyclesG7l, G72 or G76,the material
left as a finishing allowances is removed
using the finishing cycle G70. the tool path
program used as the finishing cycle are the
same programming lines that the roughing
cycle is based on. A G70 cycle causesa
rangeof blocks to be executed,then control
lglses to the block after the G70.
Illustration
N40c7l U( *ul) R
N50c7l P60 Ql20 U(*u2) W F S
Nr30c70 P60Ql20
The 'P' and 'Q' valuesspecifresthe .N,
block numbersat the start and end of the
profile.
MULTIPLE TURNING
Write a manual part program for Multiple Turning Operation for the component
shown in figure below.
-+e0-- fit0------
DWG. NO. g
DEPARTMENT OI' MECHANICAL ENGINEERING,K.S.I.T, BANGALORE-62
71
CAD/CAM LABORATORY
PLANNINGANDOPEM
BILLET SIZE :32 x 60
MATERIAL : Aluminum
PROGRAM NO : 1009
D W GN O : 9
Tool I Spindte
Offset j Speed,
SDJCR
t2t2Ht1
Finishing SDJCR
tzt2Ht1
Tool offset No.
TOOL OF'FSETSHEET
Compensations,mm
Standard Tool
Number
(Drawing No.9
(CNCprogramfor Multiple Turning
o1009
IBILLET){32 Zj60
G21c98
G28U0 w0
M06T0303
M03s1200
G00x32 Zl
(G7I MULTIPLETURNING
ProgramNumber 1009
DefiningBillet sizedia : 32 length60 mm
Initial sertings
Going to home position
SelectingTool No. 3 with offset No 3
Settingspindlespeedat 1200rpm
Tool moving to tool entry point X32 Zl
(Depthof cut for eachpassU:0.5 mm
(ReliefamountR: 1.0mm
(PandQ : Beginningandendof cyclesequence
Nos.
(Allowances
on X(U) andZ(W) axis:0.1mm respectively.
(Feedrate:35mm/min.
G7l u0.5Rl
G 7 l P l 0 Q2 0u 0 .l w 0 .1F 3 5
N l O c Ol z0
GOIZO
G Oxl l o z - 1 0
G0lz-r5
G02X20z-25 Rt}
G}rz-30
G03x25 Z-37Rr}
G}t z-42
x30 z-47
N20z-52
DEPARTMENTOF MECHANICAL ENGINEBRTNG,
K.S.I.T, BANGALORE-62
1)
CAD/CAM LABORATORY
MEL58
G28U0 W0
M06T0202
M03S14s0
G00x32 zr
G70Pl0 Q20F2s
G28U0W0
M05
M30
UsingRH Finishingtool.
Going to home position
Stop the spindle
Programstop and rewind.
G75 EXTERNAL GROOVING CYCLE
Description
This cycle is designed for Outer/ Inner
diameter drilling. The drill entering the
workpieceby a predeterminedamount then
backing off by another set amount to
provide breaking and allowing swarf to
clear the drill flutes. The cycle is
commandedby two distinct lines of data.
Illustration
G75 R
G7s X(u) Z(w) P Q F
WhereR-Returnamount
X - Total depth along X axis(absolute)
U - Total depth along X axis(Incremental)
Z -Total width along Z axis(absolute)
W - Total width along Z axis (Incremental)
P - Peck incrementin X axis in microns.
Q - SteppingdistanceinZaxis in microns.
F- Feedrate in mm.
EXTERNAL GROOVING
Write a manual part program for External Grooving Operation for the componentshown
in figure below.
J
4E--q
I
{A tl
0--
I -rl
t-
7--4
-??+
DWG.NO.r0
DEPARTMENT OF MECHANICAL ENGINEERING,K.S.I.T, BANGALORE-62
CAD/CAM LABORATORY
MEL58
PLANNING AND OPERATIONSSHEET
BILLET SIZE :22 x 60
MATBRIAL: Aluminum
PROGRAMNO : l0l0
DWG NO : 10
SL.NO Operation
Tool
Tool
Tool
Tool
Spindle
Feed,
Holder
Tip
Station
Offset
Speed, mm/min
No
No
rpm
Multiple
SDJCR DCMT
I
I
1200
45
Rough
IzLzHI1 r 1T304
tuming
Finishing SDJCR
r2r2Htl
a
J
Grooving
Tool offset No.
HSS
DCMT
I1T302
1450
25
3mm
width
750
l5
TOOL OFFSETSHEET
Compensations,
mm
Toolnose
Radius,mm
2
5
(DrawingNo.10
(CNC programfor Multiple Tuming
o1010
IBTLLET){22 260
G21c40 c98
G28U0 W0
M 0 6T0 i 0 l
M 0 3 51 2 0 0
G00x22 zl
G 7 l U0 .5R l
G 7 l Pl 0 Q2 0u 0 .l w 0 .l F 4 5
N 1 0G O lx 8
GOTZO
Standard Tool
Number
R
0.4
0.2
a
J
a
J
ProgramNumber 1010
Defining Billet size dia :22length60 mm
Initial settings
Going to home position
SelectingTool No. 1 with offserNo I
Settingspindlespeedat 1200rpm
Tool moving to tool entrypoint X22 Zl
MULTIPLE TURNING
xrDz-r
z-22
xt& z-29
N20 Z-38
G28U0 W0
M06 T0202
M 0 3S1 4 5 0
G00x22 zl
G70P10Q20F25
G28U0 W0
M06T0505
M03 5750
CALLING FINISHINGTOOL
CallingFinishingcycle.
GROOVINGOPERATIONUSTNG
G8I
Calling3 mm GROOVINGTOOL
G00xt2 z-22
DEPARTMENTOFMECHANICALENGINEERING,K.S.I.T, BANGALORE-62
74
CAD/CAM LABORATORY
MEL58
G 8 1X 1 0F 2 0
x9.75
x9.5
x9.25
X9
x8.75
x8.5
x8.25
X8
G00xl9 z-34
G 7 5R I
G 7 5X 1 6W - 2P 1 0 0Q 1 5 0 0
Fls
GROOVINGUSTNGG75CYCLE
(Reliefamount,R:1.0 mm.
(Depthof Groove,X:2mm.
(P- PeckincrementalongX axis 0.1 mm: 100Microns.
(Q - Steppingdistancealong Z axis 1.5mm : 1500Microns.
G28U0 W0
M05
M30
Going to homeposition
Stop the spindle
m stop and rewind.
G76 MULTIPLE THREADING CYCLE
Description
This is a "Box type" cycle that is
repeateda given number of times.
After the first pass subsequent
passes cut with one edge of the
threading tool only to reduce the
load at the tool tip. This cycle
requirestwo distinct blocks of data.
When the cutting depthof one cycle
becomessmaller than the limit, the
actual amount of cut is clamped at
the minimum cut depth.
Illustration
G76 P(m)(r)(a)Q(ql)(rl)
G76 X(x) Z(z) P(p2) Q(qZ) F
Wherem - Repetitivecount in finishing (l to 99)
r - Chamferingamoun(0.O1to 9.91)
a - Angle of tool tip1800,600
& 0o)
,550,300,290
ql - Minimum cuttingdepth.
Rl - Finishingallowance.
x - Finisheddepthof thread
z-End positionof thread
p2 - Height of the threadas a radiusvalue x 1000.
as the controlleracceptsthis value in microns.Eg.
1.02mm becomesP1020
q2 - Depthof first cut as a radiusvalueX 1000,
value in microns, F- Lead or pitch of thread.
DEPARTMENT OF MECHANICAL ENGINEERING,K.S.I.T. BANGALORE-62
CAD/CAM LABORATORY
MEL58
EXTERNAL MULTIPLE THREADING
Write a manual part program for External Threading
operation for the component
shown in figure below.
PLANNING AND OPERATIONSSHEET
BILLET SIZE :22 x 60
MATERIAL : Aluminum
PROGRAMNO : t0ll
D W GN O : 1 1
SDJCR
t2t2Htl
Finishing
SDJCR
r2r2Htl
Tool offset No.
TOOL OFFSETSHEET
Compensations,mm
X
2
5
7
(DrawingNo .ll
(CNCprogramfor MultipleTurning
0 1 0 lI
IBTLLETX22 260
G2t c98
G28U0 w0
M06T0l0l
M03S1200
j ' -
:
:
Toolnose
Radius' mm
Standard Tool
Number
Z
0.4
a
J
0.2
5
8
Program
Number101I
DefiningBilletsizedia :22length60mrn
Initial settings
Goingto homeposition
SelectingTool No. I with offset No I
Settinespindle
at 1200rom
DEPARTMENT OF MECHANICAL ENGINEERING,K.S.I.T,
BANGALORE-62
76
CAD/CAM LABORATORY
G00x22zl
G7t U0.5Rl
G 7 1P 1 0Q2 0U 0 .l w 0 .1 F 3 5
N 1 0G 0 1X l O
GOIZO
MEL58
Tool movingto tool entrypoint X22 Zl at
rapidtraverse.
MULTIPLETURNING
xt2 z-I
z-20
G02X16 Z-30R25
G}t z-40
G03X22 Z-50 P.25
N20G01Z-55
G28U0 W0
M06 T0202
M 0 3Sl 4 s0
G00x22zl
G70P10Q20F2s
G28U0 W0
M06 T0s05
M03 5650
CALLING RH FINISHINGTOOL
FINISHINGOPERATION
CALLING2mm Width Groovinstool
G00xr3 z-20
G81X12Z-20F25
x11.75
xl1.5
xl1.25
xll
x10.75
GROOVINGOPERATIONG75
xl0.s
x10.25
xl0
x9.75
X9
G28U0 W0
M06T0707
G00xt7 223
G76P031560
Q20R0.15
CALLING THREADINGTOOL
MULTIPLETHREADINGCYCLE.
G76X9.853Z,r9 Pr073Q30F1.75
(03- Numberof passes
for finishingoperation
(15- chamferamountor pull out angle
(60- Angleof thethread,deg
:250
(Q Minimumcuttingdepth
microns( .25mm)
(R - Finishing
allowances0.15mm (X - Corediameter:9.853mm for Ml2
(z-Lenglh of thread:19mm
(P - Heightof thread: 1073microns(1.073mm)
(Q - Depthof cut for first pass: 300microns(0.3mm)
(F - Pitchof thethread: 1.75mm
G28U0 W0
N405
M30
Goingto homeposition
Stop the spindle
and rewind.
DEPARTMENT OF MECHANICAL ENGINEERING,K.S.I.T, BANGALORE-62
CAD/CAM LABORATORY
MEL58
G74 END FACE PECK DRILLING
lllustration
This cycle is aesign@
G74 R(rl)
drilling,the drill enteringthe workpieceby G74z(w)
Q(fl R(r2)F
a predetermined
amount then backing off
by another set amount to provide breiking
and allowing swarf to clear the drill flutes.
The cycle is commandedby two distinct
lines of data
Whererl - Return amount
Z - T otal depth(absolute)
W - Total depth (lncremental)
q -_Depthof cut (incremental,unsigned)
F- Feedrate
PECK DRILLING
write a manual part program for Peck drilling
operation fbr the componentshown in
figure below.
DWG. NO. 12
PLANNING AND OPERA-IONS SHEET
BILLET SIZE :32 x 60
MATERIAL: Aluminum
PROGRAMNO : 1012
D W GN O : 1 2
Drilli
Tool offset No.
TOOL OFFSBTSHEET
Compensations,mm
Toolnose
I StandardTool
Radius,mm I
Number
DEPARTMENT OF MECHANICAL ENGINEERING,
K.S.I.T, BANGALORE-62
78
CAD/CAM LABORATORY
MEL58
(Drawing No .12
(CNC programfor Drilling operation- G74 CYCLE
ol0l I
ProgramNumber l0l2
DefiningBillet sizedia : 32 length60 mm
IBILLETx32 Z,60
G2l G98
Initialsettinss
G28U0 W0
Goingto horie position
M06 T0606
Using6 mm centerdrill with tool no 6.
M03 51200
Settingspindlespeedat 1200rpm
G00X0 Z2
Tool movingto tool entrypointX0 Z2
G74Ri
PECKDRILLTNG
CYCLE
G74X0 Z-5 Q500F20
(R: Reliefamount: 1.0mm
(X, Z = Positionof the bottomof thehole0, -5
(Q : Depthof cut for eachpass- 500microns(0.5mm)
G28U0 W0
M06 T0808
Usins12mm drill.
M03 5800
G00x0 z2
G74RI
G74X0 Z-3sQs00F20
G28UOWO
M05
M30
Going to home position
Stopthe spindle
am stopand rewind.
STEPBORING
Write a manual part program for Step Boring operation for the componentshown in
figure below.
DWG. NO. 13
DEPARTI\{BNTOF MECHANICAL ENGINEERING.K.S.I.T. BANGALORE-62
CAD/CAM LABORATORY
MEL58
PLANNING AND OPERATIONSSHEET
BILLET SIZE : 32 x 60
MATERIAL : Aluminum
PROGRAMNO : 1013
DWG NO : 13
Tool I Tool
Station I Offset
Drilling
TOOL OFFSETSHEET
Tool offset No.
Compensations,mm
Standard Tool
Number
(Drawing No.l3
(cNC programfor Internaloperation,FaceDrilling, stepboringcycle
01013
program
Numberl0l3
[BILLET X32 260
DefiningBiltetsizedia : 32 tength60 mm
G2l G98
Initialsettinss
G28U0 W0
Goingto horie position
M06 T0606
Using6 mm..nt., drill with toolno 6.
M03 S1200
Settingspindlespeedat 1200rpm
G00X0 Z2
Tool movingto tool entrypoiniX0 22 at
rapidtraverse'
G74Rl
G74X0Z-5 Q500R0 F20
(R: Reliefamount: 1.0mm
(X,Z= Positionof thebottomof hole(0,-5)
(Q: Depthof cut for eachpass- 500microns(0.5mm)
(R = Reliefamountfor thetool at the bottomof thehole:0.0 mm
G28U0 W0
M06 T0808
Usingl2 mm drill.
M03 5800
G00xr2zl
G74RI
G74XAZ-3sQs00R0F15
G28U0 W0
},/.06T0202
M0351200
CALLING 10MM DIA BORINGTOOL
DEPARTMENT OF MECHANICAL ENGINEERING,K.S.I.T, BANGALORE-62
80
CAD/CAM LABORATORY
MEL58
GOOXI2ZL
G 9 0X 1 2Z -3 0 F 2 0
TNTERNALBORINGUSINGG9O
x13
xt4
xl5
xr6 z-20
xr7
xl8
xl9
x20
G28U0 W0
M05
M30
Going to homeposition
Stop the spindle
Programstopand rewind.
BORING
Write a manual part program for Boring operation for the componentshown in figure
below.
--$1.?-E'16-fr20--fi
DWG.NO. 14
PLANNING AND OPERATIONSSHEET
BILLET SIZE : 32 x 60
I uararunl-: ar"minum
PROGRAMNO : 1014
I D W GN O : 1 4
SL.NO Operation
Tool
Tool
Tool
Tool
Spindle
Feed,
Holder
Tip
Station
Offset
Speed, mm/min
No
No
I
Drilling
l 2 mm
8
8
700
l5
Drill
Boring
l0 mm
800
I
I
20
TOOL OFFSETSHBET
Tool offset No.
Compensations,mm
X
8
I
Toolnose
Radius. mm
R
Standard 1'ool
Number
0.4
8
9
DEPARTMENTOF MECHANICAL ENGINEERING,K.S.I.T, BANGALORE-62
81
CAD/CAM LABORATORY
MEL58
(Drawing No.l4
(CNCprogramfor Internaloperation,Boringcycle
Ol0l4
program
Numberl0l4
IBILLETX32 260
DefiningBillet sizedia : 32 length60 mm
G21G98
Initialiettings
G28U0 W0
Goingto horie position
M06 T0606
Using6 mm
drill with tool no 6.
M03 S1200
""r,t..
Settingspindle
speedat 1200rpm
G00X0 Z2
foot rnovlngto tool entrypointX0 22 at
raPidtraverse'
G74Rl
G74X0Z-s Q500Fls
(R : Reliefamount: 1.0mm
(X, Z : Positionof the bottom of hole (0,_5)
(Q : Depth of cut for eachpass- 500 microns(0.5
mm)
G28U0 w0
M06 T0808
M03 5700
Usingt2 mm drill.
G00xt2zr
G74RI
G74X0z-35Qs00R0 Fl5
G28U0 W0
M 0 6T 0 1 0 1
M03 5800
CALLTNGIO MM DIA BORINGTOOL
G00xt2zl
G71U0.2R0.5
G7l Pl0Q20u0.l w0.1F20
NlOcOl x30
G02X25Z-8R8Fl5
G}t z-16F20
G03x20z-21R8Fl5
G()lx16 z-3t F20
N20cOl xl2
G70PlOQ20FsO
G28U0 W0
M05
M30
BORINGOPERATION
CALLING FINISHINGCYCLE.
Goingto homeposition
Stopthespindle
-------- Programstop and rewind.
DEPARTMENT OF MECHANICAL ENGINEERTNG,K.S.I.T,
BANGALORE-62
82
CAD/CAM LABORATORY
MEL58
SUBPROGRAMCALL / EXIT - M98 ID.{99
Main Program
A Program is divided into a main program and
subprogram. Normally the CNC operates
according to the main program but when a
commandcalling a subprogram is encounteredin
the main program control is passed to the
subprogram. When a command indicating to
return to the main program is encounteredin the
subprogram, control is returned to the main
program.The first block of program/ subroutine
must contain a program number "O".
SubProgram
When a program contains certain
fixed sequencesor frequently
repeatedpatternsthesesequences
or
patternsmay be enteredinto memory
as a subprogramto simpli$r
programming.A subprogramcan call
anothersubprogram.When the main
programcall a subprogram,it is
regardedas a one-loopsubprogram
call.
Main program
Subprogram
01000;
0 0 0 01 ;
--------;
--------;
--. ----;
-------;
Subprogram
02000:
---------'
---------;
--"
---------;
M98 P2000; >
\
M98P1000;
---------'
---------;
M99;
M30;
---------;
---------;
\
\
M99;
l't Loop
Nesting
2ndLoop
Nesting
PARTING OFF
Write a manual part program for turning and parting off operation through
subprograms for the component shown in figure below.
---q
.+
--4
tr
DWG. NO. ls
DEPARTMENT OF MECHANICAL ENGINEERING,K.S.I.T, BANGALORE-62
83
CAD/CAM LABORATORY
PLANNING AND OPERATIONSSHEET
BILLET SIZE 222 x60
MATERIAL : Aluminum
PROGRAMNO : 1015
D W GN O : 1 5
Operation I Tool
Holder
SDJCR
L2t2Htr
TOOL OFFSETSHEET
Tool offset No.
Compensations,
mm
Standard Tool
Number
(Drawing No .15
(CNCprogramfor partingoff usingsubprograms
Ol0l5
Program
Numberl0l5
[BILLET X22 260
DefiningBillet sizedia : 22length60mm
G21G98
Initialsertinss
G28U0 W0
Goingto horie position
M06 T0l0l
UsingRH Roughing
tbol
M03 51000
Settingspindlespe"dut 1200,prn
G00X22 Z0
Tool movingto tool entrypoini X22Z0 at
rapidtraverse.
M98 P0101000
Callingsubprogram
for turningl01000]
l0 times
G00x22
z-ts
M98 P0061000
(PARTINGOFFOPERATION
G28U0 W0
M06 T0505
M03 5750
G00 x23 z-32
M98 P0421021
G00x22
G28U0W0
M05
M30
o1000
G 9 0U -l W-I5 F 4 5
G0l u-1
M99
o1021
G0l u-0.5F50
M99
Callingsubprogram
for turningl0l000]6 times
Calling grooving tool with Z mmwidth.
Callingsubprogram'1021' 42 times.
Going to homeposition
Stop the spindle
Programstop and rewind.
SUBPROGRAM FOR TURNING
SUBPROGRAMFORPARTING
DEPARTMENT OF MECHANICAL ENGINEERING,K.S.I.T, BANGALORE-62
84