Professional Documents
Culture Documents
CNC Machining - Lecture Notes-Sep - 2012 PDF
CNC Machining - Lecture Notes-Sep - 2012 PDF
CNC Applications
Lesson Outcomes
By the end of this lesson, students should be able to:
Understand the concept of Computer Numerical
Control System and its applications
Understand the fundamental components of an
CNC system
Understand aspects of CNC motion control
Understand aspects of CNC codes
Understand the advantages and disadvantages of
CNC control systems
What is Computer Numerical
Control (CNC)?
(Definition:) A form of programmable
automation in which the mechanical actions of
a machine tool or other equipment are
controlled by a program.
Program of instructions (numbers, letters
symbols) used to control a process
Main advantage: Flexibility (easy to change
program of instructions for different parts)
Applications of CNC Control
Technology
1. Machine tool applications to control the
relative motion between cutting tool and
workpiece.
Examples:
CNC Lathe CNC EDM
CNC Milling CNC Grinder
CNC Machining Ctr CNC Laser-cut
CNC Turning Center CNC Water-jet
CNC Wire-cut CNC Punch & Blanking
CNC Drilling & Boring
Applications of CNC Control
2. Non-Machine Tool Applications
Examples:
-Assembly
(CNC used to control assembly machines)
-Drafting
(Once a CAD drawing is completed, CNC is used to
control a plotter to generate an engineering drawing)
-Robotics
(CNC is used to control the motors that move robotic arms)
-Quality Control and Inspection
(eg CNC CMM)
Components of an CNC System
1. Program of instructions or part program
2. Machine control unit
3. Processing equipment
Components of an CNC System
1. Program of instructions:
The detailed step by step commands that
direct the actions or movements of the
machine
Examples are:
Worktable, spindle and motors in a machine tool
Motors and linkages in a robotic system
This machine tool/ production process designed to
give high level of repeatability and precision
CNC Motion Control
Systems
Absolute positioning:
Positions are defined with respect to the origin
of coordinate system
Incremental positioning:
Positions are defined relative to the previous
location
CNC Co-ordinate System
Floating zero point system
This feature allows the user to place a
secondary coordinate system anywhere on
the machine table.
This makes it easy to develop the part
program & machine the workpiece
CNC Codes
CNC Code (forms the
program of instructions)
Types of CNC Code:
Sequence/block number (N
Code)
Preparatory Codes (G
Codes)
Miscellaneous Codes (M
Codes)
Feed and Speed Codes
Tools Codes
Source: MTAB
CNC Codes
Sequence/Block
number (N
Codes)
Describes the
block of codes in
a program
Source: MTAB
CNC Codes
Source: MTAB
Preparatory Codes (G Codes)
Relevant G Codes:
G00 G28
G01 G90
G02 G91
G03 G92
G20 G94
G21
CNC Codes
Preparatory Codes (G Codes)
F Feed code (F
code)
S Speed code
(S code)
T Tool code (T
code)
G00 Rapid Traverse of fast Traverse G40 Cancel cutter G94 Feed rate in mm/min
compensation in/min (G98 performs the s
G01 Linear Interpolation function in the CNC lathe)
G71 Rough out profile by
G02 Clockwise Circular Interpolation G95 Feed rate in mm/rev
turning
G03 Counter-Clockwise Circular in/rev
G70 Finishing Cycle
Interpolation M03 Start Spindle
G90 Absolute Movement
G20 Imperial Units M05 Stop Spindle
G91 Incremental Movement
G21 Metric Units M06 Change Tool
G92 Programming of the
G28 Automatic Zero Return M30 End of Program
coordinate system
Program of Instructions example (Milling)
Source: MTAB
G00 Rapid Traverse of fast Traverse
G01 Linear Interpolation
F
G02 Clockwise Circular Interpolation E D
C B
G03 Counter-Clockwise Circular
Interpolation A
G20 Imperial Units
G21 Metric Units
G28 Automatic Zero Return
G40 Cancel cutter compensation
M03 Start Spindle
G71 Rough out profile by turning
M05 Stop Spindle
G70 Finishing Cycle
M06 Change Tool
G90 Absolute Movement
M30 End of Program
G91 Incremental Movement
F Feed code (F code)
G92 Programming of the coordinate system
S Speed code (S code)
G94 Feed rate in mm/min or in/min (G98
performs the same function in the CNC T Tool code (T code)
lathe)
Source: MTAB
G95 Feed rate in mm/rev or in/rev
CNC Program of Instructions example (Lathe)
Z1
Source: MTAB
CNC Codes:
Summary of relevant codes
G00 Rapid Traverse of fast Traverse G94 Feed rate in mm/min or
in/min (G98 performs the same
G01 Linear Interpolation
function in the CNC lathe)
G02 Clockwise Circular Interpolation
G95 Feed rate in mm/rev or
G03 Counter-Clockwise Circular in/rev
Interpolation
G20 Imperial Units
M03 Start Spindle
G21 Metric Units
M05 Stop Spindle
G28 Automatic Zero Return
M06 Change Tool
G40 Cancel cutter compensation
M30 End of Program
G71 Rough out profile by turning
F Feed code (F code)
G70 Finishing Cycle
S Speed code (S code)
G90 Absolute Movement
T Tool code (T code)
G91 Incremental Movement
G92 Programming of the coordinate system
Advantages of CNC Control systems
1. Reduce nonproductive time
2. Greater accuracy and repeatability
3. More complex part geometeries are
possible
4. Lesser operator skill-level is required
5. Easy to make engineering changes
(flexible).
6. Less floor space requirement
Disadvantages of CNC
Control Systems