Beruflich Dokumente
Kultur Dokumente
CAD/CAM Laboratory
Laboratory Manual
SYLLABUS
LIST OF EXPERIMENTS
CAM EXERCISES
1.
2.
3.
4.
5.
6.
7.
8.
9.
Part
Part
Part
Part
Part
Part
Part
Part
Part
Program
Program
Program
Program
Program
Program
Program
Program
Program
Introduction to CAD
1. Introduction
Computer-aided design (CAD) is the use of computer systems to assist in the creation,
modification, analysis, or optimization of a design. CAD software is used to increase the
productivity of the designer, improve the quality of design, improve communications through
documentation, and to create a database for manufacturing. CAD output is often in the form
of electronic files for print, machining, or other manufacturing operations.
The benefits derived from the use of CAD system are numerous some are enumerated below
thus;
Improved quality
Designers can monitor the progress of a problem solution and terminate the run or
modify the input data as required.
Reduction of rafting labour
Reduction of turnaround time
The designer can make subjective decisions at critical branch points, which guide the
computer in continuing the problem solution
Reduction in the number of drawings required:
Direct cost savings
During the 1970s, the research efforts of the previous decade in computer graphics
had begun to be fruitful, and potential of interactive computer graphics in improving
productivity was realized by industry, government and academia. The 1970s is characterized
as the golden era for computer drafting and the beginning of ad hoc instrumental design
applications. National Computer Graphics Association (NCGA) was formed and Initial
Graphics Exchange Specification (IGES) was initiated.
In the 1980s, new theories and algorithms evolved and integration of various
elements of design and manufacturing was developed. The major research and development
focus was to expand CAD/CAM systems beyond three-dimensional geometric designs and
provide more engineering applications.
The present day CAD/CAM development focuses on efficient and fast integration and
automation of various elements of design and manufacturing along with the development of
new algorithms. There are many commercial CAD/CAM packages available for direct usages
that are user-friendly and very proficient.
ii.
Surface modeling
iii.
Solid modeling
Fig 1
Ends (vertices) of lines are represented by Ends of lines are represented by their X, Y
their X and Y coordinates
and Z coordinates.
Curved edges are represented by circles,
ellipses, splines etc. Additional views and
sectional views are necessary to represent a
complex object with clarity
Fig 2
Surface Representation
Apart from standard surface types available for surface modeling (box, pyramid,
wedge, dome, sphere, cone, torus, dish and mesh) techniques are available for interactive
modeling and editing of curved surface geometry. Surfaces can be created through an
assembly of polygonal meshes or using advanced curve and surface modeling techniques like
B-splines or NURBS (Non-Uniform Rational B-splines). Standard primitives used in a
typical surface modeling software are shown in Fig. Tabulated surfaces, ruled surfaces and
edge surfaces and revolved are simple ways in which curved geometry could be created and
edited.
b) Boundary Representation
Boundary representation is built on the concept that a physical object is enclosed by a set
of faces which themselves are closed and orientable surfaces. Fig. shows a B-rep model of an
object. In this model, face is bounded by edges and each edge is bounded by vertices.
The entities which constitute a B-rep model are:
Fig 5
B-Rep Model
FEATURE-BASED DESIGN
The most fundamental aspect in creating a solid model is the concept of feature-based
design. In typical 2-D CAD applications, a designer draws a part by adding basic geometric
elements such as lines, arcs, circles and splines. Then dimensions are added. In solid
modeling a 3-D design is created by starting a base feature and then adding other features,
one at a time, until the accurate and complete representation of the parts geometry is
achieved.
A feature is a basic building block that describes the design, like a keyway on a shaft.
Each feature indicates how to add material (like a rib) or remove a portion of material (like a
cut or a hole). Features adjust automatically to changes in the design thereby allowing the
capture of design intent.
Revolve
Slot
Shaft
Flange
Push
Ear
Lip
Sweep
Thin
Cut
Round
Rib
Dome
Shell
Basic Features:
Extrude (Linear Sweep)
Simple 3-D objects can be created by extruding 2-D images in the third dimension.
The extrusion thickness can be specified by an appropriate command. The objects extruded
will have uniform thickness in the Z direction. Fig. 6.20 (a) shows a triangle extruded in the
third dimension and Fig. shows the extrusion of a complex plane.
Revolve
Wire frame images can be created by revolving an entity about an axis. In Fig. a set of
entities are revolved about an axis through 270 to create a wire frame object. Rotation
through 360 will produce complete objects.
Sweep
Extrusion of a cross section along a path
Blend / Loft
Blending of different cross sections along a path
Chamfer
Shell
Removes a surface or surfaces from the solid then hollows out the
inside of the solid, leaving a shell of a specified wall thickness.
Rib
Cut
Hole
Pattern
Machine Drawing:
2.
Production Drawing
A production drawing, also referred to as working drawing, should furnish all the
dimensions, limits and special finishing processes such as heat treatment, honing, lapping,
surface finish, etc., to guide the craftsman on the shop floor in producing the component. The
title should also mention the material used for the product, number of parts required for the
assembled unit, etc.
3.
Part Drawing:
Assembly Drawing
A drawing that shows the various parts of a machine in their correct working locations
is an assembly drawing (Fig. 1.3). There are several types of such drawings.
1.
1.
6
There are several standards available worldwide that describe the symbols and define
the rules used in GD&T. One such standard is American Society of Mechanical Engineers
(ASME) Y14.5-2009. The Y14.5 standard has the advantage of providing a fairly complete
set of standards for GD&T in one document. The ISO standards, in comparison, typically
only address a single topic at a time. There are separate standards that provide the details for
each of the major symbols and topics below (e.g. position, flatness, profile, etc.).
Dimensioning and tolerancing philosophy
According to the ASME Y14.5-2009 standard, the purpose of geometric dimensioning
and tolerancing (GD&T) is to describe the engineering intent of parts and assemblies. This is
not a completely correct explanation of the purpose of GD&T or dimensioning and
tolerancing in general.
The purpose of GD&T is more accurately defined as describing the geometric
requirements for part and assembly geometry. Proper application of GD&T will ensure that
the allowable part and assembly geometry defined on the drawing leads to parts that have the
desired form and fit (within limits) and function as intended.
There are some fundamental rules that need to be applied
All dimensions must have a tolerance. Every feature on every manufactured part is
subject to variation; therefore, the limits of allowable variation must be specified. Plus
and minus tolerances may be applied directly to dimensions or applied from a general
tolerance block or general note. For basic dimensions, geometric tolerances are
indirectly applied in a related Feature Control Frame. The only exceptions are for
dimensions marked as minimum, maximum, stock or reference.
Dimensioning and tolerancing shall completely define the nominal geometry and
allowable variation. Measurement and scaling of the drawing is not allowed except in
certain cases.
If certain sizes are required during manufacturing but are not required in the final
geometry (due to shrinkage or other causes) they should be marked as non-mandatory.
All dimensioning and tolerancing should be arranged for maximum readability and
should be applied to visible lines in true profiles.
When geometry is normally controlled by gage sizes or by code (e.g. stock materials),
the dimension(s) shall be included with the gage or code number in parentheses
following or below the dimension.
Angles of 90 are assumed when lines (including center lines) are shown at right
angles, but no angular dimension is explicitly shown. (This also applies to other
orthogonal angles of 0, 180, 270, etc.)
Dimensions and tolerances are valid at 20 C / 101.3 kPa unless stated otherwise.
Unless explicitly stated, all dimensions and tolerances are only valid when the item is
in a free state.
Dimensions and tolerances apply to the full length, width, and depth of a feature
including form variation.
Dimensions and tolerances only apply at the level of the drawing where they are
specified. It is not mandatory that they apply at other drawing levels, unless the
specifications are repeated on the higher level drawing(s).
Tolerances:
The term tolerances refers to the permissible deviation of a dimension from the
specified basic size.
Type of Tolerances
1) Unilateral: It is the tolerance in which variation is permitted in on direction only from the
design size
2) Bi- Lateral type: It is the tolerance in which variation is permitted in both directions from
the design size.
Geometric Tolerancing chart:
CAD Modeling
Exercises
Ex. No:1
Date:
Aim :
To model the given object using the Extrusion feature as per the dimensions given.
Software Used:
Procedure:
1. Select a sketch plane.(Front, top or Side)
2. Sketch a 2D profile of the model.
3. Dimension the model using Smart Dimension icon.
4. Check the sketch is fully defined.
5. Extrude the sketch perpendicular to sketch plane.
6. Use extruded cut feature to cut the solid as given in the drawing.
Result:
Thus the given model is extruded.
Ex. No:
Date:
AIM:
To model the given object using the Revolve feature as per the dimensions given.
Software Used:
Procedure:
1. Select a sketch plane.(Front, top or Side)
2. Sketch a 2D profile of the model.
3. Dimension the model using Smart Dimension icon.
4. Check the sketch is fully defined.
5. Revolve the sketch.
Result:
Thus the given model is drawn using revolve feature.
Ex. No:
Date:
AIM:
To model the given object using various features as per the dimensions given.
Software Used:
Procedure:
1. Select a sketch plane.(Front, top or Side)
2. Sketch a 2D profile of the model.
3. Dimension the model using Smart Dimension icon.
4. Check the sketch is fully defined.
5. Create the part.
6. Save the model.
Result:
Thus the given model is drawn using various features.
Ex. No:
Date:
AIM:
To create an assembly of a knuckle joint as per the given dimensions.
Software Used:
Procedure:
1. Select a sketch plane.(Front, top or Side)
2. Sketch a 2D profile of the model.
3. Dimension the model using Smart Dimension icon.
4. Check the sketch is fully defined.
5. Create the parts.
6. Assemble the parts.
7. Save the assembly.
Result:
Thus the given model is drawn using various features and assembly is made.
Ex. No:
Date:
AIM:
To create an assembly of a Screw Jack as per the given dimensions.
Software Used:
Procedure:
1. Select a sketch plane.(Front, top or Side)
2. Sketch a 2D profile of the model.
3. Dimension the model using Smart Dimension icon.
4. Check the sketch is fully defined.
5. Create the parts.
6. Assemble the parts.
7. Save the assembly.
Result:
Thus the given model is drawn using various features and assembly is made.
A CNC system may be characterized in terms of three major elements, hardware, software
and information.
HARDWARE: CNC hardware includes the microprocessors that effect control system
functions and peripheral devices for data communication, machine tool interfacing and
machine tool status monitoring. In addition to, certain elements of the machine tool like
transducers, actuators can be considered part of the CNC system
SOFTWARE: CNC software includes the programs that are executed by the system
microprocessors. These programs process input and output instructions and control
information ,make all necessary computations for machine functions, coordinate the functions
of these machines and accessories and provide the communication links with other levels of
manufacturing automation .The instructions that drive a CNC system are frequently generated
using special programming languages like APT based CNC programming systems.
INFORMATION: CNC operation requires data such as cutter location data, machining data
information regarding the dynamic characteristics of the machine and many other information
pertaining to the process.
REQUIREMENTS OF FLEXIBILITY
PREREQUISITES
For writing CNC programming the required data are
Mounting of tools
The process of putting all these data into the proper order and translating them into a
language that the machine control system can understand is called part programming.
Therefore a part program is the set of (alpha- numeric) coded form of step by step
instructions in a pre determined sequence that are entered into the control system of CNC.
Just like any other language, the part program consists of sentences, called blocks, which
in turn are made up of words. The words used in this language are the programming
commands, the command for the machine.
NC Words
The lists of addresses used in the words are
CHARACTER
FUNCTION
D&E
Feed
Unassigned
Unassigned
Auxiliary function
Block number
P,Q,R
Spindle speed
Tool No
U,V,W
Movement in X axis
Movement in Y axis
Movement in Z axis
The preparatory function (also called as G-code) is those, which decides the
mode of tool movement operation. The purpose of G-code is to initiate motion
command, canned cycles, various machine functions, and other control capabilities.
More than one G-code may be specified per block .If conflicting G-code are
specified on a block, an error message will appear.
G Codes (Preparatory Function)
GODE
FUNCTIONS
CNC MILLING
CNC LATHE
G00
Rapid traverse
Rapid traverse
G01
Linear cutting
Linear cutting
G02
G03
G04
Dwell time
Dwell time
G20
G21
Metric input
Metric input
G28
G40
G41
G42
G70
--
G71
--
G73
Peck drilling
G74
G75
--
Grooving cycle
G76
G80
G81
Drilling cycle
G82
G83
G84
Tapping cycle
Tapping cycle
G87
G90
Absolute command
Turning cycle
G91
Incremental command
Incremental command
G94
Feed in mm/min
Facing cycle
G95
Feed in rev/min
Feed in rev/min
G98
Feed in mm/min
G99
GODE
FUNCTIONS
CNC LATHE
CNC MILLING
M00
Program stop
Program stop
M01
Optional stop
Optional stop
M02
Program end
Program end
M03
M04
Spindle rotation
wise
M05
M06
M08
Coolant ON
Coolant ON
M09
Coolant OFF
Coolant OFF
M30
M70
--
M71
--
M80
--
M81
--
M98
M99
anti clock
CNC Turning
Exercises
Program
O0001;
[BILLET X50 Z80
G28 U0 W0;
N1 G50 S3000;
T0101;
G96 S500 M03;
G00 X55 Z5;
G01 X0 Z0 F1.0;
G01 X26 Z0 F0.25;
X26 Z-20;
X34 Z-20;
X34 Z-35;
X42 Z-35;
X42 Z-50;
X50 Z-50;
X50 Z-70;
G00 X55 Z5;
M05;
G28 U0 W0;
M01;
M30;
Ex. No:
Date:
Aim:
Codes used:
Billet
G21
G96
M06
Tool change
M03
Spindle on
G00
Rapid traverse
G01
Linear cutting
G28
Home position
M05
Spindle stop
M30
Part program:
Result:
The part program is created and executed and the output is verified.
Program
O0002;
[BILLET X50 Z80
G28 U0 W0;
N1 G50 S3000;
T0101;
G96 S500 M03;
G00 X55 Z5;
G01 X0 Z0 F1.0;
G01 X26 Z0 F0.25;
X34 Z-15;
X34 Z-25;
X42 Z-45;
X42 Z-55;
X50 Z-75;
G00 X55 Z5;
M05;
G28 U0 W0;
M01;
M30;
Ex. No:
Date:
Aim:
To create the part program to step turn & taper turn a cylindrical job.
Codes used:
Billet
G21
G96
M06
Tool change
M03
Spindle on clockwise
G00
Rapid traverse
G01
Linear cutting
G28
Home position
M05
Spindle stop
M30
Part program:
Result:
The part program is created & executed and output is verified.
Program
O0003;
[BILLET X25 Z40
G28 U0 W0;
N1 G50 S3000;
T0101;
G96 S500 M03;
G00 X30 Z5;
G01 X0 Z0 F1.0;
G01 X10 Z0 F0.25;
X14 Z-5;
X14 Z-10;
G02 X17 Z-13 R3;
G03 X20 Z-16 R3;
G01 X20 Z-24;
G00 X25 Z-29;
M05;
G28 U0 W0;
M01;
M30;
Ex. No:
Date:
Aim:
To create a part program to cut circular arcs & taper turn a cylindrical work piece.
Codes used:
Billet
G21
G96
M06
Tool change
M03
Spindle on
G00
Rapid traverse
G01
Linear Cutting
G02
G03
G28
Home position
M05
Spindle stop
M30
Part Program:
Result:
The part program is created and executed & output is verified.
G28 U0 W0;
M01;
M30;
Ex. No:
Date:
Aim:
To create the part program using multiple turning cycle for the given job.
Codes used:
Billet
G21
G96
M06
Tool change
M03
Spindle on clockwise
G00
Rapid traverse
G01
Linear cutting
G70
Finishing cycle
G71
G28
Home position
M05
Spindle stop
M30
Part program:
Result:
The part program is created & executed and output is verified.
Ex. No:
Date:
Aim:
To create the part program of grooving and thread cutting using cycles for the given
job.
Codes used:
Billet
G21
G96
M06
Tool change
M03
Spindle on clockwise
G00
Rapid traverse
G01
Linear cutting
G70
Finishing cycle
G71
G75
Grooving cycle
G76
Threading cycle
G28
Home position
M05
Spindle stop
M30
Part program:
Result:
The part program is created & executed and output is verified.
Program:
O0005;
[BILLET X32 Z70
G28 U0 W0;
N1 G50 S3000;
T0101; (Turning tool)
G96 S500 M03;
G00 X35 Z5;
G71 U2 R2;
G71 P10 Q20 F0.25 R2 U0.2 W0.1;
N10 G00 X18;
G01 Z0 F1.0;
X18 Z0;
X22 Z-2;
X22 Z-20;
X32 Z-40;
N20 G00 X35;
G70 P10 Q20;
M05;
M01;
N2 G50 S3000;
G28 U0 W0;
T0606; (Grooving tool)
G96 S400 M03;
G00 X25 Z-18;
G75 R1;
G75 X18 Z-20 P1000 Q1000 R0 F0.1;
M05
G28 U0 W0;
M01;
N2 G50 S3000;
G28 U0 W0;
T0505; (Threading tool)
G96 S400 M03;
G00 X22 Z5;
G76 P010060 Q100 R0.05;
G76 X18 Z-16 P2000 Q200 F2;
M05
G28 U0 W0;
M01;
M30;
CNC Milling
Exercises
Function as a base for all machine components, including the column, saddle,
table, etc.
Column:
Saddle :
Installed on the slide ways of the bed and traverses back and forth.
Table :
Traverse left and right on the saddle sideways moves along the column slide
ways.
Head :
ATC
Cutter Compensations:
The principle behind the various cutter compensations are shown in the
following figures.
The above figure represents the tool length compensation for the various tools
mounted in a tool magazine.
In order to achieve the correct dimension values and to ease the process of
part programming following cutter compensation are to be given
CANNED CYCLES
Canned cycles make it easier for the programmer to create programs. With a
canned cycle, a frequently used machining operation can be specified in single block
with G function. Without canned cycles, normally more than one block is required. In
addition, the use of canned cycles can shorten the program to save memory.
Directives
[BILLET
[EDGEMOVE- Offset from the program zero to the lower left corner of the billet
[TOOLDEF
[STEP
[NOSTEP
[SHOW
[NOSHOW
General Notations
X
X coordinate value
Y coordinates value
Z coordinates value
Diameter of tool
Tool Number
Feed rate
Spindle speed
Radius of arc
Function
G00
G01
G02
G03
G04
G20
G21
G28
G40
G41
G42
G49
G90
G91
G92
G94
G95
G170-G171
G172-G173
G Functions
Operation
Positioning (Rapid traverse)
Linear interpolation (Cutting feed)
Circular interpolation / Helical CW
Circular interpolation / Helical CCW
Dwell Exact stop
Imperial units (inches)
Metric units (mm)
Return to reference point
Tool radius compensation cancel
Left hand radius compensation
Right hand radius compensation
Tool length compensation cancel
Absolute command
Incremental command
Set datum
Feed per minute
Feed per rotation
Circular Pocketing
Rectangular Pocketing
Function
M00
M02
M03
M04
M05
M06
M70
M71
M80
M81
M98
M99
M Functions
Operation
Program Stop
Program End
Spindle Forward
Spindle Reverse
Spindle Stop
Tool Change
X Mirror on
Y Mirror on
X Mirror Off
Y Mirror Off
Subprogram Call
Subprogram Exit
Contour Milling:
Ex. No:
Date:
Aim:
To create a part program to slot mill the required pattern on the job.
Codes used:
Billet
Tool def
Tool specifications
Edge move
Initial position
G00
Rapid traverse
G01
Cutting
G90
G91
Imperial system on
G21
Metric units
G94
G40
G80
G28
Home position
M06
Tool change
M03
Spindle on
M05
Spindle stop
M30
Part program:
Result:
The part program is created & executed and output is verified.
Pocket Milling:
Ex. No:
Date:
Aim:
To create a part program to slot mill the required pattern on the job.
Codes used:
Billet
Tool def
Edge move
G00
G01
G90
G91
G21
G94
G40
G80
G28
M06
M03
M05
M30
Part program:
O2002;
[BILLET X80 Y70 Z10;
[TOOLDEF T1 D10;
[EDGEMOVE X0 Y0;
N10 G21 G40 G94;
N20 G91 G28 Z0;
N30 G28 X0 Y0;
N40 M06 T0101;
N50 M03 S2000;
N60 G90 G00 X0 Y0;
N70 Z5;
N80 G172 I40 J30 K0 P0 Q1.5 R0 X20 Y15 Z-3.;
N90 G173 I0 K0 P75 T1 S2000 R75 F275 B2500 J200 Z3
N100 M05;
N110 G91 G28 Z0;
N120 G28 X0 Y0;
N130 M30;
Result:
The part program is created & executed and output is verified.
Mirroring Cycle:
Main Program
O2004;
[BILLET X100 Y100 Z10;
[EDGEMOVE X-50 Y-50;
[TOOLDEF T1 D5;
N10 G21 G94 G40;
N20 G91 G28 Z0;
N30 G28 X0 Y0;
N40 M06 T0101;
N50 M03 S1000;
N60 G90 G00 X0 Y0 Z5;
N70 M98 P0018000;
PROFILE 1
N80 M70;
X
Mirror On
N90 M98 P0018000;
PROFILE 4
N100 M71;
Y
Mirror On
N110 M98 P0018000;
PROFILE 3
N120 M80;
X
Mirror Off
N130 M98 P0018000;
PROFILE 2
N140 M81;
Y
Mirror Off
N150 G91 G28 Z0;
N160 G28 X0 Y0;
N170 M05;
N180 M30;
Ex. No:
Date:
Aim:
To create a part program to slot mill the required pattern on the job.
Codes used:
Billet
Tool def
Tool specifications
Edge move
Initial position
G00
Rapid traverse
G01
Cutting
G90
G91
Imperial system on
G21
Metric units
G94
G70
X - Mirror ON
G71
Y - Mirror ON
G80
X - Mirror OFF
G81
Y - Mirror OFF
M98
Call sub-program
M99
G28
Home position
M06
Tool change
M03
Spindle on
M05
Spindle stop
M30
Part program:
Result:
The part program is created & executed and output is verified.
Drilling Cycle:
Ex. No:
Date:
Aim:
To create a part program to slot mill the required pattern on the job.
Codes used:
Billet
Tool def
Edge move
G00
G90
G91
G21
G94
G81
G83
G04
G80
G28
M06
M03
M05
M30
Part program:
O2005;
[BILLET X100 Y100 Z20;
[TOOLDEF T1 D10;
[EDGEMOVE X-50 Y-50;
N10 G21 G94 G41;
N20 G91 G28 Z0;
N30 G28 X0 Y0;
N40 M06 T0101;
N50 M03 S1000;
N60 G90 G00 X25 Y25 Z5;
N70 G83 X25 Y25 Z-10 Q2.5 R1 F35;
N80 X25 Y-25;
N90 X-25 Y-25 ;
N100 X-25 Y25;
N110 G80;
N120 G91 G28 Z0;
N130 G28 X0 Y0;
N140 M05;
N150 M30;
Result:
The part program is created & executed and output is verified.