CNC Turning Programming Exellent Explaination
CNC Turning Programming Exellent Explaination
CNC Turning Programming Exellent Explaination
MEL58
SIMPLE TURNING
a/
W'it"a manual part program for Simple Turning Operation for the component
shown in
figure below.
Simple
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.
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
u,w
[,K
R
Counterclockwisedirection
(ccw)
57
CAD/CAM LABORATORY
MEL58
GOa operaticrn
Machine with
tool post
CONTOURTNG
Write a manual part program for Linear and Circular Contour Operation for the
componentshown in figure below.
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.
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.
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
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
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
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
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
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.
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
65
CAD/CAM LABORATORY
MEL58
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.
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
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
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- G90R+
l8Dl
R:(Dl-DFy2
:(18-9)t2
: 9 / 2 =4 . 5
TaperTurning- G90
xr0
X9
G28U0 W0
M05
M30
70
CAD/CAM LABORATORY
MEL58
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
MULTIPLE TURNING
Write a manual part program for Multiple Turning Operation for the component
shown in figure below.
-+e0-- fit0------
DWG. NO. g
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 OF'FSETSHEET
Compensations,mm
Standard Tool
Number
(Drawing No.9
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
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.
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
CAD/CAM LABORATORY
MEL58
Finishing SDJCR
r2r2Htl
a
J
Grooving
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.
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.
CAD/CAM LABORATORY
MEL58
SDJCR
t2t2Htl
Finishing
SDJCR
r2r2Htl
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
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.
CAD/CAM LABORATORY
MEL58
PECK DRILLING
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 OFFSBTSHEET
Compensations,mm
Toolnose
I StandardTool
Radius,mm I
Number
CAD/CAM LABORATORY
MEL58
(Drawing No .12
(CNC programfor Drilling operation- G74 CYCLE
ol0l I
ProgramNumber l0l2
G00x0 z2
G74RI
G74X0 Z-3sQs00F20
G28UOWO
M05
M30
STEPBORING
Write a manual part program for Step Boring operation for the componentshown in
figure below.
DWG. NO. 13
CAD/CAM LABORATORY
MEL58
Drilling
TOOL OFFSETSHEET
Tool offset No.
Compensations,mm
Standard Tool
Number
(Drawing No.l3
G00xr2zl
G74RI
G74XAZ-3sQs00R0F15
G28U0 W0
},/.06T0202
M0351200
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
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
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
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
82
CAD/CAM LABORATORY
MEL58
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:
---------'
---------;
--"
---------;
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
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
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
84