Unit 5 Numerical Control
Unit 5 Numerical Control
Sections:
1. Fundamentals of NC Technology
2. Computer Numerical Control
3. Distributed Numerical Control
4. Applications of NC
5. NC Part Programming
Process Planning
A manufacturing plan is needed to convert the product
design into a physical entity. The activity of developing
such a plan is called process planning.
Process planning involves determining the sequence of
processing and assembly steps that must be
accomplished to make the product.
Process Parameters
Routing Sheet
It is the sheet which describes all the processes used to
manufacture the part.
Routing sheet is the step of process panning.
It is the physical representation of process planning step.
Routing Sheet
Machine
Machine
Control
Control Unit
Unit
Transformation
Process
Power
Power
NC Coordinate Systems
For flat and prismatic (block-like) parts:
Milling and drilling operations
Conventional Cartesian coordinate system
Rotational axes about each linear axis
For rotational parts:
Turning operations
Only x- and z-axes
Interpolation Methods
1.
2.
3.
4.
Linear interpolation
DNC
Direct numerical control (DNC) control of multiple
machine tools by a single (mainframe) computer
through direct connection and in real time
1960s technology
Two way communication
Distributed numerical control (DNC) network
consisting of central computer connected to machine
tool MCUs, which are CNC
Present technology
Two way communication
Applications of NC
NC Application Characteristics
(Machining)
Cost-Benefits of NC
Costs
High investment cost
High maintenance effort
Need for skilled programmers
High utilization required
Benefits
Cycle time reduction
Nonproductive time reduction
Greater accuracy and repeatability
Lower scrap rates
Reduced parts inventory and floor space
Operator skill-level reduced
NC Part Programming
1.
2.
3.
4.
Types of Words
N - sequence number prefix
G - preparatory words
Example: G00 = PTP rapid traverse move
X, Y, Z - prefixes for x, y, and z-axes
F - feed rate prefix
S - spindle speed
T - tool selection
M - miscellaneous command
Example: M07 = turn cutting fluid on
Cutter Offset
Cutter path must be
offset from actual
part outline by a
distance equal to
the cutter radius
XX//AXIS
table
workpiece-rotating machine:
Z
X
6.1.5 NC Words/
N, G, X, Y Z, A, B, C, I, J, K, F, S, T, R, M
G: preparatory word
to prepare for control functions (the motion of each axis, coordinate
system, coordinate plane, cutter radius compensation, tool length
offset)
M: miscellaneous word
to control miscellaneous functions (spindle on/off, start/stop the
machine, turn on/off the coolant, change the tool, and rewind the
program tape)
6.1.5 NC Words/
6.1.5 NC Words/
M CODES
M00
Program stop
M06
Tool change
M01
Optional stop
M07
Flood coolant on
M02
End of program
M08
Mist coolant on
M03
Spindle CW
M09
Coolant off
M04
Spindle CCW
M30
End of tape
6.1.5 NC Words/
N, G, X, Y , Z, A, B, C, I, J, K, F, S, T, R, M
T: tool number
G codes
Unit selection:
G70 (inch), G71(metric)
Coordinates selection:
G90(absolute), G91(incremental)
Working coordinate
Z
23
X
25.2
G90: absolute
coordinates
(10,10
)
Start
(0,0
)
(20,10
)
Y
End
100.0
Start
200.0
G17
X
__
Y
__
F __;
G 03
I __ J __
G 02
R
X
__
Z
__
G
03
I __
G18
G 02
R
G19
Y __ Z __
G 03
J __
End
point
F __;
K __
F __;
K __
Circle center,
radius
R=-50mm
End
Start
R=50mm
>180 -R
Specified
point
Machine
Zero
A
New specified point in
G29
Tool Compensation
Tool-Radius Compensation /
Left hand G41
Right hand G42
Cancel tool-radius compensation G40
Tool-Height Compensation/
Positive G43
Negative G44
Cancel tool-height compensation G49
Tool-Radius Compensation
Tool-radius compensations make it possible to
program directly from the drawing, and thus
eliminate the tool-offset calculation
G41 (G42) H
H: the radius of tool to compensate is saved in a memory unit
that is named H
G41/G42 is directly related with direction of tool movement and
which side of part is cut.
Tool-Height Compensation
G43 (G44) H
H: specified memory unit used to save height
compensation of tool.
Positive compensation (G43):
real position = specified position + value saved in H
Tool-Height Compensation
Example:
N0010 G91 G00 X12.0 Y80.0
N0020 G44 Z-32.0 H02
If we put 0.5mm into H02,
real position = -32.0 - 0.5 = -32.5
G91:
incremental
coordinates
M code
miscellaneous word/
miscellaneous functions:
M code
M00
Program stop
M06
Tool change
M01
Optional stop
M07
Flood coolant on
M02
End of program
M08
Mist coolant on
M03
Spindle CW
M09
Coolant off
M04
Spindle CCW
M30
End of tape
modal groups/
M code: M06
M06 signals the tool-change operation.
On a machine equipped with an automatic tool
changer, it stops the spindle, retracts
the spindle to the tool-change position, and
then changes the tool to the one specified in the
T-code.
Summary
Adequate for many simply point-to-point processes
Time-consuming
Error correction can be cumbersome Errors made
by the programmer are often not discovered until the
program is tested graphically or on the machine tool
Computervision System
CADAM System
CATIA System
MasterCAM
UG
Tool
path
Execute
calculation
Set target
shape model
Specify tool
- Tool diameter
- RPM
- Feed rate
Work
Axial
cutting
depth
Work
Layer by layer/
Axial
cutting
depth
Work
direction-parallel milling
contour-parallel milling
Contour Line
(Zig-Zag)
Same roughness
Tool
path
Execute
calculation
Set target
shape model
Specify tool
- Tool diameter
- RPM
- Feed rate
Tool
path
Execute
calculation
Set target
shape model
Specify tool
- Tool diameter
- RPM
- Feed rate
Tool
path
Execute
calculation
Set target
shape model
Specify tool
- Tool diameter
- RPM
- Feed rate
Tool
path
Execute
calculation
Set target
shape model
Specify tool
- Tool diameter
- RPM
- Feed rate
Purposes/
to detect geometric error of the cutter path
to detect potential tool interference
to detect incorrect cutting conditions