CHAPTER 7 CNC
CHAPTER 7 CNC
CHAPTER 7 CNC
The word Automation is derived from the greek word ‘automotos’ meaning of self acting
Automation can generally be defined as the process of following a predetermined set of operation
with little or no human interventions using specialized equipments and devices that perform and
control the manufacturing process. Automation is a technology concerned with the application
mechanical, electronic and computer based system to operate and control the production.
Increase productivity
Reduced cost of labour and dependence of labour shortage
Improved quality
Reduced manufacturing time
Increased safety or reduced risk of humans
Reduced dependence on operate skills
a) Fixed Automation
b) Programmable Automation
c) Flexible Automation
A typical numerical control machine tool system contains three basic components
1. A program, that is a set of instructions
2. A machine control unit
3. The machine tool
Tool
Program
Workpiece
Machine Control
Unit
In NC system all the information which is required for operating a component viz, dimensional
information, speed, feed and cutting speed is stored in a coded form as a part program. The MCU is
further divided into two elements, data processing unit (DPU) and control loop unit (CLU). In the DPU
processes the coded data is read from the tape or other storage media and passes information on the
position of each axis required direction of motion, speed, fuel, auxiliary function to clu. Geometric and
kinetic data are fed from DPU to CLU. The CLU then governs the physical system based on data received
from DPU. According to the instructions received through the MCU finally the machine tool performs
the work.
The major advantages of NC over conventional methods of machine control are as follows:
Higher precision: NC machine tool are capable of machining at very close tolerances, in
some operations as small as 0.005 mm;
machining of complex three-dimensional shapes: with the problem of milling of
complex shapes;
better quality: NC systems are capable of maintaining constant working conditions for
all parts in a batch thus ensuring less spread of quality characteristics;
Higher productivity: NC machine tools reduce drastically the non machining time.
Adjusting the machine tool for a different product is as easy as changing the computer
Program and tool turret with the new set of cutting tools required for the particular part.
multi-operational machining: some NC machine tools, for example machine centers,
are capable of accomplishing a very high number of machining operations thus reducing
Significantly the number of machine tools in the workshops.
low operator qualification: the role of the operation of a NC machine is simply to
upload
the workpiece and to download the finished part. In some cases, industrial robots are
employed for material handling, thus eliminating the human operator.
2.) CNC ( Computer Numerical Control) Machine Tool Description, Technology and Practice
CNC is a system in which a control microcomputer is an integral part of machine or piece equipmet.
The machine operator, can however, easily and manually program on board computers. The operator
can modify the program directly , prepare programs for different parts and store the program.
Because of the availability of small computers having a large memory , microprocessor and
program editing cababilities , CNC system are widely used today.
A typical CNC ( Computer numerical control) machine tool system contains Six basic components
Device
Display Unit
Miscellaneous Funcion
Position
Feedback
Input Device:
a.) Floppy disk is a small magnetic storage device for CNC data input. However, the method has to be
proven to be quite problematic in the long run. As floppies have tendency to degrade alarmingly fast
and are sensitive to large magnetic fields as well as the dust and scratches that usually existed on the
shop floor.
b.) USB (Universal Serial Bus) Flash Drive: A USB flash drive is a removable and rewritable portable hard
drive with compact size and bigger storage size than a floppy disk.
In recent years, all computer support USB flash drives to read and write data that makes it
become more and more popular in CNC machine.
c.) Serial Communication: The data transfer between the computer and a CNC machine tool is often
accomplished through a serial communication port.
Part program can be downloaded into the memory of a machine tool or uploaded to the
computer for temporary storage by running a communication program on the computer and settting up
the machine control to interact with the communication software.
The machine Control unit is the unit of the CNC system. There are two sub units in the machine control
unit: Data processing Unit (DPU) and the Control Loop Unit (CLU).
On receiving a part program, the DPU firstly interprets and encodes the part program into the internal
machine codes. The interpolater of the DPU then calculate the intermediate positions of the motions in
terms of BLU( basic length unit) which is the smallest unit length that can be handled by the controller.
The calculated data are passed to CLU for the further action.
The data from the DPU are converted into electrical signals in the CLU to control thedriving system to
perform the required motions. Other functions such as machine spindle ON/OFF, coolant ON/OFF, tool
clamp ON/OFF are also controlled by this unit according to the internal machine codes.
Machine Tool:
This can be any type of machine tool or equivalent. In order to obtain high accuracy and repeatability,
the design and make of the machine slide and the driving leadscrew of a cnc machine is of vital
importance. Other design features such as rigid and heavy machine structure, short machine table
overhang, quick charge tooling system, etc also contribute to the high accuracy and high repeatability of
CNC machines.
Driving System:
The driving system is an important component of a CNC machine as the accuracy and repeatability
depend very much on the characteristics and performance of the driving system. The requirement is
that the driving system has to response accuracy according to the programmed instructions. The driving
system usually uses electric motors although hydraulic motors are sometimes used for large machine
tools. The motor is coupled either directly or through a gear box to the machine leadscrew to moves the
machine slide or the spindle. Three types of electrical motors are commonly used, i) DC servo motor ii)
AC servo motor iii) stepping motor.
Feedback Device
In order to have CNC machine operating accurately, the positional values and speed of the axes need to
be constantly updated. Two types of feedback devices are normally used, positional feedback device and
velocity feedback device.
There are two types oa positional feedback devices: linear transducer for direct positional measurement
and rotary encoder for angular or indirect linear measurement.
Linear transducers- A linear transducer is a device mounted on the machine table to measure the actual
displacement of the slide in such a way that backlash of screws, motors etc would not cause any error in
the feedback data. These device is considered to be the highest accuracy and also more expensive in
comparison woth other measuring devices mounted on screws or motors.
Rotary Encoders- A rotary encoder is a device monted at the end of the motor shaft or screw to measure
the angular displacement. This device cannot measure linear displacement directly so that error may
occur due to the backlash of screw and motor etc. Generally this error can be compensated for by the
machine duilder in the machine calibration process.
The actual speed of the motor can be measured in terms of voltage generated from a tachometer
mounted at the end of the motor shaft. DC tachometer is essentially a small generator that produces an
output voltage proportional to the speed. The voltage generated is compared with the command
voltage corresponding to the desired speed. The difference of the voltages can is then used to actuate
the to eliminate the error.
Display Unit:
The display unit serves as an interactive device between the machine and operator. When the machine
is running, the display unit displays the present status such as the position of the machine slide, the
spindle RPM, the feed rates, the part programs etc. Much other important information about the CNC
system can also displayed for maintenance and installation work. Such as machine parameters, logic
diagram of the programs controller, error message and diagnostic data.
CNC machines are widely used in metal cutting industry and are best used to produce the following
types of product:
- Parts that may have several engineering changes, such as during the development stage of a prototype
Some common types of CNC machines and instruments used in industry are as following:
Drilling Machine
Punching Machine
Grinding Machine
Industrial Robot
Increased Flexibility
Greater Flexibility
More Verstality
3.) Computer –aided Part programming:
Computer –aided part programming uses symbolic programming language that determines the co-
ordinate points of corners edges and surfaces of the part. Several language ( compilers) having various
features and applications are commercially available.
APT( Automatically Programmed Tools) was developed in the late 1950s. This language is still most
widely used in its various expanded forms.
1.) Axis of motion: In generally , all motions have 6 degrees of freedom. In other words, motion can be
resolved into 6 axes. Namely, 3 linear axes (X, Y and Z axis ) and # rotational axes (A, B, and C axis).
Z C Y
A X
a) Incremental system
This type of control always uses a reference to the preceding point in a sequence of points. The
disadvantage of this system is that if an error occurs, it will be accumulated.
b.) Absolute system
In an absolute system all references are made to the origin of the coordinate system. All commands of
the motion are defined by the absolute coordinate referred to the origin.
Definition of programming
NC programming is where all the machining data are compoled and where data are translated into a
language which can be ubderstood by the control system of the machine tool. The manufacturing data is
as follows:
a.)machining sequence, classification of process, tool sart up point, cutting depth, tool path etc.
Program Structure
G 01
X 12.0
b.) Word: A block is composed of one or more words. A word is composed of an identification of leter
and a series of numerals, e.g. the command for a feed rate of 200mm/min is F200
c.) Address: The identification letter at the beginning of each word is called address. The meaning of the
address is in accordance with EIA( Electrinic Industries Assocoation) standard RS-274-D. the most
common address are listed below:
Function Address
Justification for a modern CNC (computer numerical control) machine tool is found in the non-
operational areas. These include better quality, fewer setups, better customer response, less fixturing,
and so on. With the new computer numerical controls, much of the detailed computational efforts are
handled by the control itself. This means the machinist or toolmaker can program easily in a user-
friendly mode right at the machine and can check as programming takes place. Depending upon the
situation, it is often possible to program a second job while the first is running. The expanded memory
capacity of the newer controls makes this possible.
The word ‘Robot’ was coined in 1920 by Czech author k. capek in his play R.U.R.( rossum’s Universal
Robots). ( Robota worker). An industrial robot has been defined as a reprogrammable multifunctional
manipulator, designed to move materials parts, tools and to perform by means of variable programmed
motions and to perform a variety of other task.
More generally, an industrial robot has been described by the international organization for
standardization (ISO) as follows:
A machine formed by a mechanism including several degree of freedom, often having the appearance
of one or several arms ending in a wrist capable of holding a tool , workpiece and inspection device.
Today, robots are widely used in the manufacturing and essembly tasks such as material handelling,
welding, part Assembly spray painting, loading and unloading, operating machines, space and undersea
exploration, prosthetic limbs for disabled and working in hazardous environment.