Modelling Facilities Desired: A. Geometric Modelling Features
Modelling Facilities Desired: A. Geometric Modelling Features
Modelling Facilities Desired: A. Geometric Modelling Features
D. Drafting Features
These facilities refer to the way the model developed can be utilized for the purpose of transmitting
the information in hard copy form for other applications, such as part prints onto the shop floor, or
maintenance manuals for the equipment. A really large range of facilities are required in this
particular category, and it is sometimes treated as a separate module in the modeling system.
A large number of types of views should be obtained from the solid model of the geometry stored in
the data base. The types of views required may be , as for display functions, such as perspective
views, orthographic views (Fig.), isometric views, and axonometric views.
E. Programming Facility
Programming ability (MACRO programming) within a CAD system is going to be a very useful
feature. It is well-known that not all kinds of facilities would be available in any general purpose
CAD system. Therefore, it is necessary that the CAD system would have to be customised for a given
range of application processes specific to the company. For this purpose, if a programming facility
exists in a CAD system, it is possible to program specifically for an application, making use of all the
features available in the system for either modelling or for any specific application based on the
information generated during the modelling. Some such examples are, the GRIP in Unigraphics and
GLUE in CAM-X. The availability of such a program helps the user to input the least amount of
information for any required design, if the application programs are written well using the
programming language.
F. Analysis Features
In this range, the kind of analysis facilities that are required to be carried on the product models being
generated should be considered. The simplest kind to the most sophisticated features may be available
under this category. The simplest facilities may be calculating perimeter, area, volume, mass, centre
gravity, moment of inertia, radius of gyration, etc.
G. Connecting Features
Modelling is only the start of the complete process of a product evolution, and as such the data
generated is used directly by the other systems. It is, therefore, necessary that the internal data format
in which the data is stored by the modelling system should be well documented and should also have
very good connectivity (data interfacing) with other allied modules. Ideally, an integrated data base
structure would be useful wherein all the various modules share the common data base. However, this
would only be possible if all the modules are developed at a single developer as in the case of
Computer vision or Unigraphics for CAD/CAM integration.
Numerical Control
An operational numerical control system consists of the following three basic components:
1. Program of instructions
2. Controller unit, also called a machine control unit (MCU)
3. Machine tool or other controlled process
Program of instructions
The program of instructions is the detailed step-by-step set of directions which tell the
machine tool what to do. It is coded in numerical or symbolic form on some type of input
medium that can be interpreted by the controller unit. The most common input medium today
is l-in.-wide punched tape. Over the years, other forms of input media have been used,
including punched cards, magnetic tape, and even 35-mm motion picture film.
There are two other methods of input to the NC system which should be mentioned. The
first is by manual entry of instructional data to the controller unit. This method is called
manual data input, abbreviated MDI, and is appropriate only or relatively simple jobs where
the order will not be repeated.
The second other method of input is by means of a direct link with a computer. This is called
direct numerical control, or DNC.
The program of instructions is prepared by someone called a part programmer. The
programmer's job is to provide a set of detailed instructions by which the sequence of
processing steps is to be performed. For a machining operation, the processing steps involve
the relative movement between the cutting tool and the workpiece.
Controller unit
The second basic component of the NC system is the controller unit. This consist of the
electronics and hardware that read and interpret the program of instruction and convert it into
mechanical actions of the machine tool. The typical elements of a conventional NC controller
unit include the tape reader, a data buffer, signal output channels to the machine tool,
feedback channels from the machine tool, and the sequence controls to coordinate the overall
operation of the foregoing elements. It should be noted that nearly all modern NC systems
today are sold with microcomputer as the controller unit. This type of NC is called computer
numerical control (CNC
The tape reader is an electromechanical device for winding and reading the punched tape
containing the program of instructions. The data contained on the tape are read into the data
buffer. The purpose of this device is to store the input instructions in logical blocks of
information. A block of information usually represents one complete step in the sequence of
processing elements. Another element of the NC system, which may be physically part of the
controller unit or part of the machine tool, is the control panel. The control panel or control
console contains the dials and switches by which the machine operator runs the NC system.
The third basic component of an NC system is the machine tool or other controlled
process. It is the part of the NC system which performs useful work. In the most common
example of an NC system, one designed to perform machining operations, the machine tool
consists of the worktable and spindle as well as the motors and controls necessary to drive
them. It also includes the cutting tools, work fixtures, and other auxiliary equipment needed
in the machining operation.
THE NC PROCEDURE
3. Tape preparation.
A punched tape is prepared from the part programmer's NC process plan. In manual part
programming, the punched tape is prepared directly from the part program manuscript on a
typewriter like device equipped with tape punching capability. In computer-assisted part
programming, the computer interprets the list of part programming instructions, performs
the necessary calculations to convert this into a detailed set of machine tool motion
commands, and then controls a tape punch device to prepare the tape for the specific NC
machine.
4. Tape verification.
After the punched tape has been prepared, a method is usually provided for checking the
accuracy of the tape. Sometimes the tape is checked by running it through a computer
program which plots the various tool movements (or table movements) on paper..In this way,
major errors in the tape can be discovered. The "acid test" of the tape involves trying it out
on the machine tool to make the part. A foam or plastic material is sometimes uses this tryout
5. Production
The final step in the NC procedure is to use the NC in production. This involves ordering the
raw work parts, specifying and preparing tooling and any special fixturing that may be
required, and setting up the machine tool for the job. The machine tool operator's function
during product to load the raw work part in the machine and establish the starting position of
cutting tool relative to the workpiece. The NC system then takes over machines the part
according to the instructions on tape.
NC COORDINATE SYSTEMS
Two axes, x and y, are defined in the plane of the table, as shown in Fig. The z axis is
perpendicular to this plane and movement in the z direction is controlled by the vertical
motion of the spindle. The positive and negative directions of motion of tool relative to table
along these axes. NC drill presses are classified as either two-axis or three-axis machine
depending on whether or not they have the capability to control the z axis.
For turning operations, two axes are normally all that are required to command the movement
of the tool relative to the rotating workpiece. The z axis is the axis of rotation of the workpart,
and x axis defines the radial location of the cutting tool.
The purpose of the coordinate system is to provide a means of locating the tool in relation to
the workpiece. Depending on the NC machine, the part programmer may have several
different options available for specifying this location.
NC machines have either of two methods for specifying the zero point-
The first possibility is for the machine to have a fixed zero. In this case, the origin is
always located at the same position on the machine table. Usually, that position is the
southwest corner (lower left-hand corner) of the table and all tool locations will be defined by
positive x and y coordinates.
The second and more common feature on modern NC machines allows the machine
operator to set the zero point at any position on the machine table. This feature is called
floating zero. The part programmer is the one who decides where the zero point should be
located. The decision is based on part programming convenience.
Another option sometimes available to the part programmer is to use either absolute
system of tool positioning or an incremental system. Absolute positioning means that the tool
locations are always defined in relation to the zero point.
If a hole is to be drilled at a spot that is 8 in. above the x axis and 6 in. to the right of
the y axis, the coordinate location of the hole Would be specified as x = +6.000 and y =
+8.000.
By contrast, incremental positioning means that the next tool location must be defined
with reference to the previous tool location. If in our driling example, suppose that the
previous hole had been drilled at an absolute position of x = +4.000 and y = +5.000.
Accordingly, the incremental position instructions would be specified as x = +2.000 and y =
+3.000 in order to move the drill to the desired spot.
2. Straight-cut NC
Straight-cut control systems are capable of moving the cutting tool parallel to one of the
major axes at a controlled rate suitable for machining. It is therefore appropriate for
performing milling operations to fabricate workpieces of rectangular configurations. With
this type of NC system it is not possible to combine movements in more than a single axis
direction.
3. Contouring NC
Contouring is the most complex, the most flexible, and the most expensive types machine
tool control. It is capable of performing both PTP and straight-cut operations. In addition, the
distinguishing feature of contouring NC systems is their capacity for simultaneous control of
more than one axis movement of the machine tool. The path of the cutter is continuously
controlled to generate the desired geometry of the workpiece. For this reason, contouring
systems are also called continuous-path NC systems.
In order to machine a curved path in a numerical control contouring system the direction of
the feed rate must continuously be changed so as to follow the path. This is accomplished by
breaking the curved path into very short straight-line segments that approximate the curve.
Numerical control systems are widely used in industry today, especially in the metalworking
industry. By far the most common application of NC is for metal cutting machine tools.
Within this category, numerically controlled equipment has been built to perform virtually
the entire range of material removal processes, including:
Milling
Drilling and related processes
Boring
Turning
Grinding
NC machine tools are appropriate for certain jobs and inappropriate for others. Following are
the general characteristics of production jobs in metal machining for which numerical
control would be most appropriate;
1. Parts are processed frequently and in small lot sizes.
2. The part geometry is complex.
3. Many operations must be performed on the part in its processing
4. Much metal needs to be removed.
5. Engineering design changes are likely.
6. Close tolerances must be held on the workpart.
7. It is an expensive part where mistakes in processing would be costly.
8. The parts require 100% inspection.
Advantages of NC
1. Reduced nonproductive time. Numerical control has little or no effect on the basic
metal cutting (or other manufacturing) process. However, NC can increase the
proportion of time the machine is engaged in the acutal process. It accomplishes this
by means of fewer setups, less time in setting up, reduced workpiece handling time,
automatic tool changes on some machines, and so on.
2. Reduced fixturing. NC requires fixtures which are simpler and less costly to fabricate
because the positioning is done by the NC tape rather than the
3. Reduced manufacturing lead time. Because jobs can be set up more quickly with NC
and fewer setups are generally required with NC, the lead time to deliver a job to the
customer is reduced.
Disadvantages of NC
1. Higher investment cost. Numerical control machine tools represent a more sophisticated
and complex technology. This technology costs more to buy than its non-NC counterpart.
2. Higher maintenance cost. Because NC is a more complex technology and because NC
machines are used harder, the maintenance problem becomes more acute.
3. Finding and/or training NC personnel. Certain aspects of numerical control shop
operations require a higher skill level than conventional operations Part programmers and
NC maintenance personnel are two skill areas where available personnel are in short
supply. The problems of finding, hiring, and training these people must be considered a
disadvantage to the NC shop.
NC part programming
Numerical control part programming is the procedure by which the sequence of processing
steps to be performed on the NC machine is planned and documented. It involves the
preparation of a punched tape (or other input medium) used to transmit the processing
instructions to the machine tool.
It is appropriate to begin the discussion of NC part programming by examining the way in
which the punched tape is coded. Coding of the punched tape is concerned with the basic
symbols used to communicate a complex set of instructions to the NC machine tool. In
numerical control, the punched tape must be generated whether the part programming is done
manually or with the assistance of some computer package. With either method of part
programming, the tape is the net result of the programming effort.
manufactured to read the tapes. The punched tape used for NC is 1 in. wide. there are eight
regular columns of holes running in the lengthwise direction of the tape. There is also a ninth
column of holes between the third and fourth regular columns. However, these are smaller
and are used as sprocket holes for feeding the tape.
There are two basic methods of preparing the punched tape;
The first method is associated with manual part programming and involves the use of
a typewriter like device. The operator types directly from the part programmer's
handwritten list of coded instructions. This produces a typed copy of the program as
well as the punched tape.
By either method of preparation, the punched tape is ready for use. During production on a
conventional NC machine, the tape is fed through the tape reader once for each workpiece. It
is advanced through the tape reader one instruction at a time. While the machine tool is
performing one instruction, the next instruction is being read into the controller unit's data
buffer. This makes the operation of the NC system more efficient. After the last instruction
ha$ been read into the controller, the tape is rewound back to the start of the program to be
ready for the next workpart.
A binary digit is called a bit. It has a value of 0 or 1 depending on the absence or presence of
a hole in a certain row and column position on the tape. (Columns of hole positions run
lengthwise along the tape. Row position run across the tape.) Out of a row of bits, a character
is made. A character is a combination of bits which represents a letter, number, or other
symbol. A word is a collection of characters used to form part of an instruction. Typical NC
words are x position, y position, cutting speed, and so on.
NC words
Following is a list of the different types of words in the formation of a block.
SEQUENCE NUMBER (n-words): This is used to identify the block.
PREPARATORY WORD (g-words): This word is used to prepare the controller for
instructions that are to follow.
COORDINATES (x-, y-, and z-words): These give the coordinate positions of the
tool.
FEED RATE (f-word): This specifies the feed in a machining operation.
CUTTING SPEED (s-word): This specifies the cutting speed of the process, the rate
& which the spindle rotates.
TOOL SELECTION (t-word): This word would be needed only for machines with a
too turret or automatic tool changer.
MISCELLANEOUS FUNCTION (m-word): The m-word is used to specify certain
miscellaneous or auxiliary functions which may be available on the machine tool.
APT is not only an NC language; it is also the computer program that per forms the
calculations to generate cutter positions based on APT statements. APT is a three-
dimensional system that can be used to control up to five axes. APT can be used to control a
variety of different machining operations. There are over 400 words in the APT vocabulary.
There are four types of statements in the APT language:
1. Geometry statements. These define the geometric elements that comprise the workpart.
They are also sometimes called definition statements.
2. Motion statements. These are used to describe the path taken by the cutting tool.
3. Postprocessor statements. These apply to the specific machine tool and control system.
They are used to specify feeds and speeds and to actuate other features of the machine.
4. Auxiliary statements. These are miscellaneous statements used to identify the part, tool,
tolerances, and so on.
Geometry statements
To program in APT, the workpart geometry must first be defined. The tool is subsequently
directed to move to the various point locations and along surfaces of the workpart which have
been defined by these geometry statements. The definition of the workpart elements must
precede the motion statements.
The general form of an APT geometry statement is this:
symbol = geometry type/descriptive data
Example:-
For point P1 =POINT/5.0,4.0,0.0
Line L3 = LINE/P3, P4
Or
L4 = LINE/P5, PARLEL, L3
Plane PL1 = PLANE/PI, P4, P5
OR
PL2 = PLANE/P2, PARLEL, PL1
Circle Cl = CIRCLE/CENTER, PI, RADIUS, 5.0
Example:
PO = POINT/0, -1.0,0
P1 = POINT/6.0, 1.125,0
P2 = POINT/0, 0, 0
P3 = POINT/6.0, 0, 0
P4 = POINT/1.75, 4.5,0
LI = LINE/P2, P3
C1 = CIRCLE/CENTER, P1, RADIUS, 1.125
L2 = LINE/P4, LEFT, TANTO, C1
L3 = LINE/P2, P4
PL1 = PLANE/P2, P3, P4
Motion statements
APT motion statements have a general format, just as the geometry statements do. The
general form of a motion statement is
motion command/descriptive data
Example of a motion statement is
GOTO/P1
FROM/TARG
FROM/-2.0, -2.0, 0.0
The GODLTA command specifies an incremental move for the tool. For example, the
statement
GODLTA/2.0, 7.0, 0.0
Example:
P1 = POINT/1.0.2.0,0
P2 = POINT/1.0. 1.0,0
P3 = POINT/3.5, 1.5, 0
P0 = POINT/- 1.0, 3.0, 2.0
FROM/P0
GOTO/P1
GODLTA/0,0,-1.0
GODLTA/0,0,+1.0
GOTO/P2
GODLTA/0,0,-1.0
GODLTA/0,0,+1.0
GOTO/P3
GODLTA/0,0,-1.0
GODLTA/0,0,+1.0
GOTO/P0
This is not a complete APT program because it does not contain the necessary auxiliary and
postprocessor statements. However, the statement sequence demonstrates how geometry and
motion statements can be combined to command the tool through a series of machining steps.
CONTOURING MOTIONS.
Contouring commands are somewhat more complicated because the tool's position must be
continuously controlled throughout the To accomplish this control, the tool is directed along
two intersecting surfaces. These surfaces have very specific names in APT ;
1. Drive surface. This is the surface that guides the side of the cutter.
2. Part surface. This is the surface on which the bottom of the cutter rides. The "part
surface" may or may not be an actual surface of the workpar.
3. Check surface. This is the surface that stops the movement of the tool in its current
direction. In a sense, it checks the forward movement of the tool.
The APT contour motion statement commands the cutter to move along the drive and part
surfaces and the movement ends when the tool is at the check surface. There are six motion
command words:
GOLFT GOFWD GOUP
GORGT GOBACK GODOWN
Postprocessor statements
To write a complete part program, statements must be written that control fie operation of
the spindle, the feed, and other features of the machine tool. These are called postprocessor
statements. Some of the common postprocessor statements are:
COOLNT/
END
FEDRAT7
MACHIN/
RAPID
SPINDL/
TURRET/
Auxiliary statements
The complete APT program must also contain various other statements, called auxiliary
statements. These are used for cutter size definition, part identification, and so on. The
following APT words used in auxiliary statements are:
CLPRNT INTOL/
CUTTER OUTTOL/
FINI PARTNO
Functions of CNC
The principal functions of CNC are:
1. Machine tool control
2. In-process compensation
3. Improved programming and operating features
4. Diagnostics
MACHINE TOOL CONROL- The primary function of the CNC system is control
of the machine tool. This involves conversion of the part program instructions into
machine tool motions through the computer interface and servosystem. Some of the
control functions, such as circular interpolation, can be accomplished more efficiently
with hard wired circuits than with the computer. This fact has lead to the development
of two alternative controller designs in CNC:
1. Hybrid CNC
2. Straight CNC
In the hybrid CNC system, the controller consists of the soft-wired computer plus
hard-wired logic circuits. The hard-wired components perform those functions which
they do best, such as feed rate generation and circular interpolation. The computer
performs the remaining control functions plus other duties not normally associated
with a conventional hard-wired controller. There are several reasons for the popularity
of the hybrid CNC configuration. As mentioned previously, certain NC functions can
be performed more efficiently with the hard-wired circuits.
The straight CNC system uses a computer to perform all the NC functions. The only
hard-wired elements are those required to interface the computer with the machine
tool and the operator's console. Interpolation, tool position feedback, and all other
functions are performed by computer software.
Advantages of CNC
1. The part program tape and tape reader are used only once to enter the program into
computer memory.
2. Tape editing at the machine site. The NC tape can be corrected and even optimized
(e.g., tool path, speeds, and feeds) during tape tryout at the site of the machine tool.
3. Metric conversion- CNC can accommodate conversion of tape prepared in Units of
inches into the International System of units.
4. Greater flexibility- One of the more significant advantages of CNC over conventional
NC is its flexibility.
5. User-written programs - One of the possibilities not originally anticipated for CNC
was the generation of specialized programs by the user.
6. Total manufacturing system- CNC is more compatible with the use of a computerized
factory-wide manufacturing system.
Functions of DNC
The principal functions of DNC are:
1. NC without punched tape
2. NC part program storage
3. Data collection, processing, and reporting
4. Communications
Advantages of DNC
1. Elimination of punched tapes and tape readers
2. Greater computational capability and flexibility
3. Convenient storage of NC part programs in computer files
4. Programs stored as CLFILE
5. Reporting of shop performance
6. Establishes the framework for the evolution of the future computer automated factory