1 - Introduction To CNC
1 - Introduction To CNC
1 - Introduction To CNC
Machining
Motion Control—The Heart Of CNC
Conventional Machine
CNC Machine
Numerical Control Programming
CNC user must be able to view the machine
tool from two distinctly different
perspectives
First as a programmer.
Secondly, when machining the component.
A programmer needs to be
comfortable with:
the machine’s most basic components.
the direction of the machine’s axes.
any additional accessory equipment.
and finally be aware of what programmable
functions are included.
From the machine tool manual
you should find answers to:
What is the machine’s maximum RPM?
What is the spindle and drive axis motor
horsepower?
What is the maximum travel distance of
each axis?
How many tools can the machine hold?
What is the machine’s rapid traverse rate?
What is the machine’s fastest cutting speed?
Machined Example
Axis Reference Point
Most machine tool builders make the
reference position the extreme plus side of
each axis.
Note: always make sure that all the axes are
set to zero (0,0,0) before you carry out any
operation on any machine tool.
Absolute Versus Incremental Motion
-ve Y table
direction
+ve X table
direction
Machine
table ref.
Pt 0,0
It is more convenient to think of the tool moving
around the component, than thinking of the table
direction when writing programs.
C D
B A
Machine
To move tool from A to B table needs to move
in the –ve X direction, from B to C the table table ref.
moves in the Y +ve direction, and to move Pt 0,0
from C to D the table moves in the +ve
direction.
Vice position with respect to
machine’s set datum
Controller Reference Setting
Program Writing
What we need to know:
Where the tool starts from.
Where the tool moves to.
The tool path.
How it gets there.
When the machine needs to start and stop.
When coolant is turned on or off.
What tools are available.
How is the workpiece held.
Program Makeup
Programs are made up of commands
and commands are made up of words
or Leter
O - Program number (Used for program identification)
N - Sequence number (Used for line identification)
G - Preparatory function (See below)
X - X-axis designation
Y - Y-axis designation
Z - Z-axis designation
R - Radius designation
F - Feedrate designation The preparatory function (G)
S - Spindle speed designation
H - Tool length offset designation
specifies is commonly used to
D - Tool radius offset designation set modes.
T - Tool Designation
M - Miscellaneous function
Miscellaneous functions (M
words) allow a variety of
special functions.
Tool Setting
Common Mistakes
Spindle not on before cutting.
Coolant not turned on during machining.
Toolpaths out of order. Eg. holes were
tapped before they were drilled.
Incorrect tool installation.
Improper feed and speed entered.
Start program in wrong place.
Simple Program Example 1
34
45
29