2
2
The initial NC prototype machine built in the MIT Servomechanism Laboratories used vacuum
tubes for the controller hardware.
These components were so large that the control unit consumed more space than the machine
tool. But that was the state of the technology in controls at that time. By the time the first NC
machines were sold to the commercial market several years later, electromechanical relays were
substituted for the vacuum tubes.
The problem with these relay-based controls was their large size and poor reliability. Even the
relatively simple point-to- point logic required several large cabinets filled with relays. The relays
were susceptible to wear, and controls requiring a large number of these components were
inherently unreliable.
The use of transistors based on discrete semiconductor technology formed the next generation of
NC controllers. The use of transistors helped to reduce the number of electromechanical relays
required.
Accordingly, this increased the reliability because the use of transistors avoided the wear problem.
It also contributed to a downsizing of the controller cabinet and allowed systems designers to build
more complex circuitry into the NC controller.
Features such as circular interpolation became practical with these controls.
Size and reliability still remained as problems with NC controls which used discrete
semiconductors. Also, the electronics were sensitive to heat, and fans or air conditioners were
required in the cabinets to operate under factory conditions.
Around 1965, integrated circuits were introduced for use in NC controls. This type of electronic
hardware brought significant improvements in size and reliability. The number of separate
components could be reduced by 90%.
Prof. Paras G. Vegada Department of Mechanical Engineering
Computer Aided Manufacturing (3161917) | Unit-2 NC & CNC 2.3
Machine Tools
There were corresponding savings in cost to the user. The trend toward LSI (large-scale integrated)
circuits has allowed more control features to be packaged into smaller control cabinets. Among
these features are circular and hyperbolic interpolation routines, inch-to-metric conversions, and
vector feed rate computations.
The next development in NC control marked the introduction of digital computers in NC controller
technology. This constituted a fundamental change in NC evolution. All of the previous controls
were made up of hard-wired components.
The functions that were performed by these control systems could not be easily changed, due to
the fixed nature of the hard-wired design. Digital computers, on the other hand, are based on a
different approach. In this new approach, the control functions were programmed into the
computer memory and could be changed by altering the program.
DNC was the first of the computer control systems to be introduced, around 1968. In the evolution
of computer technology, the computers of that era were quite large and expensive, and the only
feasible approach seemed to be to use one large computer to control a number of machine tools
on a time-shared basis.
The advantage of DNC was that it established a direct control link between the computer and the
machine tool, hence eliminating the necessity for using punched tape input. The tape and tape
reader were turning out to be the least reliable components in the conventional NC systems.
With the recognized trend toward smaller, less expensive computers, it soon became practical to
apply a single small computer to one machine tool. This concept came to be called computer
numerical control (CNC).
The CNC systems were first commercially introduced around 1970, and they applied the soft-wired
controller approach to good advantage.
One standard computer control unit could be adapted to various types of machine tools by
programming the control functions into the computer memory for that particular machine. Today,
because of the advantages of CNC, very few conventional hard-wired NC systems are sold in the
United States.
Advances in computer technology have continued to provide smaller and smaller digital control
devices which have greater speed and capacity at lower cost.
This has permitted the machine tool builders to design the CNC control panel as an integral part of
the machine tool rather than as a separate stand-alone cabinet. This reduces floor space
requirements for the machine. The VLSI (very large scale integrated) circuits used in these
controllers are advantageous to the machine tool designer and to the machine user.
Fewer components in the controller means it is easier and less expensive for the machine tool
builder to fabricate. Fewer circuit boards, which are readily replaced, reduce the burden on the user
for maintenance and repair.
i. Mechanical (Electro-mechanical)
ii. Photo electrical
iii. Pneumatic
i. Mechanical Tape Reader
The principle of a simple mechanical device for reading the punched tape is shown in Figure 2.3.
If there is no hole in the tape the contacts remain open but when a hole is present in the tape, its
presence is detected by a probe and bending of flexible strip causes the contacts to close.
The presence of holes in the tape causes the switches to close. The switch is in ON position (hole)
or OFF position (no hole) accordingly.
The operation of an optical photo electric tape reader is based upon the principle that if a beam of
light falls on a photoelectric cell, the latter generates an electric signal.
The schematic diagram of a photoelectric tape reader is shown in Figure 2.4. The punched tape is
fed between a light source and a series of photo-cells. Whenever a hole is present in the tape, light
from the light source passes through the hole and energizes the corresponding photo-cell which
converts the light energy into electrical energy to produce a pulse i.e. ON position.
The pulse is amplified and processed into a form suited to the control circuit. When there is no
hole, the light from the light source does not reach the photo-cell, hence no signal is produced and
the position is recorded as OFF.
A pneumatic tape reader is shown in Figure 2.5. The tape is fed between a series of air jets (8 No.),
covering the complete pattern of holes which is possible to be punched in a block of information
on the tape and tape support plate.
The compressed air jets are directed through specially designed tubes which have two openings.
The first opening called, main outlet, is near the tape and second opening is connected to a signal
detector.
If there is no hole in the tape, the tape covers the main outlet and the free escape of air is restricted
and a back pressure is developed in the supply tube. This back pressure is sensed by the signal
detector and position is recorded as '0' i.e. OFF.
But if a punched hole in the tape comes in front of the main outlet, the air is allowed to escape
freely and no back pressure is built up in the supply tube. This loss of back pressure is detected by
the signal detector and position is recorded as '1' i.e. ON. The support plate prevents the tape from
being blown away by the compressed air coming from main outlet.
The simplest example of a point-to-point (PTP) NC machine tool is a drilling machine. In a drilling
machine, the work piece is moved along the axes of motion until the center of the hole to be drilled
is exactly beneath the drill.
Continuous Path
continuous path machine has the ability to move its drive motors at varying rates of speed while
positioning the machine which facilitates cutting of arc segments and angles.
The most common type of continuous path operations are milling and lathe operations. In
continuous path machine, the tool is cutting while the axes of motion are moving, as for example,
in a milling machine.
All axes of motion might move simultaneously, each at a different velocity. When a non-linear path
is required, the axial velocity changes, even within the segment. For example, cutting a circular
contour requires a sine rate change in one axis, while the velocity of the other axis is changed at a
cosine rate.
In contouring machines, the position of the cutting tool at the end of each segment together with
the ratio between the axial velocities determines the desired contour of the part and at the same
time the resultant feed also affects the surface finish. Figure 2.9 shows continuous path NC
system for 2D operations.
X-axis: The X-axis is always horizontal and is always parallel to the work holding surface. If the Z-
axis is vertical, as in vertical milling machine, positive X-axis (+X) movement is identified as being
to the right, when looking from the spindle towards its supporting column.
If Z-axis is also horizontal as in turning centres, positive X-axis motion is to the right, when looking
from the spindle towards the work piece.
Z-axis: The Z-axis of motion is always the axis of the main spindle of the machine. It does not
matter whether the spindle carries the workpiece or the cutting tool.
Prof. Paras G. Vegada Department of Mechanical Engineering
2.16 Computer Aided Manufacturing (3161917) | Unit-2 NC & CNC
Machine Tools
If there are several spindles on a machine, one spindle is selected as the principal spindle and its
axis is then considered to be Z-axis.
On vertical machining centres, the Z-axis is vertical and on horizontal machining centres and
turning centres, the Z-axis is horizontal. Positive Z movement (+ Z) is in the direction that increases
the distance between the workpiece and the tool.
Convention of designating the Z-axis on milling, drilling and turning machines is shown in Figure
2.11.
Y-axis: The Y-axis is always at right angles to both the X-axis and Z-axis. Positive Y-axis movement
(+ Y) is always such as to complete the standard 3-dimensional co-ordinate system
Rotary axis: The rotary motion about the X, Y and Z-axis are identified by A, B, C respectively.
Clockwise rotation is designated positive movement and counter-clockwise rotation as negative
movement. Positive rotation is identified looking in + X, + Y and +Z directions respectively
To meet these requirements in CNC machine tool slide ways, the techniques used include
hydrostatic slideways, linear bearings with balls, rollers or needles and surface coatings.
3. Spindle
At the high cutting speeds and high material removal rates, the spindle carrying the work piece or
the tool are subject to deflection and thrust forces.
To ensure increased stability and minimize torsional strain, the machine spindle is designed to be
short and stiff and the final drive to the spindle is located as near to the front bearing as possible.
The rotational accuracy of the spindle is dependent on the quality and design of bearings used.
The ball or roller bearings are suitable for high speeds and high loads because of low friction, lower
wear rate and lesser liability to incorrect adjustment and ease of replacement when necessary. For
efficient service and accuracy the bearings should be of high quality.
The vibrations and noise in the spindle can be reduced by using toothed belts and accurate and
balanced gears. Adequate supply of lubricants should be ensured to the spindle bearings.
4. Drive units
a. Drive motors are required to perform the following functions:
b. To drive the main spindle (Spindle drive)
2.13.1 Subroutines
Subroutine also called subprogram are a powerful time saving technique.
The subroutine provide the capability of programming certain fixed sequence or frequently
repeated patterns.
Subroutines are in fact independent programmes with all the features of a usual part programme.
Subroutines are stored in the memory under separates programme number.
2.13.2 Do-loops
The ability to write the programme with loops enable the programmer to instruct the control unit
to jump back to an earlier part of the programme and execute the intervening programme blocks a
specified numbers of time.
The DO-LOOPS statement is given in the main programme itself and it is necessary to give
following information on the form of symbols or codes.
▪ Start the Loop.
▪ Number of repeats of the Loop.
▪ End of the Loop.
DO-LOOPS is used for repetitive programming in cases such as Turning & Milling operation where
it is not possible to remove the entire material in the single pass and more than one cut have to be
taken to machine the component to require size or where uniform repetition is required like cutting
uniformly spaced grooves in a shaft or drilling of a pattern of hole in plate.
2.14 APT
APT stands for automatically programmed tools. This is the most widely used and most
comprehensive part programming language available.
2.15 Referances
B. S. Pabla, M. Adithan “CNC Machines” 3rd ed. New Age International Publishers.
Lalit Narayan “CAD/CAM ” Prentice Hall of India Private Limited