ME 6611
CAD/CAM LABORATORY MANUAL
Prepared By
Faculty of Mechanical Engineering
Gnanamani College of Technology
CAD/CAM Lab Manual
Syllabus
INSTRUCTIONS TO STUDENTS
1. Students must attend the lab classes with ID cards and in the prescribed uniform.
2. Boys-shirts tucked in and wearing closed leather shoes. Girls’ students with cut shoes, overcoat,
and plait incite the coat. Girls’ students should not wear loose garments.
3. Students must check if the components, instruments and machinery are in working condition
before setting up the experiment.
4. Power supply to the experimental set up/ equipment/ machine must be switched on only after
the faculty checks and gives approval for doing the experiment. Students must start to the
experiment. Students must start doing the experiments only after getting permissions from the
faculty.
5. Any damage to any of the equipment/instrument/machine caused due to carelessness, the cost
will be fully recovered from the individual (or) group of students.
6. Students may contact the lab in charge immediately for any unexpected incidents and
emergency.
7. The apparatus used for the experiments must be cleaned and returned to the technicians, safely
without any damage.
8. Make sure, while leaving the lab after the stipulated time, that all the power connections are
switched off.
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 other levels of
manufacturing automation. The instructions that drive an 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 date
information regarding the dynamic characteristics of the machine and many other information
pertaining to the process.
TYPES OF CNC MACHINES
REQUIREMENTS OF FLEXIBILITY
CNC PROGRAMMING
PART PROGRAMMING:
The part programming method includes a variety o procedures ranging form highly manual to
highly automate. The types of part program are,
1) Manual Part Programming
2) Computer assisted part programming
3) Computer – automated part programming
4) NC programming using CAD/CAM
PREREQUISITES
* For writing CNC programming the required date are
* Dimension of the work pieces
* Finished dimension with tolerance of the final component
* Sequence of the operations to be performed
* Types of tools to be used
* Optimum cutting speed & feed at each stage
* 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.
LATHE
This Section provides the basic programming operation, and principle machine.
1) Head Stock
2) Turret
3) Tail Stock
4) Cross slid(X) and longitudinal slide(Z)
5) Operator panel
6) Coolant system
Part Programming:
The preparation of a set of instructions to carry out the machining of a work piece is called
part programming. A part programmer carries out this work. He prepares the planning sheet and
writes the instructions in a coded form, which is acceptable to the controller of the machine tool.
There are three distinct techniques adopted for creating CNC programs:
1. Manual CNC programming.
2. Computer aided part programming.
3. Programming using CAM software. (CAD/CAM based programming systems).
Manual Programming:
Manual programming is one of the conventional methods of CNC programming. This
technique is widely used for work pieces of relatively simple geometry. The tool path of the CNC
machine is then described in machine codes, which usually takes the form.
N G XY Z A B C F S T M
Where,
N - Sequence Number of Instructions.
G – Preparatory Functions.
XYZ- Co – ordinate
F – Feed.
S- Spindle Speed.
T – Tool Code
M- Miscellaneous Functions.
The code shown above, called a block is defined in number of different formats.
The program is directly input in the the machine’s memory through the following methods.
1. Manuel date input through the keyboard of the NC console.
2. A floppy disc and disc drive.
3. DNC mode – directly from the commuter used for programming or storage of program
to the memory of CNC machine.
Date Required for Part Programming:
1. Machine tool specifications.
2. Specification of all tools.
3. Specification of work material and
4. Speed, feed tables.
Co-ordinate systems:
The co – ordinate system for designating the axes is the conventional right hand co-ordinate
system. Once could use his right hand to get these alternative relative positions of the same right
hand co-ordinate system.
Location:
First of all Z motion shall be designated. The shall be followed by X and Y motions
respectively. Z-axis motion is either along the spindle axis or parallel to the spindle axis.
Type of Dimensioning
There are two different types of dimensioning systems.
1. Absolute dimensional system or Baseline dimensioning.
2. Incremental dimensional system or Delta dimensioning.
In absolute coordinate system, all the measurements are taken form a fixed origin
(0, 0), as shown in Fig
Incremental coordinate system is one in which all the measurements for the next position are
calculated form the point at which the slide was resting previously, as shown in Fig.
In incremental coordinate system if any positioning error occurs means all subsequent positions
are affected but in absolute mode only the particular position will be affected.
Incremental systems are less expensive and simple in construction whereas absolute systems
are costly and require complicated circuits.
In absolute system all the dimensions should be positive whereas in incremental system
positive (+) and negative (-) signs are used.
The Machine Control Unit (MUC) uses this alphabet for addressing the memory location it. To
align and give space between the NC words a TAB key code is punched between words.
Preparatory Functions
G code are used to setup the machine control unit [MCU] modes of operation required for
the machining that is to be carried out, whether movement in a straight-line/linear (or) circular. In
general they use to slide motion control.
G CODES DESCRIPTION
Miscellaneous Functions
M codes used to establish requirement other than those related to slide movement. For
example they are used to active spindle motion (or) to turn on a coolant supply etc.
M CODES DESCRIPTION
M00 Temporary program stop
M01 Optional stop
M02 Program end
M03 Spindle clock wise rotation
M04 Spindle counter clock wise rotation
M05 Spindle stop
M06 Automatic toll changes
M08 Coolant pump on
Department of Mechanical Engineering
CAD/CAM Lab Manual
P - 0 - Rough Cutting
1 - Finish Cutting
Q - Depth of Cutting
R - Reference point of pocket in Z axis
XY - LH coordinate point of pocket
Z - Depth of pocket
I - Length of pocket in X axis
J - Length of pocket in Y axis
K - Corner radius (Always Zero
P - Percentage of cutter diameter for lateral shift
S - RPM (Rough Cut)
R - Rough cut feed in Z axis
F - Rough cut feed in XY axis
B - RPM for finish cut
J - Feed for finish cut
I - Side finish allowance
K - Base Finish Allowance
T - Tool Number
Z - Safety Position in Z axis
FACING CYCLE
FACING CYCLE
ALL DIMENSIONS ARE IN MM
Ex. No :
Date :
FACING CYCLE
AIM:
To write a CNC program and to perform step facing operation on the given Aluminum work
piece.
MATERIAL REQUIRED:
Aluminium Rod
25 mm * 60 mm Length
G94 – FORMAT:
G94 X10 Z-1 F2
Z-2
Z-3
PROGRAM:
[BILLET X25 Z60
N10 G21 G40 G99;
N20 G28 U0 W0;
N30 M06 T0101;
N40 G50 S1500;
N50 G96 S150 M03;
N60 G00 X26 Z2;
N70 G94 X10 Z-1 F0.5;
N80 Z-2;
N90 Z-3;
N100 Z-4;
N110 Z-5;
N120 G28 U0 W0;
N130 M30;
RESULT:
The above program is simulated and executed on the given work piece.
G90 – TURNING
Ex. No :
Date :
TURNING CYCLE
AIM:
To write a CNC program and to perform simple turning operation on the given Aluminium
work piece.
MATERIAL REQUIRED:
Aluminium Rod
25 mm * 60 mm Length
G90 – FORMAT:
G90 X25 Z-40 F0.1
X24
X23
PROGRAM:
[BILLET X25 Z60]
N10 G21 G40 G99;
N20 G28 U0 W0;
N30 M06 T0101;
N40 G50 S1500;
N50 G96 S150 M03;
N60 G00 X26 Z2;
N70 G90 X24 Z-40 F0.1;
N80 X23;
N90 X22;
N100 X21;
N110 X20
N120 G28 U0 W0;
N130 M30;
RESULT:
The above written program is simulated and executed on the given work piece.
Ex. No :
Date :
STEP TURNING
AIM:
To write a CNC program and to perform Step turning operation on the given Aluminum
work piece.
MATERIAL REQUIRED:
Aluminum Rod
25 mm * 60 mm Length
G90 – FORMAT:
G90 X25 Z-40 F0.1
X20 Z-20
PROGRAM:
[BILLET X25 Z60]
N10 G21 G40 G99;
N20 G28 U0 W0;
N30 M06 T0101;
N40 G50 S1500;
N50 G96 S150 M03;
N60 G00 X26 Z2;
N70 G90 X24 Z-40 F0.1;
N80 X23;
N90 X22 Z-20;
N100 X21;
N110 X20;
N120 G28 U0 W0;
N130 M30;
RESULT:
The above written program is simulated and executed on the given work piece.
Ex. No :
Date :
G90 – TAPER TURNING CYCLE
AIM:
To write a CNC program and to perform Taper turning operation on the given Aluminum
work piece.
MATERIAL REQUIRED:
Aluminum Rod
25 mm * 60 mm Length
RESULT:
The above written program is simulated and executed on the given work piece.
Ex. No :
Date :
G71 – MULTIPLE TURNING
AIM:
To write a CNC program and to perform multiple turning operation on the given Aluminum
work piece.
MATERIAL REQUIRED:
Aluminium Rod
25 mm * 60 mm Length
PROGRAM:
N140 Z-30
N150 G02 X25 Z-35 R5 F0.25;
N160 G70 P90 Q150 F0.01;
N170 G28 U0 W0;
N180 M30;
RESULT:
The above written program is simulated and executed on the given work piece.
Ex. No :
Date :
G72 – MULTIPLE FACING
AIM:
To write a CNC program and to perform multiple facing operation on the given Aluminum
work piece.
MATERIAL REQUIRED:
Aluminium Rod
25 mm * 60 mm Length
PROGRAM:
CONCLUSION:
The above written program is simulated and executed on the given work piece.
MAJOR DIA = 16
CORE DIA = 13.5462
PITCH = 2.00
TH. HEIGHT = 1.2269
TIP ANGLE = 60
Ex. No :
Date :
G92 – SINGLE PASS THREADING CYCLE
AIM:
To write a CNC program and to perform Single pass threading operation on the given
Aluminium work piece.
MATERIAL REQUIRED:
Aluminium Rod
25 mm * 60 mm Length
PROGRAM:
RESULT:
The above written program is simulated and executed on the given work piece.
CONTOUR MILLING
RESULT:
Thus the required program is executed and the required profile is obtained.
MIRRORING
Ex. No : MIRRORING
Date :
AIM:
To write a part program and perform the machining operation in the CNC XL MILL milling
machine to create the required profile.
PROCEDURE:
Move the tool to the home position.
Select the appropriate tool for machining and the spindle speed.
Feed is in mm/min.
The program follows the absolute mode of tool positioning.
The input is in metric units.
The part program is written and executed.
Then the required profile is obtained.
PROGRAM:
G21 G94
G91 G28 Z0
X0 Y0
M06 T01
M03 S1200
G00 G90 X15 Y0 Z5
M98 P0015555
M70
M98 P0015555
M71
M98 P0015555
M80
M98 P0015555
M81
G00 G90 Z5
G91 G28 Z0
X0 Y0
M30
O5555
G00 G90 X15 Y10
Z-2
G01 X25 Y25
Department of Mechanical Engineering
CAD/CAM Lab Manual
RESULT:
Thus the required program is executed and the required profile is obtained.
DRILLING
20 20
20
10
15 15
30 20
Ex. No :
Date :
DRILLING
AIM:
To write a part program and perform the machining operation in the CNC XL MILL milling
machine to create the required profile.
PROCEDURE:
Move the tool to the home position.
Select the appropriate tool for machining and the spindle speed.
Feed is in mm/min.
The program follows the absolute mode of tool positioning.
The input is in metric units.
The part program is written and executed.
Then the required profile is obtained
PROGRAM
G21 G94
G91 G28 Z0
X0 Y0
M06 T3
M03 S1200
G00 G90 X0 Y0 Z5
G83 X-30 Y-15 Z-10 Q3 R2 F50
X-20 Y10
X30 Y20
X20 Y-15
G80
G00 G90 Z5
M30
X, Y - Coordinate values
Z - Total Depth
Q - Peck Drilling depth
R - Reference Point
F - Feed (mm/min)
RESULT:
Thus the required program is executed and the required profile is obtained.
RECTANGULAR POCKETING
Ex. No :
Date :
RECTANGUALR POCKETING
AIM:
To write a part program and perform the machining operation in the CNC XL MILL milling
machine to create the required profile.
PROCEDURE:
PROGRAM
G21 G94
G91 G28 ZO X0 Y0
M06 T1
M03 S1500
G00 G90 X0 Y0 Z5
G172 P0 Q-1 R0 X-35 Y-35 Z-5 I70 J70 K0
G173 P70 S1600 R40 F80 B2000 J40 K0.1 T1 Z5 I0.1
G172 P1 Q-1 R0 X-35 Y-35 Z-5 I70 J70 K0
G173 P70 S1600 R40 F80 B2000 J40 I0 K0 T1 Z5
G91 G28 ZO X0 Y0
M05
M30
FORMAT
G172 P Q R X Y Z I J K
G173 P S R F B J K T Z I
G172
RESULT:
Thus the required program is executed and the required profile is obtained.
The feature-based parametric modeling technique enables the designer to incorporate the
original design intent into the construction of the model. The word parametric means the geometric
definitions of the design, such as dimensions, can be varied at any time in the design process.
Parametric modeling is accomplished by identifying and creating the key features of the design
with the aid of computer software. The design variables, described in the sketches and features, can
be used to quickly modify/update the design.
In Creo Parametric, the parametric part modeling process involves the following steps:
1. Set up Units and Basic Datum Geometry.
2. Determine the type of the base feature, the first solid feature, of the design. Note that
Extrude, Revolve, or Sweep operations are the most common types of base features.
3. Create a rough two-dimensional sketch of the basic shape of the base feature of the design.
4. Apply/modify constraints and dimensions to the two-dimensional sketch.
5. Transform the two-dimensional parametric sketch into a 3D feature.
6. Add additional parametric features by identifying feature relations and complete the design.
7. Perform analyses/simulations, such as finite element analysis (FEA) or cutter path
generation (CNC), on the computer model and refine the design as needed.
8. Document the design by creating the desired 2D/3D drawings.
Datum Planes
For the Adjuster design, we will create an extruded solid as the base feature.
1. In the Shapes toolbar (the fourth group in the Ribbon toolbar), click on the Extrude tool icon as
shown.
• The Feature Option Dashboard, which contains applicable construction options, is displayed in
the Ribbon toolbar of the Creo Parametric main window.
2. On your own, move the cursor over the icons and read
the descriptions of the different options available. Note
that the default extrude option is set to Extrude as solid.
2. In the graphic area, select DTM2 by clicking on any edge of the plane as shown.
Creo Parametric will now rotate the three datum planes: DTM2 aligned to the screen and
the positive side of DTM3 facing toward the bottom edge of the computer screen.
The orientation of the sketching plane can be very confusing to new users. Read through
this section carefully again to make sure you understand the steps involved.
3D PART MODELING