Chapter 3: Computer Numerical Control (CNC) Machine Tools
Chapter 3: Computer Numerical Control (CNC) Machine Tools
By Mengistu A.
Numerical control (NC) is a form of programmable
automation in which the mechanical actions of a machine
are controlled by alphanumeric data and other symbols.
These are coded in an appropriate format to define a
program of instruction
The data represent relative positions between a work-head
(cutting tool) and a work-part (object being processed).
The program of instructions can be changed to process a
new job.
This makes NC suitable for low and medium
production.
CNC lathe machine CNC Milling machine
NC Bending Machine
CNC Pantograph machine
Basic Components of an NC System
NUMERICAL
DATA
(NC CODE)
NUMERICAL
MANUFACTURING CONTROLLER
OPERATOR
Drive Control
PROCESSED
PART
MACHINE UNIT
CNC can be defined as an NC system whose MCU is based
on a dedicated microcomputer rather than on a hard-wired
controller, hence
size and cost reduction of digital computers and
substantial increase in their computational capabilities.
Features of CNC
The additional features of CNC System include:
Sufficient capacity to store of more than one part
program
Multiple data entry capabilities for various forms of
program input
Punched and magnetic tape, diskette, RS-232
communications, manual data input
Program editing at the machine tool (testing and
correcting a program at the machine site),
Interpolation
System bus
Machine tool controls Sequence controls
- Position control - Coolant
- Spindle Speed control - Fixture clamping
- Tool changer
Satellite Satellite
Computer Computer
Axis Designation
Continuous path control or PTP path control
NC Words
N-word (sequence number): used to identify the block
G-word (preparatory work): used to prepare the controller
for instructions that are to be followed
X-, Y- and Z- words (coordinates): gives the coordinate
positions of the tool
In two axis only two word will be used
In three axis only three words will be used
F-word (feed rate): specify the feed rate of the
machining operation in in./min
TABLE - Common G-words (Preparatory Word)
G-word Function
G00 P-t-p movement (rapid) b/n previous point and end point
G01 Linear interpolation movement.
G02; G03 Circular interpolation, clockwise counterclockwise respectively.
G04 Dwell for a specified time
G10 Input of cutter offset data, followed by a P-code and an R-code.
G17; G18; G19 Selection of x-y, x-z and y-z plane in milling respectively.
G20 Input values specified in inches
G28 Return to reference point.
G32 Thread cutting in turning.
G41, G42 Cutter offset compensation, left and right of part surface respectively.
G50 Specify location of origin relative to starting location of tool.
G90; G91 Programming in absolute & incremental coordinates respectively.
G94, G95 Specify feed/minute and feed/revolution respectively
G98; G99 Specify feed/minute and feed/revolution respectively in turning.
S-word (cutting speed): specify the cutting speed of the
process or rate at which the spindle rotates in rev./min
Individual Words
Manual Part Programming
This example presents the NC part program for drilling the
three holes in the sample part using word address format.
The x-, y-, and z-axes are defined. The program begins with
the tool positioned at at x = 0, y = -50, and z =10 (target
point).
NC Part Program Code Comment
N001 G21 G90 G92 X0 Y-050.0 Z10.0; Define origin of axes.
N002 G00 X070.0 Y030.0; Rapid move to first hole location.
N003 G01 G95 Z-15.0 F0.05 Sl000 M03; Drill first hole.
N004 G01 Z010.0; Retract drill from hole.
N005 G00 Y060.0; Rapid move to second hole.
Cutter Offset
Automatically programmed tool (APT) is a three
dimensional NC language that can control up to five axis.
(d)TANTO
The FROM is used as an initial, like in PTP. FROM defines the
initial drive surface, part surface, and check surface.
FROM/TARG
GO/TO, PL1, TO, PL2, TO, PL3
TARG is a target point the operator has set up the tool.
GO instructs the tool to the intersection of the drive surface
(PL1), the part surface (PL2), and the check surface (PL3)
The periphery of the cutter is tangent to the PL1 and PL3 due to
the modifier word TO.
The three surfaces are ordered as drive, part surface, check
surface.
After initialized, the tool is directed along its path by one of the
six command words.
GORGT/PL3, PAST, PL4
Illustration with examples
Write an APT geometry and motion statement for the workpart of the
figure shown below.
P0 (0, -1.0, 0)
P1 (6.0, 1.25, 0)
P2 (0, 0, 0)
P3 (6.0, 0, 0)
P4 (1.75, 4.5, 0)
These complete function which are not addressed by
geometry statement and motion commands.
Syntax
POSTPROCESSORCOMMAND/descriptive data