Date post: | 21-Feb-2018 |
Category: |
Documents |
Upload: | revana-kadur |
View: | 220 times |
Download: | 0 times |
of 91
7/24/2019 CNC1.ppt
1/91
Prepared by
Revanasiddheswara. K
7/24/2019 CNC1.ppt
2/91
Motivation and uses
To manufacture complex curved geometries in 2D or 3D
was extremely expensive by mechanical means which
usually would re!uire complex "igs to control the cutter
motions#
$achining components with repeatable accuracy
%nmanned machining operations
7/24/2019 CNC1.ppt
3/91
Advantages of CNC
& 'asier to program(
& 'asy storage of existing programs(
& 'asy to change a program
& )voids human errors
& safer to operate
& *omplex geometry is produced as cheaply as simple ones
& %sually generates closer tolerances than manual machines
7/24/2019 CNC1.ppt
4/91
+ertical $illing machine architecture
Conventional milling machines
7/24/2019 CNC1.ppt
5/91
Types of CNC machines
Based on Motion Type:
Point&to&Point or *ontinuous path
Based on Control Loops:
,pen loop or *losed loop
Based on Power Supply:
'lectric or -ydraulic or Pneumatic
Based on Positioning System
ncremental or )bsolute
7/24/2019 CNC1.ppt
6/91
/asic *0* Principles1 %sing a vertical mill
machining center as an
example there are typically
three linear axes of motion.
'ach is given an alphabeticdesignation or address. The
machine table motion side to
side is called the 45 axis.
Table movement in and out
is the 65 axis while headmovement up and down the
column is the 75 axis.
7/24/2019 CNC1.ppt
7/91
/asic *0* Principles
*oordinates 8ystem
Absolute Coordinate System Incremental Coordinate Syst
7/24/2019 CNC1.ppt
8/91
Basic CNC Principles
All computer controlled machines are able to accurately andrepeatedly control motion in various directions. Each of thesedirections of motion is called an axis. Dependin on themachine type there are commonly t!o to "ve axes.
Additionally# a CNC axis may be either a linear axis in !hich
movement is in a straiht line# or a rotary axis !ith motionfollo!in a circular path.
7/24/2019 CNC1.ppt
9/91
Basic CNC Principles
If a rotary table is added to the machine table#then the fourth axis is desinated the $b% axis.
7/24/2019 CNC1.ppt
10/91
-ow *0* 9or:s
1 *ontrolled by ; and $ codes.
1 These are number values and co&ordinates.
1 'ach number or code is assigned to aparticular operation.
1 Typed in manually to *)D by machine
operators.1 ;
7/24/2019 CNC1.ppt
11/91
=eatures of *0* $achinery
1 The tool or material moves.
1 Tools can operate in >&? axes.
1 @arger machines have a machine control unit$*%# which manages operations.
1 $ovement is controlled by a motors actuators#.
1 =eedbac: is provided by sensors transducers#1 Tool magaAines are used to change tools
automatically.
7/24/2019 CNC1.ppt
12/91
Tools
1 $ost are made from
high speed steel -88#
tungsten carbide or ceramics.1 Tools are designed to direct waste away from
the material.
1 8ome tools need coolant such as oil to protectthe tool and wor:.
http://images.google.co.uk/imgres?imgurl=http://www.simplycnc.com/image/wm16.gif&imgrefurl=http://www.simplycnc.com/&h=445&w=343&sz=55&hl=en&start=5&um=1&tbnid=Il_lh_ZafVFP0M:&tbnh=127&tbnw=98&prev=/images%3Fq%3Dcnc%2Bmilling%2Bmachine%2Btools%26svnum%3D10%26um%3D1%26hl%3Den7/24/2019 CNC1.ppt
13/91
Tool Paths *utting
and Plotting $otions1 Tool paths describes the route the cutting tool ta:es.
1 $otion can be described as point to point straight cutting orcontouring.
1 8peeds are the rate at which the tool operates e.g. rpm.
1 =eeds are the rate at which the cutting tool and wor: piecemove in relation to each other.
1 =eeds and speeds are determined by cutting depth material and
!uality of finish needed. e.g. harder materials need slowerfeeds and speeds.
1 Rouging cuts remove larger amounts of material than finishingcuts.
1 Rapid traversing allows the tool or wor: piece to move rapidly
when no machining is ta:ing place.
7/24/2019 CNC1.ppt
14/91
Manual NC programming
Part programB ) computer program to specify
& 9hich tool should be loaded on the machine spindle(
& 9hat are the cutting conditions speed feed coolant ,0C,== etc#
& The start point and end point of a motion segment
& how to move the tool with respect to the machine.
Standard Part programming languageB R8 2E&D ;erber ;0&code#
7/24/2019 CNC1.ppt
15/91
History of CNC
The R82E&D is a wordaddress format
'ach line of program FF > block
'ach bloc: is composed of several instructions or words#
8e!uence and format of wordsB
03 ;2 4G>.E 6G>.E 7G>.E >.E H>.E K>.E =3.2 8E TE $2
se!uence no
preparatory function
destination coordinates dist to center of circle
feed rate spindle speed
tool
,ther function
7/24/2019 CNC1.ppt
16/91
Manual Part Programming !ample
Tool siAe F I.2? inch
=eed rate F J inch per minute
*utting speed F 3II rpm
Tool start positionB 2.I 2.I
Programming in inches
E E#
2 2#
?5
pI
p>
p2
?5
2.?5
>5
E?
p3pE
p?
$otion of toolB
pIp>p2p3pEp?p>pI
7/24/2019 CNC1.ppt
17/91
8pindle **9
E E#
2 2#
?5
pI
p>
p2
?5
2.?5
>5
E?
p3pE
p?
"# Set up the programming parameters
0I>I ;I ;LI ;LE ;L $IE
Programming in inches
%se absolute coordinates
8pindle speed in rpm
=eed in ipm
7/24/2019 CNC1.ppt
18/91
=lood coolant ,0
E E#
2 2#
?5
pI
p>
p2
?5
2.?5
>5
E?
p3 pE p?
$# Set up the machining conditions
0I2I ;> ;? =J.I 83II T>II> $IM
$achine moves in 46&plane
=eed rate
Tool no.
8pindle speed
%se full&circle interpolation
7/24/2019 CNC1.ppt
19/91
E E#
2 2#
?5
pI
p>
p2
?5
2.?5
>5
E?
p3 pE p?
%# Move tool from p& to p" in straight line
0I3I ;I> 43.M? 63.JLM
@inear interpolation
target coordinates
7/24/2019 CNC1.ppt
20/91
E E#
2 2#
?5
pI
p>
p2
?5
2.?5
>5
E?
p3 pE p?
'# Cut profile from p" to p$
0IEI ;I> 43.M? 6L.>2?
@inear interpolation
target coordinates
0IEI ;I> 6L.>2?
4&coordinate does not changeno need to program it
or
7/24/2019 CNC1.ppt
21/91
E E#
2 2#
?5
pI
p>
p2
?5
2.?5
>5
E?
p3 pE p?
(# Cut profile from p$ to p%
0I?I ;I> 4?.J3E 6L.>2?
@inear interpolation
target coordinates
>5
p3
.>2?
x y#
J.? L#
y F L G I.>2? F L.>2?
J.? & x#2G I.>2?2F > & I.>2?#2
x F ?.J3E
7/24/2019 CNC1.ppt
22/91
coordinates of center of circleE E#
2 2#
?5
pI
p>
p2
?5
2.?5
>5
E?
p3 pE p?
)# Cut along circle from p% to p'
0IJI ;I3 4.3JJ 6L.>2? J.? HL.I
circular interpolation **9 motion
target coordinates
7/24/2019 CNC1.ppt
23/91
E E#
2 2#
?5
pI
p>
p2
?5
2.?5
>5
E?
p3 pE p?
*# Cut from p' to p(
0II ;I> 4L.3I2
target coordinates 6 is unchanged#
@inear interpolation
7/24/2019 CNC1.ppt
24/91
E E#
2 2#
?5
pI
p>
p2
?5
2.?5
>5
E?
p3 pE p?
+# Cut from p( to p"
0IMI ;I> 43.M? 63.JLM
target coordinates see step 3#
@inear interpolation
7/24/2019 CNC1.ppt
25/91
E E#
2 2#
?5
pI
p>
p2
?5
2.?5
>5
E?
p3 pE p?
,# -eturn to home position. stop program
0ILI ;I> 42.I 62.I $3I
end of data
target coordinates see step 3#
@inear interpolation
0>II $II
program stop
7/24/2019 CNC1.ppt
26/91
*0* Programming /asics
1 *0* instructions are called part program commands.
1 9hen running a part program is interpreted one command line
at a time until all lines are completed.
1 *ommands which are also referred to as bloc:s are made upof words which each begin with a letter address and end with a
numerical value.
7/24/2019 CNC1.ppt
27/91
*0* Programming /asics
1 'ach letter address relates to a specific machine function. ;5
and $5 letter addresses are two of the most common. ) ;5
letter specifies certain machine preparations such as inch or
metric modes or absolutes versus incremental modes.
1 ) $5 letter specifies miscellaneous machine functions and
wor: li:e onCoff switches for coolant flow tool changing or
spindle rotation. ,ther letter addresses are used to direct awide variety of other machine commands.
7/24/2019 CNC1.ppt
28/91
CNC programming
mportant things to :nowB
1 *oordinate 8ystem
1 %nits incremental or absolute positioning
1 *oordinatesB 467 R4R6R7
1 =eed rate and spindle speed
1 *oolant *ontrolB ,nC,ff =lood $ist
1 Tool *ontrolB Tool and tool parameters
7/24/2019 CNC1.ppt
29/91
1 Programming consists of a series of instructions in form of letter codes
1 Preparatory *odesB
1 ; codes& nitial machining setup and establishing operating conditions
1 0 codes& specify program line number to executed by the $*%
1 )xis *odesB 467 & %sed to specify motion of the slide along 4 6 7
direction
1 =eed and 8peed *odesB = and 8& 8pecify feed and spindle speed
1 Tool codesB T N specify tool number
1 $iscellaneous codes N $ codes =or coolant control and other activities
CNC programming
7/24/2019 CNC1.ppt
30/91
Programming Key @etters
1 , & Program number %sed for program identification#
1 0 & 8e!uence number %sed for line identification#
1 ; & Preparatory function
1 4 & 4 axis designation
1 6 & 6 axis designation
1 7 & 7 axis designation
1 R & Radius designation
1 = N =eed rate designation
1 8 & 8pindle speed designation1 - & Tool length offset designation
1 D & Tool radius offset designation
1 T & Tool Designation
1 $ & $iscellaneous function
7/24/2019 CNC1.ppt
31/91
'xplanation of commonly used ;
codes1 ;II N Preparatory code to control final position of the tooland not concerned with the path that is followed in arriving at
the final destination.
1 ;I> N Tool is re!uired to move in a straight line connectingcurrent position and final position. %sed for tool movement
without any machining& point to point control. linear
interpolation#
1 ;I2 N Tool path followed is along an arc specified by H andK codes. circular interpolation#
7/24/2019 CNC1.ppt
32/91
Table of mportant ; codes
;II Rapid Transverse
;I> @inear nterpolation;I2 *ircular nterpolation *9
;I3 *ircular nterpolation **9
;> 46 Plane;>M 47 Plane;>L 67 Plane
;2IC;I nch units
;2>C;> $etric %nits;EI *utter compensation cancel
;E> *utter compensation left
;E2 *utter compensation right
;E3 Tool length compensation plus#
;E3 Tool length compensation plus#
;EE Tool length compensation minus#
;EL Tool length compensation cancel
;MI *ancel canned cycles
;M> Drilling cycle
;M2 *ounter boring cycle
;M3 Deep hole drilling cycle
7/24/2019 CNC1.ppt
33/91
Table of mportant $ codes1 $II Program stop
1 $I> ,ptional program stop
1 $I2 Program end
1 $I3 8pindle on cloc:wise
1 $IE 8pindle on countercloc:wise1 $I? 8pindle stop
1 $IJ Tool change
1 $IM *oolant on
1$IL *oolant off
1 $>I *lamps on
1 $>> *lamps off
1 $3I Program stop reset to start
7/24/2019 CNC1.ppt
34/91
&ptimum machine prorammin re'uires consideration ofcertain machine operatin parameters includin() Positionin control) Compensations
) Special machine features
Positionin control is the ability to proram tool and machineslide movement simultaneously alon t!o or more axes.Positionin may be for point*to*point movement or for
contourin movement alon a continuous path. Contourinre'uires tool movement alon multiple axes simultaneously.+his movement is referred to as $Interpolation% !hich is theprocess of calculatin intermediate values bet!een speci"cpoints alon a prorammed path and outputtin those values asa precise motion. Interpolation may be linear havin ,ust a start
and end point alon a straiht line# or circular !hich re'uires an
Proram Command Parameters
7/24/2019 CNC1.ppt
35/91
Rules for programming
Block Format
N-/ 01- 2-.1 3-.1 41.-5/ 6/
Sample Block) 7estrictions on CNC bloc8s) Each may contain only one tool move) Each may contain any number of non*tool move 0*codes
) Each may contain only one feed rate) Each may contain only one speci"ed tool or spindlespeed) +he bloc8 numbers should be se'uential) Both the proram start 9a and the proram number
must beindependent of all other commands :on separate lines;
7/24/2019 CNC1.ppt
36/91
APT Programming !ampleCylindrical Part
25
22.5
17.5
20
Raw $aterial
=inished Part
70
0
7/24/2019 CNC1.ppt
37/91
APT Programming !ample /Cylindrical Part)
&11-
N111/ 0/N11-1 +11N1151 0/< 011 25=.11 41.1 S/11 >1?N111 01- 2*1.51 6-11
N11?1 011 45.1N11/1 2/1.1 4/1.1N11=1 +1?1?N11
7/24/2019 CNC1.ppt
38/91
APT Program 0nterpretation
O0013
Program identification number
7/24/2019 CNC1.ppt
39/91
APT Program 0nterpretation
1&&"%
N&&&( 2(%
To cancel any previous working 3ero point
7/24/2019 CNC1.ppt
40/91
APT Program 0nterpretation
1&&"%
N&&&( 2(%
N&&"& T&%&%
N&&"& Se4uence number
T&%&% Select tool number %&%
7/24/2019 CNC1.ppt
41/91
1&&"%
N&&&( 2(%
N&&"& T&'&'
N&&$& 2(* 2&& 5$)#& 6& S(&& M&'
2(* To set the working 3ero point as saved
2&& -apid movement /no cutting75$)#&Xlocation /as a diameter8 "% form 3ero7
6&Zlocation
S(&& Spindle speed is (&& rpm
M&' -otate spindle counterclockwise
APT Program 0nterpretation
!
"
II# Gve
Gve
7/24/2019 CNC1.ppt
42/91
O0013
N0005 G53
N0010 T0404N0020 G57 G00 X26.00 Z0.0 S500 M04N0030 G01 X-0.20 F100
2&" 9inear interpolation /cutting7
5:$& Move only in ! direction until you pass the center by " mm /facing7
;"&& Set feed rate to "&& mm
7/24/2019 CNC1.ppt
43/91
O0013N0005 G53
N0010 T0404
N0020 G57 G00 X26.00 Z0.0 S500 M04N0030 G01 X-0.20 F100N0040 G00 Z2.0
2&& Move rapidly away from work piece /no cutting7
6$#& the movement is $ mm away from the face#
APT Program 0nterpretation
7/24/2019 CNC1.ppt
44/91
O0013
N0005 G53
N0010 T0404
N0020 G57 G00 X26.00 Z0.0 S500 M04N0030 G01 X-0.20 F100N0040 G00 Z2.0N0050 X50.0 Z50.0
2o to a safe location away from theworkpiece =! > (& /$( from 3ero7. 3 > (&? to
change the tool#
APT Program 0nterpretation
7/24/2019 CNC1.ppt
45/91
O0013
N0005 G53N0010 T0404N0020 G57 G00 X26.00 Z0.0 S500 M04
N0030 G01 X-0.20 F100N0040 G00 Z2.0N0050 X50.0 Z50.0N0060 T0404
T&'&' Select tool number '&'
APT Program 0nterpretation
7/24/2019 CNC1.ppt
46/91
O0013N0005 G53
N0010 T0404N0020 G57 G00 X26.00 Z0.0 S500 M04N0030 G01 X-0.20 F100N0040 G00 Z2.0N0050 X50.0 Z50.0N0060 T0404N0070 G57 G00 X22.50 Z2.0 S500
2(* PS&2&& -apid movement /no cutting7
5$$#(&Xlocation /as a diameter8 ""#$( form 3ero7
6$#&Zlocation
S(&& Spindle speed is (&& rpm
APT Program 0nterpretation
7/24/2019 CNC1.ppt
47/91
1&&"%
N&&&( 2(%
N&&"& T&'&'
N&&$& 2(* 2&& 5$)#&& 6& S(&& M&'
N&&%& 2&" 5:$& ;"&&
N&&'& 2&& 6$#&
N&&(& 5(& 6(&
N&&)& T&'&'
N&&*& 2(* 2&& 5$(#&& 6$#& S(&& M&'
N&&+& 2&" 6:%& ;"&&
2&" 9inear interpolation /cutting7
6:%& Move only in 3 direction /e!ternal turning7
;"&& Set feed rate to "&& mm
7/24/2019 CNC1.ppt
48/91
1&&"%
N&&&( 2(%
N&&"& T&'&'
N&&$& 2(* 2&& 5$)#&& 6& S(&& M&'
N&&%& 2&" 5:$& ;"&&
N&&'& 2&& 6$#&
N&&(& 5(& 6(&
N&&)& T&'&'
N&&*& 2(* 2&& 5$(#&& 6$#& S(&& M&'
N&&+& 2&" 5$$#( 6:*& ;"&&
N&&,& 2&& 5$%#& 6$#& S(&&
2&& Move rapidly away from work piece /no cutting7 to
location !> $%#& /""#(& from 3ero7 and 3 > $#
APT Program 0nterpretation
7/24/2019 CNC1.ppt
49/91
1&&"%
N&&&( 2(%N&&"& T&'&'
N&&$& 2(* 2&& 5$)#&& 6& S(&& M&'
N&&%& 2&" 5:$& ;"&&
N&&'& 2&& 6$#&
N&&(& 5(& 6(&
N&&)& T&'&'
N&&*& 2(* 2&& 5$(#&& 6$#& S(&& M&'
N&&+& 2&" 5$$#( 6:*& ;"&&
N&&,& 2&& 5$)#& 6$#& S(&&
N&"&& 2+' 5"*#( 6:$& @&>$&& @$>$&& @%>)(&
2+' Turning cycle for machining the step
5"*#( final diameter
6:$& length of step is $& mm
@&>$&& ;inish allowance in 5 direction /$ mm7@$>$&& ;inish
allowance in 6 direction /$ mm7
@%>)(& @epth of cut in each pass /)( mm7
APT Program 0nterpretation
7/24/2019 CNC1.ppt
50/91
1&&"%
N&&&( 2(%
N&&"& T&'&'
N&&$& 2(* 2&& 5$)#&& 6& S(&& M&'
N&&%& 2&" 5:$& ;"&&
N&&'& 2&& 6$#&N&&(& 5(& 6(&
N&&)& T&'&'
N&&*& 2(* 2&& 5$(#&& 6$#& S(&& M&'
N&&+& 2&" 5$$#( 6:*& ;"&&
N&&,& 2&& 5$)#& 6$#& S(&&
N&"&& 2+' 5"*#( 6:$& @&>$&& @$>$&& @%>)(&
N&""& 2&& 6$#&
2&& Move rapidly away from workpiece /no cutting7
6$#& the movement is $ mm away from the face#
APT Program 0nterpretation
7/24/2019 CNC1.ppt
51/91
1&&"%N&&&( 2(%
N&&"& T&'&'
N&&$& 2(* 2&& 5$)#&& 6& S(&& M&'
N&&%& 2&" 5:$& ;"&&
N&&'& 2&& 6$#&N&&(& 5(& 6(&
N&&)& T&'&'
N&&*& 2(* 2&& 5$(#&& 6$#& S(&& M&'
N&&+& 2&" 5$$#( 6:*& ;"&&
N&&,& 2&& 5$)#& 6$#& S(&&N&"&& 2+' 5"*#( 6:$& @&>$&& @$>$&& @%>)(&
N&""& 2&& 6$#&
N&"$& 5(& 6(&
5(& 6(& Move to the tool changing location
APT Program 0nterpretation
7/24/2019 CNC1.ppt
52/91
1&&"%
N&&&( 2(%
N&&"& T&'&'
N&&$& 2(* 2&& 5$)#&& 6& S(&& M&'
N&&%& 2&" 5:$& ;"&&
N&&'& 2&& 6$#&N&&(& 5(& 6(&
N&&)& T&'&'
N&&*& 2(* 2&& 5$(#&& 6$#& S(&& M&'
N&&+& 2&" 5$$#( 6:*& ;"&&
N&&,& 2&& 5$)#& 6$#& S(&&
N&"&& 2+' 5"*#( 6:$& @&>$&& @$>$&& @%>)(&
N&""& 2&& 6$#&
N&"$& 5(& 6(& T&&
N&"%& M%&
M%& Program nd
APT Program 0nterpretation
7/24/2019 CNC1.ppt
53/91
Programming!ample
Raw $aterial =inishedPart
7/24/2019 CNC1.ppt
54/91
Programming !ample
2(( 5$&& +&
Program "
N&&" M&) T"
N&&$ M&% rpm '&&
N&&% 2&" 5:+ & 6& 5;eed "(&
N&&' 2&" 5:+ & 6:( 6;eed "(&
N&&( 2&" 5*& & 6:( 5;eed *(
N&&) 2&" 5*& )& 6:( 5;eed *(
N&&* 2&" 5%& )& 6:( 5;eed *(
N&&+ 2&" 5& '& 6:( 5;eed *(
N&&, 2&" 5& & 6:( 5;eed *(
N&"& 2+" -% , N* 6:(
N&"" M&(
N&"$ M&$
!
y
7/24/2019 CNC1.ppt
55/91
Programming!ample
Tool Change2(( 5$&& +&
Program $
N&&" M&) T$
N&&$ M&% rpm '&&
N&&% 2&" 5:+ & 6& 5;eed "(&N&&' 2&" 5$& "( 6"& 5;eed "(& 6;eed "(&
N&&( 2&" 5$& "( 6:"& 6;eed *(
N&&) 2&" 5$& "( 6"& 6;eed "(&
N&&* 2&" 5(& "( 6"& 6;eed "(&
N&&+ 2&" 5(& "( 6:"& 6;eed *(N&&, 2&" 5(& "( 6"& 6;eed "(&
N&"& 2&" 5(& '( 6"& 6;eed "(&
N&"" 2&" 5(& '( 6:"& 6;eed *(
N&"$ 2&" 5(& '( 6"& 6;eed "(&
N&"% M&(
N&"' M&$
!
y
7/24/2019 CNC1.ppt
56/91
Program 0nterpretation
G55 X200 !0
Setting the datum to the lower left corner of the work piece
7/24/2019 CNC1.ppt
57/91
Program 0nterpretation
G55 X200 !0"ro#ram 1
Program 0dentification Number
7/24/2019 CNC1.ppt
58/91
Program 0nterpretation
2(( 5$&& +&
Program "
N&&" M&) T"
N&&" Se4uence Number
M&) Tool Change /nd Mill with
@iameter>"$mm
T" Tool Number
7/24/2019 CNC1.ppt
59/91
Program 0nterpretation
G55 5$&&!0"ro#ram 1N001 M06 T1N002 M03 rpm 400
Start rotating the spindle clockwise with '&&
rpm
7/24/2019 CNC1.ppt
60/91
Program 0nterpretation
G55 5$&&!0"ro#ram 1N001 M06 T1
N002 M03 rpm 400N003 G01 X-! 0 Z0 XFee$ 150
2o to Safe Position with feed "(&mm
7/24/2019 CNC1.ppt
61/91
Program 0nterpretation
2(( 5$&& +&
Program "
N&&" M&) T"
N&&$ M&% rpm '&&
N&&% 2&" 5:+ & 6& 5;eed "(&N&&' 2&" 5:+ & 6:( 6;eed "(&
9ower the end mill to determine the depth of
cut
7/24/2019 CNC1.ppt
62/91
Program 0nterpretation
2(( 5$&& +&Program "
N&&" M&) T"
N&&$ M&% rpm '&&
N&&% 2&" 5:+ & 6& 5;eed "(&
N&&' 2&" 5:+ & 6:( 6;eed "(&N&&( 2&" 5*& & 6:( 5;eed *(
Move from the lower left corner
of the work piece to the right
lower one cutting withfeed>*(mm
7/24/2019 CNC1.ppt
63/91
Program 0nterpretation
2(( 5$&& +&
Program "
N&&" M&) T"
N&&$ M&% rpm '&&
N&&% 2&" 5:+ & 6& 5;eed "(&N&&' 2&" 5:+ & 6:( 6;eed "(&
N&&( 2&" 5*& & 6:( 5;eed *(
N&&) 2&" 5*& )& 6:( 5;eed *(
Move from the lower left corner of thework piece to the right lower one
cutting with feed>*(mm
7/24/2019 CNC1.ppt
64/91
Program 0nterpretation
2(( 5$&& +&
Program "
N&&" M&) T"
N&&$ M&% rpm '&&
N&&% 2&" 5:+ & 6& 5;eed "(&
N&&' 2&" 5:+ & 6:( 6;eed "(&N&&( 2&" 5*& & 6:( 5;eed *(
N&&) 2&" 5*& )& 6:( 5;eed *(
N&&* 2&" 5%& )& 6:( 5;eed *(
Cutting the hori3ontally up to5>%&
7/24/2019 CNC1.ppt
65/91
Program 0nterpretation
2(( 5$&& +&Program "
N&&" M&) T"
N&&$ M&% rpm '&&
N&&% 2&" 5:+ & 6& 5;eed "(&
N&&' 2&" 5:+ & 6:( 6;eed "(&N&&( 2&" 5*& & 6:( 5;eed *(
N&&) 2&" 5*& )& 6:( 5;eed *(
N&&* 2&" 5%& )& 6:( 5;eed *(
N&&+ 2&" 5& '& 6:( 5;eed *(
Cutting to 5>& B >'&
7/24/2019 CNC1.ppt
66/91
Program 0nterpretation
2(( 5$&& +&Program "
N&&" M&) T"
N&&$ M&% rpm '&&
N&&% 2&" 5:+ & 6& 5;eed "(&
N&&' 2&" 5:+ & 6:( 6;eed "(&N&&( 2&" 5*& & 6:( 5;eed *(
N&&) 2&" 5*& )& 6:( 5;eed *(
N&&* 2&" 5%& )& 6:( 5;eed *(
N&&+ 2&" 5& '& 6:( 5;eed *(
N&&, 2&" 5& & 6:( 5;eed *(
Complete the countering
7/24/2019 CNC1.ppt
67/91
Program 0nterpretation
2(( 5$&& +&Program "
N&&" M&) T"
N&&$ M&% rpm '&&
N&&% 2&" 5:+ & 6& 5;eed "(&
N&&' 2&" 5:+ & 6:( 6;eed "(&N&&( 2&" 5*& & 6:( 5;eed *(
N&&) 2&" 5*& )& 6:( 5;eed *(
N&&* 2&" 5%& )& 6:( 5;eed *(
N&&+ 2&" 5& '& 6:( 5;eed *(
N&&, 2&" 5& & 6:( 5;eed *(N&"& 2+" -% , N* 6:(
-epeat * times blocks from N&&% to N&&,
with incremental offset of 6>:(
7/24/2019 CNC1.ppt
68/91
Program 0nterpretation
2(( 5$&& +&
Program "
N&&" M&) T"
N&&$ M&% rpm '&&
N&&% 2&" 5:+ & 6& 5;eed "(&
N&&' 2&" 5:+ & 6:( 6;eed "(&
N&&( 2&" 5*& & 6:( 5;eed *(
N&&) 2&" 5*& )& 6:( 5;eed *(
N&&* 2&" 5%& )& 6:( 5;eed *(
N&&+ 2&" 5& '& 6:( 5;eed *(N&&, 2&" 5& & 6:( 5;eed *(
N&"& 2+" -% , N* 6:(
N&"" M&(
Spindle 1ff
7/24/2019 CNC1.ppt
69/91
Program 0nterpretation
2(( 5$&& +&Program "
N&&" M&) T"
N&&$ M&% rpm '&&
N&&% 2&" 5:+ & 6& 5;eed "(&
N&&' 2&" 5:+ & 6:( 6;eed "(&N&&( 2&" 5*& & 6:( 5;eed *(
N&&) 2&" 5*& )& 6:( 5;eed *(
N&&* 2&" 5%& )& 6:( 5;eed *(
N&&+ 2&" 5& '& 6:( 5;eed *(
N&&, 2&" 5& & 6:( 5;eed *(
N&"& 2+" -% , N* 6:(
N&"" M&(
N&"$ M&$
nd Program
7/24/2019 CNC1.ppt
70/91
Program 0nterpretation
Tool Change
Changing the tool
7/24/2019 CNC1.ppt
71/91
Program 0nterpretation
Tool Change
2(( 5$&& +&
Setting the datum to the lower left corner of the work piece
7/24/2019 CNC1.ppt
72/91
Program 0nterpretation
Tool Change
2(( 5$&& +&
Program $
Program 0dentification Number
7/24/2019 CNC1.ppt
73/91
Program 0nterpretation
Tool Change
2(( 5$&& +&
Program $
N&&" M&) T$
N&&" Se4uence Number
M&) Tool Change /@rill with
@iameter>)mm
T$ Tool Number
7/24/2019 CNC1.ppt
74/91
Program 0nterpretation
Tool Change
2(( 5$&& +&
Program $
N&&" M&) T$N&&$ M&% rpm '&&
Start rotating the spindle clockwise with '&&
rpm
7/24/2019 CNC1.ppt
75/91
Program 0nterpretation
Tool Change
2(( 5$&& +&
Program $
N&&" M&) T$
N&&$ M&% rpm '&&N&&% 2&" 5:+ & 6& 5;eed "(&
2o to Safe Position with feed "(&mm
7/24/2019 CNC1.ppt
76/91
Program 0nterpretation
Tool Change
2(( 5$&& +&
Program $
N&&" M&) T$
N&&$ M&% rpm '&&
N&&% 2&" 5:+ & 6& 5;eed "(&
N&&' 2&" 5$& "( 6"& 5;eed "(& 6;eed "(&
Stop above the center of the first hole
7/24/2019 CNC1.ppt
77/91
Program 0nterpretation
Tool Change
2(( 5$&& +&
Program $
N&&" M&) T$
N&&$ M&% rpm '&&
N&&% 2&" 5:+ & 6& 5;eed "(&
N&&' 2&" 5$& "( 6"& 5;eed "(&
6;eed "(&
N&&( 2&" 5$& "( 6:"& 6;eed *(
Start @rill the first hole
7/24/2019 CNC1.ppt
78/91
Program 0nterpretation
Tool Change
2(( 5$&& +&
Program $
N&&" M&) T$
N&&$ M&% rpm '&&
N&&% 2&" 5:+ & 6& 5;eed "(&
N&&' 2&" 5$& "( 6"& 5;eed "(& 6;eed "(&
N&&( 2&" 5$& "( 6:"& 6;eed *(
N&&) 2&" 5$& "( 6"& 6;eed "(&
-etract to a position above the hole
7/24/2019 CNC1.ppt
79/91
Program 0nterpretation
Tool Change
2(( 5$&& +&
Program $
N&&" M&) T$
N&&$ M&% rpm '&&N&&% 2&" 5:+ & 6& 5;eed "(&
N&&' 2&" 5$& "( 6"& 5;eed "(& 6;eed "(&
N&&( 2&" 5$& "( 6:"& 6;eed *(
N&&) 2&" 5$& "( 6"& 6;eed "(&
N&&* 2&" 5(& "( 6"& 6;eed "(&
Stop above the center of the second hole
7/24/2019 CNC1.ppt
80/91
Program 0nterpretation
Tool Change
2(( 5$&& +&
Program $
N&&" M&) T$
N&&$ M&% rpm '&&
N&&% 2&" 5:+ & 6& 5;eed "(&N&&' 2&" 5$& "( 6"& 5;eed "(& 6;eed
"(&
N&&( 2&" 5$& "( 6:"& 6;eed *(
N&&) 2&" 5$& "( 6"& 6;eed "(&
N&&* 2&" 5(& "( 6"& 6;eed "(&N&&+ 2&" 5(& "( 6:"& 6;eed *(
@rill the second hole
7/24/2019 CNC1.ppt
81/91
Program 0nterpretation
Tool Change2(( 5$&& +&
Program $
N&&" M&) T$
N&&$ M&% rpm '&&
N&&% 2&" 5:+ & 6& 5;eed "(&
N&&' 2&" 5$& "( 6"& 5;eed "(& 6;eed "(&
N&&( 2&" 5$& "( 6:"& 6;eed *(
N&&) 2&" 5$& "( 6"& 6;eed "(&
N&&* 2&" 5(& "( 6"& 6;eed "(&
N&&+ 2&" 5(& "( 6:"& 6;eed *(
N&&, 2&" 5(& "( 6"& 6;eed "(&
-etract to a position above the second hole
7/24/2019 CNC1.ppt
82/91
Program 0nterpretation
Tool Change
2(( 5$&& +&
Program $
N&&" M&) T$
N&&$ M&% rpm '&&
N&&% 2&" 5:+ & 6& 5;eed "(&
N&&' 2&" 5$& "( 6"& 5;eed "(& 6;eed "(&
N&&( 2&" 5$& "( 6:"& 6;eed *(
N&&) 2&" 5$& "( 6"& 6;eed "(&
N&&* 2&" 5(& "( 6"& 6;eed "(&
N&&+ 2&" 5(& "( 6:"& 6;eed *(N&&, 2&" 5(& "( 6"& 6;eed "(&
N&"& 2&" 5(& '( 6"& 6;eed "(&
Stop above the center of the third hole
7/24/2019 CNC1.ppt
83/91
Program 0nterpretation
Tool Change2(( 5$&& +&
Program $
N&&" M&) T$
N&&$ M&% rpm '&&
N&&% 2&" 5:+ & 6& 5;eed "(&
N&&' 2&" 5$& "( 6"& 5;eed "(& 6;eed "(&
N&&( 2&" 5$& "( 6:"& 6;eed *(
N&&) 2&" 5$& "( 6"& 6;eed "(&
N&&* 2&" 5(& "( 6"& 6;eed "(&
N&&+ 2&" 5(& "( 6:"& 6;eed *(
N&&, 2&" 5(& "( 6"& 6;eed "(&N&"& 2&" 5(& '( 6"& 6;eed "(&
N&"" 2&" 5(& '( 6:"& 6;eed *(
@rill the third hole
7/24/2019 CNC1.ppt
84/91
Program 0nterpretation
Tool %&a'#eG55 X200 !0"ro#ram 2N001 M06 T2N002 M03 rpm 400N003 G01 X-! 0 Z0 XFee$ 150
N004 G01 X20 15 Z10 XFee$ 150 ZFee$ 150N005 G01 X20 15 Z-10 ZFee$ 75N006 G01 X20 15 Z10 ZFee$ 150N007 G01 X50 15 Z10 ZFee$ 150N00! G01 X50 15 Z-10 ZFee$ 75
N00( G01 X50 15 Z10 ZFee$ 150N010 G01 X50 45 Z10 ZFee$ 150N011 G01 X50 45 Z-10 ZFee$ 75N012 G01 X50 45 Z10 ZFee$ 150
-etract to a position above the third hole
7/24/2019 CNC1.ppt
85/91
Program 0nterpretation
Tool %&a'#e
G55 X200 !0"ro#ram 2N001 M06 T2N002 M03 rpm 400N003 G01 X-! 0 Z0 XFee$ 150
N004 G01 X20 15 Z10 XFee$ 150 ZFee$ 150N005 G01 X20 15 Z-10 ZFee$ 75N006 G01 X20 15 Z10 ZFee$ 150N007 G01 X50 15 Z10 ZFee$ 150N00! G01 X50 15 Z-10 ZFee$ 75
N00( G01 X50 15 Z10 ZFee$ 150N010 G01 X50 45 Z10 ZFee$ 150N011 G01 X50 45 Z-10 ZFee$ 75N012 G01 X50 45 Z10 ZFee$ 150N013 M05
Spindle off
7/24/2019 CNC1.ppt
86/91
Program 0nterpretation
Tool Change
2(( 5$&& +&Program $
N&&" M&) T$
N&&$ M&% rpm '&&
N&&% 2&" 5:+ & 6& 5;eed "(&
N&&' 2&" 5$& "( 6"& 5;eed "(& 6;eed "(&N&&( 2&" 5$& "( 6:"& 6;eed *(
N&&) 2&" 5$& "( 6"& 6;eed "(&
N&&* 2&" 5(& "( 6"& 6;eed "(&
N&&+ 2&" 5(& "( 6:"& 6;eed *(
N&&, 2&" 5(& "( 6"& 6;eed "(&
N&"& 2&" 5(& '( 6"& 6;eed "(&
N&"" 2&" 5(& '( 6:"& 6;eed *(
N&"$ 2&" 5(& '( 6"& 6;eed "(&
N&"% M&(
N&"' M&$
nd Program
7/24/2019 CNC1.ppt
87/91
Program 0nterpretation
Tool Change
2(( 5$&& +&Program $
N&&" M&) T$
N&&$ M&% rpm '&&
N&&% 2&" 5:+ & 6& 5;eed "(&
N&&' 2&" 5$& "( 6"& 5;eed "(& 6;eed "(&N&&( 2&" 5$& "( 6:"& 6;eed *(
N&&) 2&" 5$& "( 6"& 6;eed "(&
N&&* 2&" 5(& "( 6"& 6;eed "(&
N&&+ 2&" 5(& "( 6:"& 6;eed *(
N&&, 2&" 5(& "( 6"& 6;eed "(&
N&"& 2&" 5(& '( 6"& 6;eed "(&
N&"" 2&" 5(& '( 6:"& 6;eed *(
N&"$ 2&" 5(& '( 6"& 6;eed "(&
N&"% M&(
N&"' M&$
nd Program
7/24/2019 CNC1.ppt
88/91
Two computer&based systems which impact the use of *0* technology arecomputer aided design and computer aided manufacturing.
) computer aided design or *)D system uses computers to graphically create
product designs and models. These designs can be reviewed revised and
refined for optimum end use and application. ,nce finaliAed the *)D design
is then exported to a computer aided manufacturing or *)$ system.*)$ systems assist in all phases of manufacturing a product including
process planning production planning machining scheduling management
and !uality control.
CADCA>
Automatic Part Programming
7/24/2019 CNC1.ppt
89/91
g g
8oftware programs can automatic generation of *0* data
$a:e 3D model
Define Tool
*0* data
8imulate
cutting
Automatic part programming and @NC
7/24/2019 CNC1.ppt
90/91
+ery complex part shapesvery large 0* program
0* controller memory may not handle -%;' part program
computer feeds few bloc:s of
0* program to controller
9hen almost all bloc:s executed
controller re!uests more bloc:s
Summary
7/24/2019 CNC1.ppt
91/91
*0* machines allow precise and repeatable control in machining
*0* lathes $illing machines etc. are all controlled by 0* programs
0* programs can be generated manually automatically
)dditional referencesB R82ED code descriptions