Professional Documents
Culture Documents
CNC
Numerical Control
• Numerical control is a method of automatically
operating a manufacturing machine based on a
code of letters, numbers, and special characters.
• The numerical data required to produce a part is
provided to a machine in the form of a program,
called part program or CNC program.
• The program is translated into the appropriate
electrical signals for input to motors that run the
machine.
2
NUMERICAL
DATA
(NC CODE)
NUMERICAL
MANUFACTURING CONTROLLER
OPERATOR
Drive Control
PROCESSED
PART
MACHINE UNIT
3
Numerical Control - History
• The concept is credited to John Parson (1947). Using
punched cards he was able to control the position of a
machine in an attempt to machine helicopter blade.
• US Air Force teamed up with MIT to develop a
programmable milling machine (1949).
• In 1952, a three-axis Cincinnati Hydrotel milling machine
was demonstrated. The term Numerical Control (NC)
originated. The machine had an electromechanical
controller and used punched cards.
• A new class of machines called machining centers and
turning centers that could perform multiple machining
processes was developed.
• Modern NC machine has a computer on board, Computer
Numerical Control (CNC). They can run unattended at
over 20,000 rpm (spindler speed) with a feed rate of over
600 ipm and an accuracy of .0001
4
CNC Applications
• Machining
2D / 3D
Turning ~ Lathes, Turning Centre
Milling ~ Machining Centres
• Forming
2D
Plasma and Laser Cutting
Blanking, nibbling and punching
3D
Rapid Prototyping
5
SAMPLE
CNC MACHINES
6
CNC TURNING
7
CNC MILLING
8
CNC LASER CUTTING
9
CNC PLASMA CUTTING
10
CNC PRESS
11
CNC RAPID PROTOTYPING
12
SAMPLE PRODUCTS
OF
CNC MANUFACTURING
13
AUTOMOTIVE INDUSTRY
Engine Block
14
AUTOMOTIVE INDUSTRY(Cont’d)
Different Products
15
AEROSPACE INDUSTRY
Aircraft Turbine Machined by
5-Axis CNC Milling Machine
16
CNC MOLD MAKING
17
ELECTRONIC INDUSTRY
18
RAPID PROTOTYPING
PRODUCTS
19
ADVANTAGES OF CNC
Utilization of computers in
manufacturing applications has proved
to be one of the most significant
advantages & developments over the
last couple of decades in helping to
improve the productivity and
efficiency of manufacturing systems.
20
any means of helping the
workers to perform their
tasks more efficiently
AUTOMATION
21
ADVANTAGES of CNC
• Productivity
Machine utilisation is increased because more
time is spent cutting and less time is taken by
positioning.
Reduced setup time increases utilisation too.
22
PROFIT increases as COST decreases and as
PRODUCTIVITY increases.
23
COST = COST OF
MANUFACTURING AND COST OF
MATERIAL HANDLING
24
ADVANTAGES of CNC
• Quality
Parts are more accurate.
Parts are more repeatable.
Less waste due to scrap.
25
ADVANTAGES of CNC
• Reduced inventory
Reduced setup time permits smaller economic
batch quantities.
Lower lead time allows lower stock levels.
Lower stock levels reduce working capital
requirements.
26
ADVANTAGES of CNC
• Management Control
CNC leads to CAD
Process planning
Production planning
27
DRAWBACKS of CNC
• High capital cost
Machine tools cost $30,000 - $1,500,000
• Retraining and recruitment of staff
• New support facilities
• High maintenance requirements
• Not cost-effective for low-level production on simple
parts
• Maintenance personnel must have both mechanical
and electronics expertise
28
FUNDAMENTAL OF
METAL CUTTING
29
The metal cutting operations (also
called machining) is one of the most
important manufacturing processes in
industry today (as it was yesterday).
30
MACHINING IS THE REMOVAL OF
MATERIALS IN FORMS OF CHIPS
FROM THE WORKPIECE BY SHEARING
WITH A SHARP TOOL.
31
The main function of a machine tool is
to control the workpiece-cutting tool
positional relationship in such a way as
to achieve a desired geometric shape
of the workpiece with sufficient
dimensional accuracy.
32
Primary motion
Relative motion
between tool and Secondary motion
workpiece
34
Basic Components of NC System
Many different types of controllers are available in the market (GE, Fanuc,
Allen-Bradley, Okuma, Bendix, …).
36
Types of CNC machines
38
Continuous-Path Tool Movements
Continuous-path controllers cause the tool to maintain continuous contact with the
part as the tool cuts a contour shape. These operations include milling along any lines
at any angle, milling arcs and lathe turning.
39
Open Loop Systems for Controlling Tool Movement
Open
UsesLoop System
stepping motor to create movement. Motors rotate a fixed
amount for each pulse received from the MCU. The motor sends a
signal back indicating that the movement is completed. No feedback
to check how close the actual machine movement comes to the
exact movement programmed.
40
Closed Loop Systems for Controlling Tool Movement
AC, DC, and hydraulic servo-motors are used. The speed of these
motors are variable and controlled by the amount of current or fluid.
The motors are connect to the spindle and the table. A position
sensor continuously monitors the movement and sends back a single
to Comparator to make adjustments.
41
Basic Axis Principles
All computer controlled machines are able to accurately and repeatedly control
motion in various directions. Each of these directions of motion is called an
axis. Depending on the machine type there are commonly two to five axes.
Additionally, a CNC axis may be either a linear axis in which movement is in a
straight line, or a rotary axis with motion following a circular path.
CNC Machine Axes of Motion
More complex CNC machines have the capability of executing additional rotary
motions (4th and 5th axes).
43
In defining the motion of the tool from
one point to another, either absolute
positioning mode or incremental
positioning mode can be used.
44
1. Absolute positioning. In this mode, the desired
target position of the tool for a particular move is
given relative to the origin point of the program.
45
Absolute vs. Incremental
Positioning
Absolute positioning
Move is: x = 40, y = 50
Incremental positioning
Move is: x = 20, y = 30.
CNC Machine Tool Positioning Modes
Within a given machine axes coordinate system, CNC can be programmed to
locate tool positions in the following modes; incremental and absolute
47
How CNC Works
53
CNC programming
Important things to know:
• Coordinate System
• Preparatory Codes:
• G codes- Initial machining setup and establishing operating conditions
• Feed and Speed Codes: F and S- Specify feed and spindle speed
58
X,Y, and Z Codes
• X, Y, and Z codes are used to specify the
coordinate axis.
• Number following the code defines the
coordinate at the end of the move relative to
an incremental or absolute reference point.
59
I,J, and K Codes
• I, J, and K codes are used to specify the
coordinate axis when defining the center of a
circle.
60
F,S, and T Codes
• F-code: used to specify the feed rate
61
G02 Circular Interpolation (CW)
62
G02 Circular Interpolation (CW)
C i r c u l a r i n t e r p o l a t i o n f r o m A t o B
a b o u t a c i r c l e c e n t e r e d a t C
N 1 0 G 0 2 X 2 0 0 0 0 Y 1 0 0 0 0
2 5 I 5 0 0 0 J 1 5 0 0 0 F 2 5 0 0
I = 5 A C
2 0
C
5
5 1 0 1 5 2 0 2 5 3 0
63
F,S, and T Codes
• F-code: used to specify the feed rate
64
Important G codes
G00 Rapid Transverse
G01 Linear Interpolation
G02 Circular Interpolation, CW
G03 Circular Interpolation, CCW
G17 XY Plane,G18 XZ Plane,G19 YZ Plane
G20/G70 Inch units
G21/G71 Metric Units
G40 Cutter compensation cancel
G41 Cutter compensation left
G42 Cutter compensation right
G43 Tool length compensation (plus)
G43 Tool length compensation (plus)
G44 Tool length compensation (minus)
G49 Tool length compensation cancel
G80 Cancel canned cycles
G81 Drilling cycle
G82 Counter boring cycle
G83 Deep hole drilling cycle
G90 Absolute positioning
G91 Incremental positioning
Important M codes
• M00 Program stop
• M01 Optional program stop
• M02 Program end
• M03 Spindle on clockwise
• M04 Spindle on counterclockwise
• M05 Spindle stop
• M06 Tool change
• M08 Coolant on
• M09 Coolant off
• M10 Clamps on
• M11 Clamps off
• M30 Program stop, reset to start
Word address format
70
71
72
73
74
Example: A Milling Operation
NC CODE (Word Address Format) SPINDLE
STOP !
N50 G00 X15 Y12.5 Z0 SPINDLE
N55 M03 STARTED !
N60 G01 Z-2.5 F500 M08
N65 G01 X50
N70 G01 Y45
N75 G01 X15
N80 G01 Y12.5
N85 G00 Z0 M09
N90 G79 M04 Z Y
X
(0,0,0)
75
Example of a part program
N001 G91 (incremental)
N002 G71 (metric)
76
14.14
77