Sunteți pe pagina 1din 37

1

BANNARI AMMAN INSTITUTE OF TECHNOLOGY


SATHYAMANGALAM 638 401
DEPARTMENT OF MECHATRONICS ENGINEERING
LAB MANUAL

12K708

CAM LABORATORY

S7 MECHATRONICS

Year of Release: 2015

BANNARI AMMAN INSTITUTE OF TECHNOLOGY


SATHYAMANGALAM 638 401
DEPARTMENT OF MECHATRONICS ENGINEERING
LAB MANUAL

12K708

CAM LABORATORY

S7 MECHATRONICS

Prepared by

Approved by

Name of the Faculty


with Signature

Name of the HOD


with Signature

( K M Nithish Kumar)

Dr. K P Arulshri

Year of Release: 2015

R 2012:
Lab Code: 12K708
Lab Name: CAM Laboratory
List the Experiments as per the syllabus
1. Generation of CNC program for CNC lathe using linear and circular interpolation
2. CNC programming of facing and step turning operations for the given diagram
3. CNC program generation for a cylindrical model whose diameter is continuously varying
throughout its length.
4. Simulation of thread cutting operation in a CNC simulation software
5. Exercise on grooving cycle
6. Drilling and boring cycle operation in a CNC lathe
7. Generation of CNC program for CNC milling using linear and circular interpolation
8. CNC program generation of contour milling operation for the given diagram
9. Simulation of drilling operation of CNC milling in a simulation software
10. Exercise on peck drilling

List of experiments

S. No
Experiment
Generation of CNC program for CNC lathe using linear and circular
1

Page No.
5

interpolation
CNC programming of facing and step turning operations for the given
diagram
CNC program generation for a cylindrical model whose diameter is

12

4
5
6
7

continuously varying throughout its length.


Simulation of thread cutting operation in a CNC simulation software
Exercise on grooving cycle
Drilling and boring cycle operation in a CNC lathe
Generation of CNC program for CNC milling using linear and circular

14
18
20
25

interpolation
CNC program generation of contour milling operation for the given
diagram
Simulation of drilling operation of CNC milling in a simulation

10

software
Exercise on peck drilling

List of Mini projects (for the Academic year 2015- 2016)

S. No
Title of the Project
CNC
program
generation
of multi operation which is performed in a
1
2
3
4
5
6
7

single component
Generate the CNC code for the rotor shaft in a motor
NC code generation for a spur gear used in power transmission
Generate the CNC program to manufacture the bearing used in a gear
box
CNC program generation for a lead screw used in a LATHE
NC code generation for a collar used to stabilize lead screw
Generate the CNC program to manufacture the drive sprocket used in

30
33
35

8
9
10

power transmission
CNC program generation for a 12.5 mm anti backlash nut
NC code generation for a roller chain link used in chains
Generate the CNC program to manufacture the screw of size 8*65

EX NO:1
DATE:

AIM:

GENERATION OF CNC PROGRAM FOR CNC LATHE USING


LINEAR AND CIRCULAR INTERPOLATION

To prepare the manual part program and to verify it using cncez simulation software.
REQUIREMENT:
SOFTWARE: cncez simulation software
HARDWARE: Pentium dual core processor
1GB RAM
80 GB HDD
PREREQUISITE QUESTIONS
1. Define CNC programming.
2. What is the use of linear interpolation ?
3. Define circular interpolation.
4. What is the difference between linear interpolation and circular interpolation?
5. List some of the softwares used for CNC programming.
PROCEDURE
LINEAR INTERPOLATION AND CIRCULAR INTERPOLATION
MODEL

N5 G00 G54 G64 G90 G17 X-20 Y-20 Z50


N10 S450 M03 F250 D01 (12.5 MM DIA)
N15 C0
N20 Z5

N25 G01 Z0
N30 Z-5
N35 G42 X0 Y0 M08

(Linear motion)

N40 X60 Y0

(Linear motion)

N45 X85 Y30

(Linear motion)

N50 X85 Y50

(Linear motion)

N55 G03 X70 Y65 U15

(Circular motion G03 for Counter Clockwise motion and U for arc

radius)
N60 G01 X45 Y65

(Linear motion)

N65 G02 X30 Y50 U15

(Circular motion G02 for Clockwise motion and U for arc radius)

N70 G01 X10 Y50

(Linear motion)

N75 X0 Y0

(Linear motion)

N80 G40 X-20 Y-20


N85 G00 Z50 M09
N90 Y100
N95 M30

VIVA QUESTIONS
1.
2.
3.
4.
5.

What is use of G21?


What is mean by G28 U0 W0?
What is the use of G40?
What is the purpose of G98?
What is mean by M30?
STIMULATING QUESTION
1. BIT Logo have to be produced on the plate. How it can be produced ?
RESULT
Thus the manual part program for the given component is prepared and it is verified by
using cncez simulation software.

EX NO:2
DATE:

CNC PROGRAMMING OF FACING AND STEP TURNING


OPERATIONS FOR THE GIVEN DIAGRAM

AIM:
To prepare the manual part program and to verify it using cncez simulation software.
REQUIREMENT:
SOFTWARE: cncez simulation software
HARDWARE: Pentium dual core processor
1GB RAM
80 GB HDD
PREREQUISITE QUESTIONS
1. What is meant by facing ?
2. How the step turning process is carried out in lathe ?
3. What is the difference between facing and turning?

4. What is the difference between step turning and plain turning?


5. Define CNC programming.
PROCEDURE
FACING
MODEL
3 MM PARTING

NC PART PROGRAM
N010 G21 G40 G98
N020 G28 U0 W0
N025 M06 T05
N040 M03 S1200
N050 G00 X21 Z2
N060 G94 X0 Z-1 F60
N070 Z-2
N080 Z-3
N090 Z-4
N100 Z-5
N110 G28 U0 W0
N120 M05
N130 M30

1X5MM FACING

10

STEP TURNING
MODEL

NC PART PROGRAM
N010 G21 G40 G98
N020 G28 U0 W0
N030 M06 T01
N040 M03 S1200
N050 G00 X21 Z2
N060 G90 X20 Z-10 F60
N070 X19
N080 X18
N090 X17
N100 X16
N110 X15
N120 X14
N130 X13
N140 X12

11

N150 X11
N160 X10
N170 G00 X21 Z-10
N180 G90 X20 Z-20
N190 X19
N200 X18
N210 X17
N220 X16
N230 X14
N240 G28 U0 W0
N250 M05
N260 M30
VIVA QUESTIONS
1.
2.
3.
4.
5.
6.
7.
8.

What is mean by Home position?


What is mean by step?
What is the use of G90?
What is mean by M30?
What is command used for chuck close?
What is use of N block number?
What is mean by G code?
What is use of turning ?

STIMULATING QUESTION
1. A steel pipe is longer in length than desired and the length should be reduced. How the length
can be reduced ?

12

RESULT
Thus the manual part program for the given component is prepared and it is verified by
using cncez simulation software.

EX NO:3
DATE:
CNC PROGRAM GENERATION FOR A CYLINDRICAL MODEL WHOSE
DIAMETER IS CONTINUOUSLY VARYING THROUGHOUT ITS LENGTH

AIM:
To prepare the manual part program and to verify it using cncez simulation software.
REQUIREMENT:
SOFTWARE: cncez simulation software
HARDWARE: Pentium dual core processor
1GB RAM
80 GB HDD
PREREQUISITE QUESTIONS
1. Define taper turning.
2. In a conventional lathe how the taper turning process is carried out ?
3. What is the difference between step turning and taper turning ?
4. What is the use of taper turning ?
5. Mention some of the applications where taper turning process is used.

13

PROCEDURE
MODEL

NC PART PROGRAM
BILLET X20 Z50
N010 G21 G40 G98
N020 G28 U0 W0
N030 M06 T01
N040 M03 S1200
N050 G00 X21 Z2

//* Box turning cycle *//

G90 X20 Z-40 R0 F60

R = (Minor dia) / 2

N070 X20 R-0.5

= (17 - 20) /2

N080 X20 R-1

= -3/2 = - 1.5

N090 X20 R-1.5


N100 G28 U0 W0
N110 M05
N120 M30

VIVA QUESTIONS

14

1.
2.
3.
4.

What are the difference between G01 and C00?


Mention the major components of the CNC machine?
What is the expansion of FANUC?
What is mean by major dia?

5. What is mean by R?

STIMULATING QUESTION
1. A wooden support have to be produced for fixing with table. For this it should have the
varying diameters at the ends. How is it possible ?
RESULT
Thus the manual part program for the given component is prepared and it is verified by
using cncez simulation software.
EX NO:4
DATE:

Simulation of thread cutting operation in a CNC simulation software

AIM:
To prepare the manual part program and to verify it using cncez simulation software.
REQUIREMENT:
SOFTWARE: cncez simulation software
HARDWARE: Pentium dual core processor
1GB RAM
80 GB HDD
PREREQUISITE QUESTIONS
1. Define module.
2. What do you meant by pitch diameter ?
3. How the thread cutting process is carried out in a conventional lathe ?
4. Define core.
5. List some of the CNC codes used for thread cutting.

15

PROCEDURE
MODEL

NC PART PROGRAM
N010 G21 G40 G98
N020 G28 U0 W0
N030 M06 T01
N040 M03 S1200
N050 G00 X21 Z2
N060 G71 U0.3 R1
N070 G71 P80 Q150 U0.1 W0.1 F50
N080 G01 X10
N090 Z0
N100 G01 X12 Z-1
N110 G01 Z-25
N120 G01 X15
N130 G01 Z-40
N140 G01 X19
N150 G01 Z -50

//* Multiple turning cycle *//

16

N160 G70 P90 Q150 F70


N170 G28 U0 W0
N180 M06 T03

//* Grooving cycle *//

N190 M03 S800


N200 G00 X14 Z-18
N210 G75 R1
N220 G75 X10 Z-20 P500 Q500 F10
N230 G28 U0 W0

//*Threading cycle*//

N240 M06 T0606

Threading calculation

N250 M03 S500

Core = Nominal -height of thread

N260 G00 X14 Z4

Cd = D - 2h

N270 G92 X12 Z-15 F2

Calculation for height of thread

N280 X11.9

h = 0.61343 x pitch

N290 X11.8

h = 0.61343 x 2

N300 X11.7

Core calculation

N310 X11.6

cd = D - 2h

N320 X11.5

cd = 12 - 2 )1.22686)

N330 X11.4

cd = 9.54628mm

N340 X11.3
N360 X11.1
N370 X11
N380 X10.9
N390 X10.8
N400 X10.7
N410 X10.6
N420 X10.5
N430 X10.4

17

N440 X10.3
N450 X10.2
N460 X10.1
N470 X10
N480 X9.9
N490 X9.8
N510 X9.6
N520 X9.5
N530 X9.47
N540 G28 U0 W0
N550 M05
N560 M30

VIVA QUESTIONS
1.
2.
3.
4.
5.

What are the uses of G codes?


Write syntax for G75.
Can G90 be used for facing?
Name the command used for door open.
What is the use of G75?
STIMULATING QUESTION
1. An electrical switch have to be attached to the wall by using suitable method. Can you guess
which method it is?

RESULT
Thus the manual part program for the given component is prepared and it is verified by
using cncez simulation software.

18

EX NO:5
DATE:

EXERCISE ON GROOVING CYCLE

AIM:
To prepare the manual part program and to verify it using cncez simulation software.
REQUIREMENT:
SOFTWARE: cncez simulation software
HARDWARE: Pentium dual core processor
1GB RAM
80 GB HDD
PREREQUISITE QUESTIONS
1. What is the purpose of producing the groove in the component?
2. Define grooving process.
3. How the grooving process is carried out in a conventional lathe ?
4. Define CNC programming.
5. List some of the codes used for grooving in CNC.
PROCEDURE
MODEL

19

NC PART PROGRAM
N10 T0202
N20 G92 S500 M42
N30 G97 S400 M03
N40 G00 X110 Z0 M08
N50 G01 Z-22 F0.5
N60 G75 R1
N70 G75 X90 Z-60 P2000 Q3000 R0 F0.1
N80 G00 X120 Z100
N90 M30

1.
2.
3.
4.
5.

VIVA QUESTIONS
Write the applications of G codes
Mention few important G codes
What are the use of M codes?
Write about some important M codes?
What is the use of multiple turning cycle?
STIMULATING QUESTION
1. Provision for holding the hand in a wooden stick is needed. For producing this which process
can be used ?

20

RESULT
Thus the manual part program for the given component is prepared and it is verified by
using cncez simulation software.

EX NO:6
DATE:

DRILLING AND BORING CYCLE OPERATION IN A CNC LATHE

AIM:
To prepare the manual part program and to verify it using cncez simulation software.
REQUIREMENT:
SOFTWARE: cncez simulation software
HARDWARE: Pentium dual core processor
1GB RAM
80 GB HDD
PREREQUISITE QUESTIONS
1. What is the difference between drilling and boring ?
2. Define some of the parameters in the drilling process.
3. Why the boring process is carried out after drilling?
4. How the drilling process is carried out in a lathe ?
5. How the boring process is carried out in a lathe ?
PROCEDURE
DRILLING
MODEL

21

NC PART PROGRAM
N010 G21 G40 G98
N020 G28 U0 W0
N030 M06 T02

//* Center drill *//

N050 M03 S1500


N060 G00 X0 Z3
N070 G74 R1
N080 G74 X0 Z-5 Q500 F30
N085 G28 U0 W0
N090 M06 T04

//* 6mm drill *//

N100 M03 S1500


N110 G00 X0 Z3
N120 G74 R1
N130 G74 X0 Z-20 Q500 F30
N140 G28 U0 W0
N150 M06 T08
N160 M03 S1000
N170 G00 X0 Z3
N180 G74 R1

//* 12mm drill *//

22

N190 G74 X0 Z-20 Q500 F30


N200 G28 U0 W0
N210 M05
N220 M30

BORING

NC PART PROGRAM
N010 G21 G40 G98
N020 G28 U0 W0
N030 M06 T02
N050 M03 S1200
N060 G00 X0 Z3
N070 G74 R1
N080 G74 X0 Z-5 Q500 F30

//* Center drill *//

23

N085 G28 U0 W0
N090 M06 T04

//* 6mm drill *//

N100 M03 S1200


N110 G00 X0 Z3
N120 G74 R1
N130 G74 X0 Z-20 Q500 F30
N140 G28 U0 W0
N150 N030 M06 T08

//* 12mm drill *//

N160 M03 S1200


N170 G00 X0 Z3
N180 G74 R1
N190 G74 X0 Z-20 Q500 F30
N200 G28 U0 W0
N210 M06 T03
N220 M03 S1200
N230 G00 X12 Z2
N240 G71 U0.5 R1
N250 G71 P260 Q320 U0.2 W0.2 F50
N260 G01 X24
N270 G01 Z0
N280 G01 Z-9.5
N290 G03 X19 Z-12.5 R2.5
N300 G01 W-3
N310 G01 X15 W-3
N320 G01 X12
N330 G70 P260 Q320 F30
N340 G28 U0 W0
N350 M05
N360 M30

//* 10mm boring bar *//

24

VIVA QUESTIONS
1.
2.
3.
4.
5.

What are the difference between drilling and peck drilling?


Mention the major components of the CNC machine?
What is the expansion of FANUC?
What are the important lathe operations?
What are the important of drilling operation?
STIMULATING QUESTION
1. An underground water is needed for agriculture in cultivating the sugarcane. How the water
can be taken out ?

RESULT
Thus the manual part program for the given component is prepared and it is verified by
using cncez simulation software.

25

EX NO:7
DATE:

GENERATION OF CNC PROGRAM FOR CNC MILLING USING LINEAR


AND CIRCULAR INTERPOLATION

AIM:
To prepare the manual part program and to verify it using cncez simulation software.
REQUIREMENT:
SOFTWARE: cncez simulation software
HARDWARE: Pentium dual core processor
1GB RAM
80 GB HDD
PREREQUISITE QUESTIONS
1. Define CNC programming.
2. What is the use of linear interpolation ?
3. Define circular interpolation.
4. What is the difference between linear interpolation and circular interpolation?
5. List some of the softwares used for CNC programming.
PROCEDURE
LINEAR INTERPOLATION

26

NC PART PROGRAM
N010 G21 G94
N020 G91 G28 Z0
N030 G28 X0 Y0
N040 M06 T2
N050 M03 S1200
N60 G90 G00 X-40 Y-40
N070 Z5
N080 G01 Z-1 F50
N090 Y40

27

N100 X40
N110 Y-40
N120 X-40
N130 X40 Y40
N140 G00 Z5
N150 G00 X-40 Y40
N160 G01 Z-1 F50
N170 X40 Y-40
N180 G00 Z5
N190 M05
N200 G91 G28 Z0
N210 G28 X0 Y0
N220 M30

CIRCULAR INTERPOLATION

28

NC PART PROGRAM
N010 G21 G94
N020 G91 G28 Z0
N030 G28 X0 Y0
N040 M06 T2
N050 M03 S1200
N060 G90 G00 X-22.5 Y-37.5
N070 G00 Z5
N080 G01 Z-1 F50
N090 G03 X-37.5 Y-22.5 R15
N100 G01 Y22.5
N110 G03 X-22.5 Y37.5 R15
N120 G01 X22.5
N130 G02 X37.5 Y22.5 R15
N140 G01 Y-22.5
N150 G03 X22.5 Y-37.5 R15
N160 G01 X-22.5
N170 G00 Z5

29

N180 G00 X-15 Y0


N190 G01 Z-1 F50
N200 G03 X15 Y0 R15
N210 G03 X-15 Y0 R15
N220 G00 Z5
N230 M05
N240 G91 G28 Z0
N250 G28 X0 Y0
N260 M30
VIVA QUESTIONS
1.
2.
3.
4.
5.

How to change the tool speed in CNC milling?


What is the difference between absolute and incremental system?
What are the axes to be considered while writing program for CNC milling?
What is the file extension of CNC program?
What are the codes for coolants on or off?

STIMULATING QUESTIONS
1. Symbol of om in hindu religion should be produced on the plate in the door. How is it
possible ?

RESULT
Thus the manual part program for the given component is prepared and it is verified by
using cncez simulation software.

30

EX NO:8
DATE:

CNC PROGRAM GENERATION OF CONTOUR MILLING

OPERATION FOR THE GIVEN DIAGRAM


AIM:
To prepare the manual part program and to verify it using cncez simulation software.
REQUIREMENT:
SOFTWARE: cncez simulation software
HARDWARE: Pentium dual core processor
1GB RAM
80 GB HDD
PREREQUISITE QUESTIONS
1. What is meant by contour milling ?
2. What are the profiles available in contour milling ?
3. How the contour milling process is carried out in a milling machine?
4. List the CNC codes used for contour milling.
5. What are the operations that can be performed in a milling machine ?
PROCEDURE
MODEL

31

NC PART PROGRAM
N5 G17 G71 G90 G94 G54; (Parameters Setting)
N10 T2 L90; (Home position)
N15 G00 D2 Z50 M3 S700 X10 Y-25; (Position of tool)
N20 G01 Z-1.5; (Position of cut)
N25 G01 X4 F100 M8; (Cutting slat)
N30 G00 Z100 M9; (Final position of tool)
N35 M30; (Main programme end)
MODEL

32

NC PART PROGRAM
N2 G17 G71 G90 G94 G54; (Parameters Setting)
N4 T1 L90; (Home position)
N6 G00 Z5 D5 M3 S500 X20 Y90; (Position of tool)
N8 G01 Z-2 F50; (Position of cut)
N10 G02 X60 Y50 I0 J-40; (Circular interpolation clockwise-CW)
N12 G03 X80 Y50 I20 J0; (Circular interpolation clockwise-CCW)
N14 G00 Z100; (Final position of tool)
N16 M02; (End of programme)

VIVA QUESTIONS
1.
2.
3.
4.
5.

What is the g code for circular pocketing?


How to change the depth of cut in milling operation?
What is the use of mirroring?
What are the functional keys uses in Fanuc programming?
What is use of dry run option?

33

STIMULATING QUESTIONS
1. INDIA map outline should be produced on the batch given to the social people. Can you think
it is possible ?

RESULT
Thus the manual part program for the given component is prepared and it is verified by
using cncez simulation software.

EX NO:9
DATE:

SIMULATION OF DRILLING OPERATION OF CNC MILLING IN A


SIMULATION SOFTWARE

AIM:
To prepare the manual part program and to verify it using cncez simulation software.
REQUIREMENT:
SOFTWARE: cncez simulation software
HARDWARE: Pentium dual core processor
1GB RAM
80 GB HDD
PREREQUISITE QUESTIONS
1. Define drilling.

34

2. What is the use of drilling in manufacturing ?


3. How the drilling process is carried out in a conventional milling machine ?
4. List the CNC codes used for drilling process.
5. Mention the applications of drilling process.
PROCEDURE
MODEL

NC PART PROGRAM
N5 G17 G71 G90 G94 G55;
N10 T1 L90;
N15 G00 D5 Z5 M3 S600 X27 Y27;
N20 G81 R02=5, R03=-33, R11=3, F50 M7;
N25 X97;
N30Y97;
N35 X27;
N40 G00 G80 Z100 M9;
N45 M02;
VIVA QUESTIONS
1. What is mean by G02?

35

2. What is the difference between absolute and incremental system?


3. What are the axes to be considered while writing program for CNC Milling?
4. What is the code for multiple cycles?
5. What is mean by G91?
STIMULATING QUESTION
1. A wallclock should be attached to the wall by using steel pin. Is it possible ?

RESULT
Thus the manual part program for the given component is prepared and it is verified by
using cncez simulation software.

EX NO:10
DATE:

EXERCISE ON PECK DRILLING

AIM:
To prepare the manual part program and to verify it using cncez simulation software.
REQUIREMENT:
SOFTWARE: cncez simulation software
HARDWARE: Pentium dual core processor
1GB RAM
80 GB HDD
PREREQUISITE QUESTIONS
1. Define drilling process.
2. What is meant by peck drilling process ?
3. Enumerate the difference between the drilling and peck drilling process.

36

4. How the peck drilling process is carried out in a milling machine ?


5. List the specification of tool used for peck drilling process.
PROCEDURE
MODEL

NC PART PROGRAM
R00 Dwell time at the starting point for chip removal.
R01 First drilling depth (incremental) without sign.
R02 Reference plane absolute with sign.
R03 Final depth of hole absolute with sign.
R04 Dwell time at the bottom of drilled hole for chip breaking.
R05 Amount of digression is without sign.
R10 Retract plane without sign.
R11 Drilling axis number 1 to 3.
% 401;
N5 G17 G71 G90 G94 G55;
N10 T1 L90;
N15 G00 D5 Z5 M3 S600 X62 Y62;
N20 G83 R00=30, R01=15, R02=5, R03=-60, R04=1, R05=15, R10=80, R11=3, F50 M7;
N25 G00 G80 Z100 M9;

37

N30 M02;
VIVA QUESTIONS
1. What is meant by cutter compensation?
2. What is use of G98?
3. Milling machine used to make Gear yes or no?
4. How the subprogram is named?
5. Why fixed/canned cycles are preferred?

STIMULATING QUESTION
1. A pipeline should be attached to kitchen in the building. The pipelines are connected to all the
places in the building except kitchen. Is the pipeline can be fixed to the kitchen ?

RESULT
Thus the manual part program for the given component is prepared and it is verified by
using cncez simulation software.

S-ar putea să vă placă și