Professional Documents
Culture Documents
Final Cam Unit 7
Final Cam Unit 7
Final Cam Unit 7
Structure
NC machines are method of automation, where automation of medium and small volume
production is done by some controls under the instructions of a program. Various
definitions of NC are:
A system in which actions are controlled by direct insertion of Numerical Data at some
point. The system must automatically interpret at least some portion of this data by
Electronic Industries Association (EIA)
The original numerical control machines were referred to as NC machine tool. They have
“hardwired” control, whereby control is accomplished through the use of punched paper
(or plastic) tapes or cards. Tapes tend to wear, and become dirty, thus causing
misreading. Many other problems arise from the use of NC tapes, for example the need
to manual reload the NC tapes for each new part and the lack of program editing abilities,
which increases the lead time. The end of NC tapes was the result of two competing
developments, CNC and DNC.
CNC refers to a system that has a local computer to store all required numerical data.
While CNC was used to enhance tapes for a while, they eventually allowed the use of
other storage media, magnetic tapes and hard disks. The advantages of CNC systems
include but are not limited to the possibility to store and execute a number of large
programs (especially if a three or more-dimensional machining of complex shapes is
considered), to allow editing of programs, to execute cycles of machining commands, etc.
The development of CNC over many years, along with the development of local area
networking, has evolved in the modern concept of DNC. Distributed numerical control is
similar to CNC, except a remote computer is used to control a number of machines. An
off-site mainframe host computer holds programs for all parts to be produced in the DNC
facility. Programs are downloaded from the mainframe computer, and then the local
controller feeds instructions to the hardwired NC machine. The recent developments use
a central computer which communicates with local CNC computers (also called Direct
Numerical Control).
NC system can be classified on the number of directions of motion they are capable to
control simultaneously on a machine tool. Each free body has six degree of freedom,
three positive or negative translations along x, y, and z-axis, and three rotations
clockwise or counter clockwise about these axes.
Commercial NC system is capable of controlling simultaneously two, two and half, three,
four and five degrees of freedom, or axes. The NC systems which control three linear
translations (3-axis systems), or three linear translations and one rotation of the
worktable (4-axis systems) are the most common. The Coordinate system (Milling and
drilling operations), Coordinate system (Turning operations) and Coordinate system
(Milling and drilling operations) as shown in figure 2, 3 and 4 respectively.
1.4.3 Controller:
The hard-wired controller cannot be easily altered to incorporate improvements into the
unit. The image of the Tape Reader as shown in figure 7.
Figure.7. Controller
The basic elements and operation of a typical NC machine in numerical control and the
components basically involved of data input, data processing and data output. For data
input, numerical information is read and stored in the tape reader or in computer memory.
In data processing, the programs are read into machine control unit for processing. For
data output, this information is translated into commands, typically pulsed commands to
the motor. The motor moves the table on which the work piece is placed to specified
positions, through linear or rotary movements, by the motors, ball screw, and others
devices.
A NC machine can be controlled through two types of circuits, which is open loop and
closed loop. In the open loop system, the signals are given to the motor by the
processor, but the movements and final destinations of the worktable are not accurate.
The open loop system cannot accurate, but it still can produce the shape that is required.
The closed loop system is equipped with various transducers, sensors, and counters that
measure the position of the table accurately. Through feedback control, the position of
the worktable is compared against the signal. Table movements terminate when the
proper coordinates are reached. For the close loop system normally, servomotor is
utilized. For open loop system normally the stepper motor is utilized. The closed loop
system is more complicated and more expensive than the open loop.
There are two basic types of control systems in numerical control, point-to-point and
contouring. In point-to-point system, also called positioning, each axis of the machine is
driven separately by ball screw, depending on the type of operation, at different
velocities. The machine moves initially at maximum velocity in order to reduce
nonproductive time, but decelerates as the tool reaches its numerically defined position.
Thus, in an operation such as drilling or punching, the positioning and cutting take place
sequentially. The time required in the operation is minimized for efficiency. Point-to-point
systems are used mainly in drilling, punching, and straight milling operations.
In the contouring system, also known as the continuous path system, positioning and
cutting operations are both along controlled paths but at different velocities. Because the
tool cuts as it travels along the path, accurate control and synchronization of velocities
and movements are important. The contouring system is used on lathes, milling
machines, grinders, welding machinery and machining centers.
Conventionally, an operator decides and adjusts various machines parameters like feed,
depth of cut etc depending on type of job, and controls the slide movements by hand. In
a CNC Machine functions and slide movements are controlled by motors using computer
programs.
1.6.1 Numeric Control NC:
• A numerical control, or “NC”, system controls many machine functions and
movements which were traditionally performed by skilled machinists.
• Numerical control developed out of the need to meet the requirements of
high production rates, uniformity and consistent part quality.
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 as shown in Figure 9.
(a) Flat and prismatic work (b) Rotational work
Figure 9: Coordinate systems used in NC
• These components, along with the computer controls that govern them, are
referred to as an axis drive system. The Motor and lead screw arrangement in an
NC positioning system as shown in figure 14.
• Using a vertical mill machining center as an example, there are typically three
linear axes of motion. Each is given an alphabetic designation or address. The
machine table motion side to side is called the “X” axis. Table movement in and out
is the “Y” axis, while head movement up and down the column is the “Z” axis. The
figure no 15 shows the servo mechanism.
Figure 15 : Servo Mechanism
Figure 16: (a) Four-axis CNC horizontal milling machine with safety panels
installed and (b) with safety panels removed to show typical axis configuration for
the horizontal spindle.
1.6.7. Work Positioning
• The method of accurate work positioning in relation to the cutting tool is called
the “rectangular coordinate system.” On the vertical mill, the horizontal base
line is designated the “X” axis, while the vertical base line is designated the “Y”
axis. The “Z” axis is at a right angle, perpendicular to both the “X” and “Y” axes.
• Increments for all base lines are specified in linear measurements, for most
machines the smallest increment is one ten-thousandth of an inch (.0001). If
the machine is graduated in metric the smallest increment is usually one
thousandth of a millimeter (.001mm).
Disadvantages:
• Maintenance is difficult
1.7 CNC PART PROGRAMMING
A part program is simply a series of command blocks that execute motions and machine
functions in order to manufacture a part.
• Verbal programming
The programmer writes the program from the drawing by assigning the datum points. These
programs are entered in the NC machine through keypad. This is easy for the creation of simple
geometric shapes and point to point motion of the tool. In this the tool path, speed, feed etc are
given in the program by calculating suitably.
Machine Zero
The machine zero is a fixed point set by the machine manufacturer. It cannot be changed.
The tool movement is measured from this point. The controller always remembers tool
distance from the machine zero This is stored in the offset register.
Tool zero
It is also called zero point of the tool. Each tool has its own datum point based on the
geometry of the tool. This is also a fixed point set by the manufacturer. Depends upon the
operation the programmer has to compensate the tool origin. This represented in the figure 3.3
as program origin.
Work zero
The work zero can be set by the programmer at any point in the drawing. This is other
wise called as work piece datum. Based on the datum point the programmer writes the
program to carry out the operation required. Normally this origin is set as the reference point.
The machine origin and the tool origin are brought to coincide with this datum for the
operations. This figure 19 shows the datum points of the turning center and machining
center.
Part programming requires establishment of some reference points. Three reference points
are either set by manufacturer or user. These are called as datum points where the
coordinate values are zero (0,0,0). There are three datum points are available in the CNC
concept. They are Machine datum, Tool datum, and Work piece datum.
P1 0,0 0,0
P2 10,0 10,0
P3 10,-25 0,-25
G00 code is used to move tool to the specified position at the maximum speed.
Here the tool is moved to X 20mm, Y 30mm, and Z -1mm at a feed rate of 180mm per
minute.
G02 code causes clockwise circular motion. Arcs can be specified by either radius
or by centre. Example: G02 X30 Y20 R15 F80
X Y Z I J K
In this example the tool is moved to X 30mm and Y 20mm. The arc has a radius of
15mm.
"I" and "J" specify the arc centre relative to the arc start. If the value is 0 then
it needn't be specified.
In this example the tool is moved to X 30mm and Y 20mm. The arc has a radius
of 15mm. "I" and "J" specify the arc centre relative to the arc start. If the
value is 0 then it needn't be specified.
G04 Dwell
All future instruction parameters will be taken as imperial values. That is,
they will specify inches.
All future instruction parameters will be taken as metric values. That is, they
will specify millimeters.
G28 causes a fast traverse to the specified position and then to the machine datum.
G40 switches off any tool radius compensation activated by a G41 or G42.
G41 Left Hand Radius Compensation
G41 causes future movement to take place to the left of the programmed path.
The offset used is equal to the radius of the current tool.
G42 causes future movement to take place to the right of the programmed
path. The offset used is equal to the radius of the current tool.
All future movement will be absolute until over-ridden by a G91 instruction. This
is the default setting.
Example: G90
G01 X30 Y0
Example: G90
G01 X15
G91
G01 X2
The position
becomes X17.
Miscellaneous functions use the address letter M followed by two digits. They perform a group
of instructions such as coolant on/off, spindle on/off, tool change, program stop, or
program end. They are often referred to as machine functions or M-functions. Some of the M
codes are given below.
M00 Program Stop
M00 waits for EOB to be pressed.
An M03 instruction starts forward spindle motion. It requires a speed within the
range 100 to 3000 rpm.
The spindle should be switched on before any movement below the component surface.
An M04 instruction starts reverse spindle motion. It requires a speed within the
range 100 to 3000 rpm.
The spindle should be switched on before any movement below the component surface.
Example: M06 T1
You can set tool lengths and diameters at the start of the program using the TOOLDEF
directive.
M08 Coolant On
1.10 INTERPOLATION
The aim of interpolation is to calculate the intermediate points between starting and end
coordinates. The interpolation is required on continuous path to obtain the required
machined profile.
Types of interpolations
Linear interpolation
Circular interpolation
1.10.1 Linear interpolation
It is the movement of tool in a straight line with any orientation. In part program it is given by
the G code G00 and G01.In this, the co-ordinate values of the destination point is given prefixed
with the code G01. Data processing unit calculate the slope and trace the path.G00 code is
used for the straight line travel of the tool with maximum feed rate. The G01 code is used for
the straight line travel of the tool with specified feed rate.
E.g: G00 X30 Y25
G01 X20 Y30 F25
G01 X0 Z0 F30
In this unit covers introduction to NC and CNC machines. Also, in this unit describe the
basic components of NC systems, Principle of NC machines and CNC part
programming. In this unit also covers the topics of G code , M code and interpolation.
Further Readings:
1.12 SAQ’s