Académique Documents
Professionnel Documents
Culture Documents
LAB MANUAL
COMPUTER
AIDED
MANUFACTURING
(CAM)
(3361901)
th
6 SEMESTER
CERTIFICATE
Date of submission:___________.
Signature of Subject In charge:_______.
Signature of Head of the Department.____________.
INDEX
Teacher’s Sign:
DATE: _____________
Objectives:-
Pre-requisites:-
Students should have through knowledge of conventional machining process, tools and
operations, conventional machining tools and tool holding devices, basic electrical
engineering and control systems.
Theoretical Background:-
Computer Numerical control (CNC) is the numerical control system in which a dedicated
microprocessor is used to perform basic and advanced NC functions.
1. CNC Mills:
These machining centers use computer controls to cut different materials. They are able to
translate programs consisting of specific number and letters to move the spindle to various
locations and depths. Used to make 3D prototypes, moulds, cutting dies, printing plates and
sights.
2. CNC Lathes:
They cut metal that is often turning at fast speeds. CNC lathes are able to make fast, precision
cuts using indexable tools and drills with complicated programs. Normally, they cannot be
cut on manual lathes. They often include 12 tool holders and coolant pumps to cut down on
tool wear.
3. Turning Centre:
Turning Centers are capable of executing many different types of lathe cutting operations
simultaneously on a rotating part.
4. CNC Grinder:
Grinding metal process uses a coated wheel that slowly removes metal to create a part.
Through the years, grinding was done on a manual machine, but with the advent of CNC
technology, the grinding process has advanced
5. CNC Drilling:
Drilling is commonly used for mass production. The drilling machine (drilling press) is used
to create or enlarge holes. Drilling machine for different jobs; the bench drill: For drilling
holes through raw materials such as wood, plastic and metal The pillar drill: A larger version
that stands upright on the floor. As the bench drill, it can be used to drill larger pieces of
materials and produce bigger holes.
6. CNC Boring:
Wire EDM machines utilize a very thin wire (.0008 to .012in.) as an electrode. The wire is
stretched between diamond guides and carbide that conduct current to the wire and cuts the
part like a band saw. Material is removed by the erosion caused by a spark that moves
horizontally with the wire.
The machine utilizes an intense beam of focused laser light to cut the part. Material under the
beam experiences a rapid rise in temperature and is vaporized. Laser cuts with a minimum of
distortion, no mechanical cutting forces.
1. Cutting 6. Bending
2. Drilling 7. Spinning
3. Milling 8. Pinning
4. Welding 9. Gluing
1. Mounting of jobs:
CNC machine tools are also general purpose machine tools distinguished for;
-Versatility
-Dimensional accuracy
-Computer control.
Successful accomplishment of the aforesaid of CNC machines necessitates the job- tool and
their mounting to have some assential characteristics.
- Quick and easy loading and unloading of unfinished and finished job to and from the
machine tool, preferably by robots.
In CNC lathes turning centres, job are mounted on the spindle by using quick acting collet
chucks operated pneumatically or hydraulically. In CNC milling and drilling machines the
job are clamped directly or in a vice on the table.
- All the tools to be used in a specific machine tool must have same shank of standard
dimensions.
The sophisticated and precision CNC machine tools essentially characterized by quick and
accurate mounting rigid clamping of the cutting tools and also proper and rigid mounting of
the blanks in appropriate positions.
The feedback unit is essentially a measuring system, which continuously monitors the
position of slides or speed at which the motors are running. Information from feedback unit
are continuously transmitted to the CNC controller. There are two types of feedback systems
used direct and indirect.
The direct feedback system uses linear scales which are mounted directly on the slides. The
measurements are not affected by slide play or backlash in the ball screw.
The indirect feedback system generally uses resolvers or rotary encoders. The feedback
system is mounted on the motor itself which measures the movements of the motor and not
the slide. In this case, error due to backlash needs to be compensated. Positioning errors, due
to all fixed mechanical errors such as backlash and ballscrew pitch errors, can be
compensated through the axis calibration feature of the controller.
Encoders can generally be recognized into optical encoders, magnetic encoders and
mechanical contact types. Optical encoders are widely used in precision tools due to their
high accuracy, reliability and relatively low cost. There are two basic types of encoders:
rotary and linear. While the technical principles behind them are similar specific applications
differ widely.
Student activity:
4. Tabulate sensor/ Feedback devices with type, specification and purpose in given format:
Related Questions:-
3. Why welded steel structure is not preferred for CNC machine tools?
6. Suggest the type of encoders for the following applications. Justify your suggestion
in each case.
DATE: _____________
Objectives:-
Pre-requisites:-
Theoretical Background:-
The NC programs are to be written in coded form and fed to the controller. The Machine
Control Unit (MCU) interprets and executes programmed information.
A frequently used coding system is the binary Coded Decimal or BCD system. A newer
coding is the American Standard Code for Information Interchange (ASCII). Because of its
wide acceptance, it has become the International Standard Organization (ISO) code set.
1. Fixed sequential format: In fixed sequential format, each block consists of exactly the
same number of words entered in a specific order. Each word consists of a fixed
number of digits.
For example,
2. Tab sequential Format: The Tab sequential format is essentially the same as the fixed
sequential format, but the difference is that the TAB character precedes each word
within a block, except for the first word. In the TAB sequential format, Tab character
for a specific word does not need to be followed by a number if the number is not
required in that block.
For example,
0050 TAB 00 TAB +0025400 TAB +0012500 TAB –0000000 TAB 0000 TAB 00 E0B
0060 TAB 01 TAB TAB TAB – 0010000 TAB 0200 Tab 08 E0B
The word address format is used in all modern CNC machine tools. It is much easier to
use than other two formats. A word consists of a letter followed by associated numeric
data. Normally, only the negative sign has to be entered if required. Different words have
different numbers of digits. A part programmer should know the format specification for
the machine tool that will use the program. Following is an example of word address
format.
For example,
A CNC part program is essentially a string of characters. The following is a set of valid
characters for a part program.
(iii) Operators: Plus (+), Minus (-), Equal (=), Multiply (*), Divide or slash (/)
(a) Bracket ( )
Resources required:-
Procedure:-
1. Open CNC simulator from computer system as per instruction given by your lab
teacher.
6. Run part program and observe each and every steps of operation.
7. Take a screen shot of selected raw material and final work piece for lab report.
8. Save part program, screen shots in proper folder instructed by lab teacher.
9. Shut down system properly and leave the lab after permission of your lab teacher.
Student activity:
Prepare the process plan and write the part program for the parts shown in figures. Assume
suitable raw material size.
Figure-1:
Figure-2:
Example:
G28 U0 W0;
M05;
M38;
M10;
M30;
Observations:-
Results:-
Attached part program and screen shots of raw material and final workpiece in your lab
report.
Related Questions:-
DATE: _____________
Objectives:-
Pre-requisites:-
Theoretical Background:-
Linear Interpolation:
The G01 function is called linear interpolation, linear cutting or straight cutting, it is used to
cut segments of a straight line between two points.
Syntax:
Absolute programming:
Incremental Programming:
Where, U and W are incremental distances from start point to end point.
F is feed rate
For machining a tapered or chamfered surface of the work piece, the tool is required to move
to a position specified by both X and Z addresses. In order to move along a perfectly straight
line to reach to the programmed end point, the controller must perfectly synchronize the X
and Y axes movements. Moreover, feedrate must also be specified to carry out machining
along the path. This requires linear interpolation.
Resources required:-
Procedure:-
1. Open CNC simulator from computer system as per instruction given by your lab
teacher.
6. Run part program and observe each and every steps of operation.
7. Take a screen shot of selected raw material and final work piece for lab report.
8. Save part program, screen shots in proper folder instructed by lab teacher.
9. Shut down system properly and leave the lab after permission of your lab teacher.
Student activities:
Prepare the process plan and write the part program for the parts shown in figures. Assume
suitable raw material size.
Figure-1:
Figure-2:
Example:
Observations:-
Results:-
Attached part program and screen shots of raw material and final workpiece in your lab
report.
Related Questions:-
DATE: _____________
Objectives:-
Pre-requisites:-
Theoretical Background:-
The G02 and G03 words are used for circular interpolation in which the tool cuts an arc or
even a full circle. The tool is moved on the two axis simultaneously. The arc can be cut in a
clockwise (G02) or counterclockwise (G03) direction.
(1) Cutting direction (G02 or G03): the cutting direction tells the controller in which
direction to move the tool. G02 specifies the clockwise circular interpolation and G03
specifies the counter clockwise interpolation.
(2) Arc end point coordinates: the arc end point coordinates, which tell the controller
where to move the tool from its present position, may be specified in absolute or
incremental programming.
There are two possible methods by which circular interpolation can be programmed.
Syntax:
G02 X _ Z _
R_ F _
G03 U _ W _
R is radius of arc.
F is feed rate
Method-2: Centre of arc programming: The centre of arc is specified as the incremental
distance from the arc start point to the arc centre. On the turning centre, I and K addresses
represents incremental distances in the X and Z axes respectively.
Syntax:
G02 X _ Z _
I_K_ F _
G03 U _ W _
I, K are incremental distances from the arc start point to the arc centre in X, Z axes
respectively.
F is feed rate.
Resources required:-
Procedure:-
1. Open CNC simulator from computer system as per instruction given by your lab teacher.
6. Run part program and observe each and every steps of operation.
7. Take a screen shot of selected raw material and final work piece for lab report.
8. Save part program, screen shots in proper folder instructed by lab teacher.
9. Shut down system properly and leave the lab after permission of your lab teacher.
Student activity:
Prepare the process plan and write the part program for the parts shown in figures. Assume
suitable raw material size.
Figure-1:
Figure-2
Example:
G00 X9 Z1;
X2 Z0;
G03 X8 Z-3 R4;
G00 X9 Z1;
X0 Z0;
G03 X8 Z-4 R4;
G00 X9;
G28 U0 W0;
M05;
M38;
M10;
M30;
Observations:-
Results:-
Attached part program and screen shots of raw material and final workpiece in your lab
report.
Related Questions:-
DATE: _____________
Objectives:-
Pre-requisites:-
Theoretical Background:-
Cylindrical turning and taper turning are two basic operations on a turning centre. After the
tool is positioned, the programmer has to write four blocks of motion for a typical single cut
cylindrical or taper turning operation.
(2) G01 Turning the external surface with specified feed rate
(3) G01 Retract the tool with feed rate since the tool is in contact with the job
(4) G00 Return to the point where the tool was initially positioned.
Thus, a single cut involves first move at rapid traverse rate, next two moves with feed rate
and final move at rapid traverse. Such sequential motions can be combined into a single NC
block. A canned cycle combined multiple moves in a single NC block. Moreover, only the
values to be changed are required to be specified for specified for repetition since these
canned cycles are model. The main advantages of a canned cycles are reduced program
length, reduced programming time and lesser chances of error.
Resources required:-
Procedure:-
1. Open CNC simulator from computer system as per instruction given by your lab teacher.
6. Run part program and observe each and every steps of operation.
7. Take a screen shot of selected raw material and final work piece for lab report.
8. Save part program, screen shots in proper folder instructed by lab teacher.
9. Shut down system properly and leave the lab after permission of your lab teacher.
Student Activity:
Prepare the process plan and write the complete part program using G71 Canned cycle for
turning the part shown in figure.
Figure-1:
Figure-2:
Observations:-
Results:-
Attached part program and screen shots of raw material and final workpiece in your lab
report.
Related Questions:-
2. With the help of neat schematic diagram, explain the turning cycle (G90) to be
used when the turret is on the operator side.
DATE: _____________
Objectives:-
Pre-requisites:-
Theoretical Background:-
Vertical Machining Centre (VMC) are used for flat jobs, such as plats, where the majority of
machining is done only on one face of the part in single setup. Horizontal Machining Centers
(HMC) are versatile machines and are used for cubical parts, where machining is required on
more than one face in a single setup. Horizontal boring machine closely resembles a
horizontal machining centre. The horizontal boring machine has a specially designed spindle
to facilitate boring operation. It has an additional axis which is parallal ,to Z axis, called the
W axis. The spindle axis is Z and the table axis parallal to spindle axis is W.
From the programming point of view, there are many unique differences, mainly relating to
the job setup, automatic tool changer, indexing table and automatic pallet changer. However,
writing a program for HMC is no different than writing a program for VMC. Programming
procedure for horizontal boring machine is very similar to horizontal and vertical CNC
machining centers.
Typical vertical machining centre has three axes, namely X, Y and Z with 2C, L control. It
enables tool positioning and controlling. The positive Z is along the spindle axis and
increases the clearance between the tool and the workpiece. For the vertical machining
centre, the positive X axis is to the right of the operator whereas the positive Y axis is away
from the operator.
Resources required:-
Procedure:-
1. Open CNC simulator from computer system as per instruction given by your lab
teacher.
6. Run part program and observe each and every steps of operation.
7. Take a screen shot of selected raw material and final work piece for lab report.
8. Save part program, screen shots in proper folder instructed by lab teacher.
9. Shut down system properly and leave the lab after permission of your lab teacher.
Student activity:
Prepare the process plan and part program for profile milling of the parts shown in figure.
Assume plate thickness to be 10 mm.
Figure-1:
Figure-2:
Example:
G43 H01;
G00 X-30 Y30 Z100;
Z2;
G01 Z-2 F20;
G91;
G01 Y-60 F60;
X60;
X-60 Y60;
G00 Z100;
M38;
M10;
M30;
Observations:-
Results:-
Attached part program and screen shots of raw material and final workpiece in your lab
report.
Related Questions:-
1. What is the need for cutter radius compensation? How do you decide the use of
G41 and G42?
DATE: _____________
Objectives:-
Pre-requisites:-
Theoretical Background:-
Circular interpolation can only be executed on a plane. Hence, it is necessary to select a plane
for circular interpolation using plane section commands (G17/G18/G19). Plane section is
always made in the preceding block or in the block where a specific cutting instruction is
programmed. If the plane is not specified, controller assumes that the arc is to be cut in the
machine basic plane (G17), which is parallal to the machine table. When programming for
the turning cetre, it is not necessary to select the plane because there is only one plane. All
plane selection commands are modal and belong to one group.
The circular interpolation can be programmed using either radius or centre of arc methods.
Syntex:
G 02
G17 X _Y _ R _ F _
G 03
G 02
G18 X _Y _ R _ F _
G 03
Head of the department: Prof. B. S.Thakkar
Prepared by: Rajshree Kokate, Abrar Cinemawala Page 32
Mechanical Engg. Dept., PIET (Diploma Studies)
Parul Institute of Engineering &
Technology (Diploma Studies),
Limda.
Department of Mechanical Engineering
G 02
G19 X _Y _ R _ F _
G 03
Where X, Y and Z are coordinates of the end points in absolute or distance of end point from
R is radius of arc.
F is feed rate.
The centre of arc is specified as the incremental distance from the arc start point to the arc
centre. On the machining centre I, J and K addresses represents incremental distances in the
X, Y and Z axis respectively.
Syntax:
G 02
G17 X xY y I i J j F f
G 03
G 02
G18 X xY y I i J j F f
G 03
G 02
G19 X xY y I i J j F f
G 03
Resources required:-
Procedure:-
1. Open CNC simulator from computer system as per instruction given by your lab
teacher.
6. Run part program and observe each and every steps of operation.
7. Take a screen shot of selected raw material and final work piece for lab report.
8. Save part program, screen shots in proper folder instructed by lab teacher.
9. Shut down system properly and leave the lab after permission of your lab teacher.
Student activity:
Prepare the process plan and part program for profile milling of the parts shown in figure.
Assume plate thickness to be 10 mm.
Figure-1:
Figure-2:
Example:
G28 X0 Y0 Z0;
M06 T1;
M03 S1200;
G90;
G43 H01;
G00 X10 Y-20 Z100;
Z2;
G01 Z-2 F20;
G02 X20 Y-10 R10 F60;
G03 Y10 R10;
G02 X10 Y20 R10;
G03 X-10 R10;
G02 X-20 Y10 R10;
G03 Y-10 R10;
G02 X-10 Y-20 R10;
G03 X10 R10;
G00 Z100;
M05;
G91 G28 X0 Y0 Z0;
M38;
M10;
M30;
Observations:-
Results:-
Attached part program and screen shots of raw material and final workpiece in your lab
report.
Related Questions:-
DATE: _____________
Practical No. 8:
Aim: - Part programming of CNC machine centre for counter milling with drilling/tapping.
Objectives:-
Pre-requisites:-
Theoretical Background:-
Creating hole is the most common machining operation on a machining centre. Machining
centers have many holes making cycles including spot drilling, reaming, deep hole drilling,
peck drilling, taping, boring etc. turning centers may also have hole making cycles. Drilling
cycles for machining and turning centre are usually very similar.
1. Rapid positioning of the tool to the given XY position in a plan parallal to the XY
plane.
2. Rapid transverse in the Z axis to the R level, if the tool is not already at the R level.
5. Retraction of the tool in the Z axis either at rapid traverse or with federate and either to
the initial level (G99) or to R level (G99).
Syntax:
G90 G98
G _ X _ Y _ Z _ R _ Q _ P _ K _ F
G91 G99
G is drilling mode
Z is depth of hole
R is R level
Resources required:-
Procedure:-
1. Open CNC simulator from computer system as per instruction given by your lab
teacher.
6. Run part program and observe each and every steps of operation.
7. Take a screen shot of selected raw material and final work piece for lab report.
8. Save part program, screen shots in proper folder instructed by lab teacher.
9. Shut down system properly and leave the lab after permission of your lab teacher.
Student activity:
Prepare the process plan and part program for machining the holes and slots in the plat as
shown in figure.
Figure-1:
Prepare the process plan and part program for machining the holes on the pitch circle
diameter in the part as shown in figure.
Figure-2:
Example:
Results:-
Attached part program and screen shots of raw material and final workpiece in your lab
report.
Related Questions:-
2. Explain the difference between the following cycles with respect to spindle rotation and
tool movements.
DATE: _____________
Practical No. 9:
Aim: - Part programming of CNC turning for turning with sub routine.
Objectives:-
A subprogram is a fixed sequence of operations which can be programmed by the user and
called from within a program or another subprogram. A subprogram is like a canned cycle
because it is used for repetitive operations. It can also be used for programming frequently
repeated patterns. Canned cycle are fixed cycles built into the controller and pass values
which control the tool location and depth whereas in a subprogram, the tool movements are
user defined and fixed for a specific application.
Writing a subprogram
The subprogram is stored as a normal program under a specific program number specified by
the letter O. To facilitate the controller to return to the calling program, an M99 command is
written as the last block of the subprogram.
Figure-1:
Figure-2:
Example:
G90;
G43 H01;
G00 X0 Y10 Z100;
Z2;
G01 Z-2 F20;
M98 P6;
G01 Z-4 F20;
M9 P6;
G01 Z-6 F20;
M98 P6;
G01 Z-8 F20;
M98 P6;
G01 Z-11 F20;
M98 P6;
G00 Z100;
M05;
G91;
G28 X0 Y0 Z0;
M38;
M10;
M30;
Subprogram
O0006
G01 Y30 F60;
G02 X10 Y40 R10;
G01 X30;
G02 X40 Y30 R10;
G01 Y10;
G02 X30 Y0 R10;
G01 X10;
G02 X0 Y10 R10;
M99;
Observations:-
Results:-
Attached part program and screen shots of raw material and final workpiece in your lab
report.
Related Questions:-
DATE: _____________
Objectives:-
- Understand the function of generating part programs from the geometric data contained
within CAD models.
Pre-requisites:-
-Students should be aware about CAD models and part programming of CNC machine.
Theoretical Background:-
Individual CAD and CAM modules integrated and operate on the same database. Hence, the
problems associated with the transfer of CAD models do not arise. The most widely used
CAD/CAM system are CATIA, Unigraphics, Pro-Engineer etc.
2. has a library of postprocessors to translate the tool path data into an NC program suitable
for a specific controller.
ii. Technological data describes how to produce the part (process plan)
(2) Calculation of the tool path and creation of the tool paths:
These tool paths then can be edited and simulated to result in the most efficient and
economical machining.
This step is called post processing. A library of post processors for commonly used
controllers is part of the CAM software. Moreover, integrated simulation software animates
the tool path so that part programmer can avoid accidental collisions of the tool with work
piece or fixtures.
One of the limitations of the CAM software is that human input is essential for the selection
of cutters and defining various parameters and strategies to generate an efficient tool path. It
is also generates the part program for the lowest capable machine tool with limited use of
canned cycles. Sometimes, the software requires manual editing before running the part
program.
Diagram:
A CAD model represents the finished part that consists of features, surfaces, edges and
vertices. The manufacturing model consists of the design model which represents the product
after machining. If a simulation of the material removal is required, a workpiece has to be
created from the CAD model by either modifying or suppressing some of the features and
adding the machining allowances. The design model and workpiece are then assembled
together to form a manufacturing model. Pro/Manufacturing removes the excess material of
the workpiece to create the reference part.
The manufacturing database contains the description of the machining operations. The
manufacturing information that is to be specified consists of:
(1) Tooling data: The details of cutting tools available on the machine tool.
(3) Fixture setups: The workpiece remains fixed in the position on the machine tool during
an operation. Hence, an operation is defined in terms of a set of tool paths that will be
executed on a specific machine tool in one fixture position.
(4) Operation setup: it includes definition of the user coordinate system in which
coordinates of the tool paths will be calculated. The UCS on the CAD model reflects
the actual coordinate system on the machine tool.
It is mandatory to define a machine tool and a program coordinate system before creating
machining features.
A sequence is a tool path with its geometrical and technological data. These data includes the
type of tool, surface to be machined and speed at which the tool is to operate and the tool
path. This includes:
(1) Defining the machining features: Machining features establish what material needs to
be removed from the stock to achieve the reference model geometry. Each closed
volume of material to be removed comprises a separate machining feature.
(2) Defining the sequence of machining features: For each machining feature defined,
the system allocates appropriate material to be removed and calculates the subsequent
feature geometry based on existing machining features.
Once the NC sequence are defined, the tool path can be created and displayed on the screen.
Cutter location file is also created. The CL file contains the information of the positions of
the tool based on the part geometry, machining parameters, and other logical data. This CL
file can be simulated and edited for optimizing and machining.
The post processor is a part of the CAM software that translates the CL file into the part
program for a specific machine tool. Every machine tool controleer has its own post
processor. A general postprocessor available with Pro/Manufacturing can be customized for
specifc machine tool controller.
Related Questions:-
DATE: _____________
G & M CODE
G00 Positioning (Rapid traverse)
G01 Linear interpolation (Cutting feed)
G02 Circular interpolation CW
G03 Circular interpolation CCW
G04 Dwell
G107 Cylindrical interpolation
G10 Programmable data input
G11 Programmable data input cancel
G112 Polar coordinate interpolation mode
G113 Polar coordinate interpolation cancel mode
G17 XpYp plane selection
G18 ZpXp plane selection
G19 YpZp plane selection
G20 Input in inch
G21 Input in mm
G27 Reference position return check
G28 Return to reference position
G30 2nd, 3rd and 4th reference position return
G31 Skip function
G32 Thread cutting
G40 Tool nose radius compensation cancel
G41 Tool nose radius compensation left
G42 Tool nose radius compensation right
G50 Coordinate system setting or max. spindle speed setting
G350 Workpiece coordinate system preset
G250 Polygonal turning cancel
G251 Polygonal turning
G52 Local coordinate system setting
G53 Machine coordinate system setting
G54 Workpiece coordinate system 1 selection
G55 Workpiece coordinate system 2 selection
G56 Workpiece coordinate system 3 selection
G57 Workpiece coordinate system 4 selection
G58 Workpiece coordinate system 5 selection
G59 Workpiece coordinate system 6 selection
G65 Macro calling
G66 Macro modal call
G67 Macro modal call cancel
G70 Finishing cycle
G71 Stock removal in turning