Professional Documents
Culture Documents
Intro To CNC - S22 - PartII
Intro To CNC - S22 - PartII
CNC
Computer Numerical Control
Part II
Part Programming
Part Program
Instructions needed by the machine tool to be able to
create the intended geometry
Elements to consider when we program…The SETUP…
• Coordinate system… What is our machining orientation?
– The primary planes for machining (G17/G18/G19)
– Positioning
• Absolute or Relative/Incremental (G90/G91)
Classification of NC System
• Method of programming
• Type of controller
• Point-to-Point
Programming Method
• Incremental
• Absolute
“Block”-Formatted Syntax
A set of instructions or blocks of information
* An instruction to perform a motion or function
©2002 John Wiley & Sons, Inc. M. P. Groover, “Fundamentals of Modern Manufacturing 2/e”
Z- Axis
Sequence of Operations
• Mill the L-shaped slot of the part 3.0. in. 0.375 in.
• Tool starting position is: Tool start position
X=0. Y=0. Z=4.
• Start machining at the top using 0.5
inch Dia. end mill. (one pass) 0.5 in.
2.5 in.
R 0.25 in.
• Feed rate: 8 ipm
• Spindle Speed: 800 rpm
0.75 in.
• Use the bottom of the lower left corner
R 0.25
of the part as zero
1.0 in. 1.5 in.
0.75 in.
XY zero
G20- Inch unit programming
datum
G90- Absolute input programming
0.5 in.
2.5 in.
R 0.25 in.
0.75 in.
R 0.25
G90 G20
0.375 in.
M06 T01
3.0. in.
Tool start position G00 X0.Y0.Z4.
X1.000 Y3.000 Z1.000
0.5 in. M03 S800
G01 Z0.375 F8
2.5 in.
R 0.25 in.
Y0.750
X2.5
0.75 in.
90
places)
– Feed rate: 0.05 mm/rev
60
– Spindle Speed: 1000 rpm
30
– Use the bottom of the lower left corner of
the part as zero
70
G21- mm unit programming
G90- Absolute input programming 120
160
10
G90 G21 Y
M06T01 100
Z
G00 Z15.
20
X120.0 Y30 (3rd Hole Location)
10
G00 Z15.
X0.0 Y-50.0 Z150.
M30
Edward P. Fitts Department of Industrial & Systems Engineering
NC STATE UNIVERSITY
Manual Part Programming
Example 3
Operations & Assumptions 125
90
places)
60
(Cutting should start at a reference
location on the part. Assume this corner
30
to be X0, Y0)
• Use a 20mm end mill 70
• Part thickness is 10mm(top is Z0) 120
+Y
35,90