Академический Документы
Профессиональный Документы
Культура Документы
Prepared by
E Prakash
Lab In-charge
Approved by
Dr K Sivakumar
HOD/Mech. Engg.
List of Exercises
Exercises on CNC Lathe
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
Exercise
Exercise
Exercise
Exercise
Exercise
Exercise
Exercise
on
on
on
on
on
on
on
2.
3.
4.
5.
6.
7.
8.
List of Exercises
Exercises on Robot
1.
2.
Additional Exercises
1.
2.
3.
4.
5.
6.
CNC LATHE
Rapid Traverse
G01
G02
G03
G04
Dwell
G20
G21
G28
Goto Reference
G40
G41
G42
G50
Clamp Spindle
G50
Coordinate Setting
G70
Finishing Cycle
G71
G72
Multiple Facing
G73
Pattern Repeating
G74
G76
Multiple Thread
G81
Drilling Cycle
G90
Turning Cycle
G94
Facing Cycle
G96
Constant. Surface
G97
Var. Surface
G98
G99
G04 Dwell
AG04 causes the program to wait for a specified amount of time.
This can be used for drilling cycles. Because the drilling cycle requires time delay to finish the
already drilled hole. The time can be specified in seconds with the "X" or "U" prefixes or in
milliseconds with the "P" prefix.
Examples:
G04
G04
G04
X1.5
U1.5
P1500
G20 Imperial
A G20 causes position to be interpreted as being in imperial units. All the input values are inches.
This can only be set at the start of the main program.
G21 Metric
A G21 causes positions to be interpreted as being in metric units (MM).
This can only be at the start of the main program. By default Metric Units will be taken for
programming.
G28 Goto Reference Point
A G28 causes a fast traverse to the specified position and then to the machine datum.
Examples : G28 X34.0 Z5.0
G28 U0.0 W0.0
G40 Cancel Compensation
A G40 cancels tools nose radius compensation.
G41 Compensate Right
A G41 enables tool nose radius compensation to the right of the programmed path.
G42 Compensate Left
A G42 enables tool nose radius compensation to the left of the programmed path.
G50 Co-ordinate Setting
G50 enables tool nose radius compensation tot he left of the programmed path.
G50 has 2 users.
A coordinate setting block has ab "X", "Z", "U" or "W" upon it.
A maximum spindle speed block does not.
R1.0
G74
O/DIA
1.6
1.8
2.0
2.2
2.5
3.0
3.5
4.0
4.5
5.0
6.0
7.0
8.0
10.0
12.0
14.0
16.0
18.0
20.0
22.0
24.0
27.0
30.0
33.0
36.0
39.0
42.0
45.0
48.0
52.0
CORE
1.1706
1.3706
1.5092
1.6480
1.9480
2.3866
2.7638
3.1412
3.5798
4.0184
4.7732
5.7732
6.4664
8.1596
9.8530
11.5462
13.5462
14.9328
16.9328
18.9328
20.3194
23.3194
25.7060
28.7060
31.0924
34.0924
36.4790
39.4790
41.8646
45.8646
PITCH
0.35
0.35
0.40
0.45
0.45
0.50
0.60
0.70
0.75
0.80
1.00
1.00
1.25
1.25
1.75
2.00
2.00
2.50
2.50
2.50
3.00
3.00
3.50
3.50
4.00
4.00
4.50
4.50
5.00
5.00
DEPTH
0.2147
0.2147
0.2454
0.2760
0.2760
0.3067
0.3681
0.4294
0.4501
0.4908
0.6134
0.6134
0.7468
0.9202
1.0735
1.2269
1.2269
1.5336
1.5336
1.5336
1.8403
1.8403
2.1470
2.1470
2.4538
2.4538
2.7605
2.7605
3.0672
3.0672
TAP/G DRILL
1.25
1.45
1.60
1.75
2.05
2.50
2.90
3.30
3.80
4.20
5.00
6.00
6.80
8.50
10.20
12.00
14.00
15.50
17.50
19.50
21.00
24.00
26.50
29.50
32.00
35.00
37.50
40.50
43.00
47.00
G 81
U-4.0
U-8.0
and
G 81
Z-2.0
Z-4.0
Rapid to X position.
Feed to Z position
Feed to start X position
Rapid to start Z position
If an "R" value is specified tapering will be performed. The initial rapid move will be to the X
position plus the "R" value (Radio)
Examples
And
U-4.0
U-8.0
G81 Z - 2.0
G81 Z 4.0
Rapid to Z position
Feed to X position
M00
M01
M02
M03
M04
M05
M06
M08
M09
M10
M11
M62
M63
M64
M65
M66
M67
M76
M77
M98
M99
Program Stop
Optional Stop
Program End
Spindle Forward
Spindle Reverse
Spindle Stop
Automatic Tool change
Coolant On
Coolant Off
Vice / Chuck Open
Vice / Chuck Close
Output 1 on
Out put 2 on
Out put 1 off
Output 2 off
Wait Input 1 On
Wait Input 2 On
Wait Input 1 Off
Wait Input 2 Off
Sub program Call
Subprogram End
M03 S1200
M03
M04 S1200
M04
T0200
and
T20
and
all select tool 2.
T2
M08 Coolant On
M08 turns the coolant on.
M09 Coolant Off
M09 turns the coolant off
M10 Chuck Open
M10 opens the chuck.
M11 Chuck Close
M11 close the chuck
M13 Spindle Forward, Coolant On
Sets spindle rotation forward and coolant on.
Example: M13 S1000
M14 Spindle Reverse, Coolant On
Sets spindle rotation reverse and coolant on.
Example: M14 S1000
M25 Quill Extend
Extends the quill (tail stock).
M26Quill Retract
Retracts the quill (tail stock)
M30 Program End & Rewind
Stops the spindle. Turns the coolant off. Terminates and resets the CNC program. This command
is used at the end of program to stop the program and to bring the cursor to first line of program
to repeat the program once again.
M38 Door Open
Opens the door, waiting until the door is open.
M39 Door Close
Closes the door, waiting until the door is closed.
M62 Set Output 1 on
Sets auxiliary output 1 on.
Example: M62
M63 Set Output 2 on
Sets auxiliary output 2 on.
Example : M63
M64 Set Output 1 off
Sets auxiliary output 1 off.
Example: M64
M65 Set Output 2 off
Sets auxiliary output 2 off
Example: M65
If an M99 is specified in the main program then the execution is from the start of the program.
This is called looping (or) nesting of two programs.
Example: M99
Returns to the block following the call.
M99 P10
Returns to the block with "N" value 10.
EX NO:1
3 MM PARTING
1X5MM FACING
PROCESS PLANNING
Process planning
Billet size :25*70
Program no: 1234
Department : Mechanical / CAM Lab
Material: Aluminum
Date:
s.no
Operation
Machine
Tool
Cutting
tool
Tool
Number
Spindle
speed
(rpm)
Feed
Rate
(mm/min)
Depth
of cut
(mm)
Facing
CNC
lathe
PDJNL
2020K
09 R0.8
05
1200
35
0.5
remarks
EX NO:1
DATE:
AIM:
To write the manual part program and process plan for the given component.
NC PART PROGRM:
N010 G21 G40 G98
N020 G28 U0 W0
N025 M06 T05
N040 M03 S1200
N050 G00 X21 Z2
RESULT:
Thus the Manual Part Program and progress plan were written for given component and
tool path simulation was verified by using the CNCTrain software
VIVA QUESTIONS:
1.
2.
3.
4.
5.
PROCESS PLANNING
Process planning
Billet size :25*70
Program no: 1234
Department : Mechanical / CAM Lab
Material: Aluminum
Date:
s.no
Operation
Machine
Tool
Cutting
tool
Tool
Number
Spindle
speed
(rpm)
Feed
Rate
(mm/min)
Depth
of cut
(mm)
Facing
CNC
lathe
PDJNL
2020K
09 R0.8
05
1200
35
0.5
remarks
EX NO:2
DATE:
AIM:
To write the manual part program and process plan for the given component.
NC PART PROGRM:
N010 G21 G40 G98
N020 G28 U0 W0
N030 M06 T05
N040 M03 S1200
N050 G00 X21 Z2
NOTE: After the last pass of grooving the tool should be retracted to a maximum level in X axis
then the retraction can be done for Z axis.
RESULT:
Thus the Manual Part Program and progress plan were written for given component and
tool path simulation was verified by using the CNCTrain software
VIVA QUESTIONS:
1.
2.
3.
4.
5.
EX NO:3
PROCESS PLANNING
Process planning
Billet size :25*70
Program no: 1234
Material: Aluminum
Date:
s.no
Operation
Machine
Tool
Cutting
tool
Tool
Number
Spindle
speed
(rpm)
Feed
Rate
(mm/min)
Depth
of cut
(mm)
TAPER
Facing
CNC
lathe
PDJNL
2020K
09 R0.8
05
1200
35
0.5
EX NO:3
DATE:
TAPER FACING
AIM:
To write the manual part program and process plan for the given component.
remarks
NC PART PROGRM:
[BILLET X20 Z70
N010 G21 G40 G98
N020 G28 U0 W0
N030 M06 T05
N040 M03 S1200
N050 G00 X21 Z2
N300 G28 U0 W0
N310 M05
N320 M30
Prerequisite Question:
1. What do you mean by Turning?
RESULT:
Thus the Manual Part Program and progress plan were written for given component and
tool path simulation was verified by using the CNCTrain software
VIVA QUESTIONS:
1.
2.
3.
4.
5.
EX NO:4
PROCESS PLANNING
Process planning
Billet size :25*70
Program no: 1234
Department : Mechanical / CAM Lab
Material: Aluminum
Date:
s.no
Operation
Machine
Tool
Cutting
tool
Tool
Number
Plain
turning
CNC
lathe
PDJNL
01
2020K11
R0.4
Spindle
speed
(rpm)
Feed
Rate
(mm/min)
Depth
of cut
(mm)
1200
60
0.5
remarks
EX NO:4
DATE:
AIM:
To write the manual part program and process plan for the given component.
NC PART PROGRM:
N010 G21 G40 G98
N020 G28 U0 W0
N030 M06 T01
N040 M03 S1200
N050 G00 X21 Z2
RESULT:
Thus the Manual Part Program and progress plan were written for given component and
tool path simulation was verified by using the CNCTrain software
VIVA QUESTIONS:
1.
2.
3.
4.
5.
EX NO:5
PROCESS PLANNING
Process planning
Billet size :25*70
Program no: 1234
Department : Mechanical / CAM Lab
s.no
Operation
Machine
Tool
Cutting
tool
Material: Aluminum
Date:
Tool
Number
PDJNL
01
2020K11
R0.4
Spindle
speed
(rpm)
Feed
Rate
(mm/min)
Depth
of cut
(mm)
1200
35
0.5
remarks
EX NO:5
DATE:
AIM:
To write the manual part program and process plan for the given component.
NC PART PROGRM:
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
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
RESULT:
Thus the Manual Part Program and progress plan were written for given component and
tool path simulation was verified by using the CNCTrain software
VIVA QUESTIONS:
1. What is mean by Home position?
2. What is mean by step?
3. What is the use of G90?
4. What is mean by M30?
5. What is command used for chuck close?
EX NO:6
PROCESS PLANNING
Process planning
Material: Aluminum
Date:
s.no
Operation
Machine
Tool
Cutting
tool
taper
turning
CNC
lathe
PDJNL
01
2020K11
R0.4
EX NO:6
DATE:
Tool
Number
Spindle
speed
(rpm)
Feed
Rate
(mm/min)
Depth
of cut
(mm)
1200
60
0.5
TAPER TURNING R-
remarks
AIM:
To write the manual part program and process plan for the given component.
NC PART PROGR
BILLET X20 Z50
N010 G21 G40 G98
N020 G28 U0 W0
N030 M06 T01
N040 M03 S1200
N050 G00 X21 Z2
R = (Minor dia) / 2
= (17 - 20) /2
= -3/2 = - 1.5
RESULT:
Thus the Manual Part Program and progress plan were written for given component and
tool path simulation was verified by using the CNCTrain software
VIVA QUESTIONS:
1.
2.
3.
4.
5.
EX NO:7
PROCESS PLANNING
Process planning
Billet size :25*70
Program no: 1234
Department : Mechanical / CAM Lab
Material: Aluminum
Date:
s.no
Operation
Machine
Tool
Cutting
tool
Tool
Number
Turning
cycle
CNC
lathe
Grooving
cycle
CNC
lathe
Threading
cycle
CNC
lathe
PDJNL
01
2020K11
R0.4
0.75
03
X0.75,
0.078W,
0.32Depth
LH
Thread
07
0.75
x0.75,
60Deg.,
Depth
0.0885,
LH
Spindle
speed
(rpm)
Feed
Rate
(mm/min)
Depth
of cut
(mm)
1200
50
0.5
800
70
0.5
500
0.3
remarks
EX NO:7
DATE:
AIM:
To write the manual part program and process plan for the given component.
NC PART PROGR
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
//*Threading cycle*//
Threading calculation
Cd = D - 2h
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
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
RESULT:
Thus the Manual Part Program and progress plan were written for given component and
tool path simulation was verified by using the CNCTrain software
VIVA QUESTIONS:
1.
2.
3.
4.
5.
EX NO:8
M12*2P
PROCESS PLANNING
Process planning
Billet size :25*70
Program no: 1234
Department : Mechanical / CAM Lab
Material: Aluminum
Date:
s.no
Operation
Machine
Tool
Cutting
tool
Turning
cycle
CNC
lathe
Grooving
cycle
CNC
lathe
Threading
cycle
CNC
lathe
PDJNL
01
2020K11
R0.4
0.75
03
X0.75,
0.078W,
0.32Depth
LH
Thread
07
0.75
x0.75,
60Deg.,
Depth
0.0885,
LH
EX NO:8
Tool
Number
Spindle
speed
(rpm)
Feed
Rate
(mm/min)
Depth
of cut
(mm)
1200
50
0.5
800
70
0.5
500
0.3
remarks
DATE:
AIM:
To write the manual part program and process plan for the given component.
NC PART PROGR
N010 G21 G40 G98
N020 G28 U0 W0
N030 M06 T01
N150 G28 U0 W0
N160 M06 T03
N270 G28 U0 W0
N280 M05
N290 M30
RESULT:
Thus the Manual Part Program and progress plan were written for given component and
tool path simulation was verified by using the CNCTrain software
VIVA QUESTIONS:
1.
2.
3.
4.
5.
EX NO:9
1*45
M.12*1.5
PROCESS PLANNING
Process planning
Billet size :25*70
Program no: 1234
Department : Mechanical / CAM Lab
Material: Aluminum
Date:
s.no
Operation
Machine
Tool
Cutting
tool
Tool
Number
Turning
cycle
CNC
lathe
Grooving
cycle
CNC
lathe
Threading
cycle
CNC
lathe
PDJNL
01
2020K11
R0.4
0.75
03
X0.75,
0.078W,
0.32Depth
LH
Thread
07
0.75
x0.75,
60Deg.,
Depth
0.0885,
LH
Spindle
speed
(rpm)
Feed
Rate
(mm/min)
Depth
of cut
(mm)
1200
50
0.5
800
70
0.5
500
0.3
remarks
EX NO:9
DATE:
AIM:
To write the manual part program and process plan for the given component.
NC PART PROGR
N010 G21 G40 G98
N020 G28 U0 W0
N030 M06 T01
N040 M03 S1200
N050 G00 X30 Z1
N060 G71 U0.5 R1
N070 G71 P80 Q150 U0.1 W0.1 f60
N080 G01 X11
N090 Z0
N100 G01 X12 Z-1
N110 G01 Z-34
N120 G01 X16
N130 G01 X24 Z-40
N140 G01 W-10
N150 G01 X30
N160 G70 P80 Q150 f50
N170 G28 U0 W0
N180 M06 T03
N190 M03 S800
N200 G00 X13 Z-33
N210 G75 R1
N220 G75 X8 Z-35 P500 Q500 F50
N230 G28 U0 W0
N240 M06 T07
N250 M03 S500
N260 G00 X17 Z4
N270 G76 P031560 Q100 R0.15
N280 G76 X10.54 Z-31 P0919 Q125 F1.5
N290 G28 U0 W0
N300 M05
N310 M30
RESULT:
Thus the Manual Part Program and progress plan were written for given component and
tool path simulation was verified by using the CNCTrain software
VIVA QUESTIONS:
1.
2.
3.
4.
5.
EX NO:10
PROCESS PLANNING
Process planning
Billet size :25*70
Material: Aluminum
Date:
s.no
Operation
Machine
Tool
Cutting
tool
Tool
Number
Spindle
speed
(rpm)
Feed
Rate
(mm/min)
Depth
of cut
(mm)
Stock
removal
facing cycle
CNC
lathe
PDJNL
2020K
09 R0.8
05
1200
30
0.5
EX NO:10
DATE:
AIM:
To write the manual part program and process plan for the given component.
remarks
NC PART PROGR
[BILLET X25 Z50
N010 G21 G40 G98
N020 G28 U0 W0
N030 M06 T05
N040 M03 S1200
N050 G00 X31 Z5
N060 G01 Z0
N070 G72 U0.5 R1
N200 G28 U0 W0
N210 M05
N220 M30
RESULT:
Thus the Manual Part Program and progress plan were written for given component and
tool path simulation was verified by using the CNCTrain software
VIVA QUESTIONS:
1.
Write syntax for G72.
2.
What is different between G02 and G03?
3.
What is the code for multiple cycles?
4.
How to cut the thread in CNC lathe?
5.
How to change the tool in CNC program
EX NO:11
PROCESS PLANNING
Process planning
Billet size :25*70
Program no: 1234
Department : Mechanical / CAM Lab
Material: Aluminum
Date:
s.no
Operation
Machine
Tool
Cutting
tool
Stock
removal
turning
cycle
CNC
lathe
PDJNL
05
2020K11
R0.4
EX NO:11
DATE:
Tool
Number
Spindle
speed
(rpm)
Feed
Rate
(mm/min)
Depth
of cut
(mm)
1200
30
0.5
remarks
AIM:
To write the manual part program and process plan for the given component.
NC PART PROGR
N010 G21 G40 G98
N020 G28 U0 W0
N030 M06 T05
N040 M03 S1200
N050 G00 X30 Z5
N060 G00 Z1
N070 G71 U0.5 R1
N080 G71 P90 Q150 U0.1 W0.1
N090 G01 X0
N100 Z0
N110 G03 X10 Z-5 R5
N120 G01 Z-15
N130 X20 Z-25
N140 G01 Z-35
N150 G02 X30 Z-40 R5
N160 G70 P90 Q150
N170 G28 U0 W0
N180 M05
N190 M30
RESULT:
Thus the Manual Part Program and progress plan were written for given component and
tool path simulation was verified by using the CNCTrain software
VIVA QUESTIONS:
1.
2.
3.
4.
5.
EX NO:12
PROCESS PLANNING
Process planning
Billet size :25*70
Program no: 1234
Department : Mechanical / CAM Lab
Material: Aluminum
Date:
s.no
Operation
Machine
Tool
Cutting
tool
Tool
Number
Spindle
speed
(rpm)
Feed
Rate
(mm/min)
Depth
of cut
(mm)
Pattern
Repeating
Cycle
CNC
lathe
PDJNL
2020K
05
1200
30
0.5
remarks
EX NO:12
DATE:
AIM:
To write the manual part program and process plan for the given component.
NC PART PROGRAM
N010 G21 G40 G98
N020 G28 U0 W0
N030 M06 T05
N270 G28 U0 W0
N280 M05
N290 M30
RESULT:
Thus the Manual Part Program and progress plan were written for given component and
tool path simulation was verified by using the CNCTrain software.
VIVA QUESTIONS:
1.
2.
3.
4.
5.
EX NO:13
PROCESS PLANNING
Process planning
Billet size :25*70
Program no: 1234
Department : Mechanical / CAM Lab
s.no
Operation
Machine
Tool
Center drill
6mm drill
12mm drill
CNC
lathe
CNC
lathe
CNC
lathe
Cutting
tool
Material: Aluminum
Date:
Tool
Number
Spindle
speed
(rpm)
Feed
Rate
(mm/min)
Depth
of cut
(mm)
02
1500
30
0.5
6.00mm, 04
Dia.,
12.00mm, 08
Dia.,
1500
30
0.5
1500
30
0.5
--
remarks
EX NO:13
DATE:
AIM:
To write the manual part program and process plan for the given component.
NC PART PROGR
N010 G21 G40 G98
N020 G28 U0 W0
N030 M06 T02
RESULT:
Thus the Manual Part Program and progress plan were written for given component and
tool path simulation was verified by using the CNCTrain software
VIVA QUESTIONS:
1. Write the syntax for G74.
2. Calculate core diameter for M18x1.5 thread.
3. Write syntax for G75 cycle.
4. What is different drillings?
5. What is the use of G74cycle?
EX NO:14
PROCESS PLANNING
Process planning
Billet size :25*70
Program no: 1234
Department : Mechanical / CAM Lab
s.no
Operation
Machine
Tool
Center drill
6mm drill
12mm drill
10mm
boring bar
CNC
lathe
CNC
lathe
CNC
lathe
CNC
lathe
Cutting
tool
Material: Aluminum
Date:
Tool
Number
Spindle
speed
(rpm)
Feed
Rate
(mm/min)
Depth
of cut
(mm)
02
1500
30
0.5
6.00mm,
04
Dia.,
12.00mm, 08
Dia.,
S10K
03
SDUCL07
R0.2
1500
30
0.5
1500
30
0.5
1500
30
0.5
remarks
EX NO:14
DATE:
AIM:
To write the manual part program and process plan for the given component.
NC PART PROGR
N010 G21 G40 G98
N020 G28 U0 W0
N030 M06 T02
N260 X15
N270 X16 Z-10
N280 X17
N290 X18
N300 X19
N310 X20
N320 G28 U0 W0
N330 M05
N340 M30
RESULT:
Thus the Manual Part Program and progress plan were written for given component and
tool path simulation was verified by using the CNCTrain software
VIVA QUESTIONS:
1.
2.
3.
4.
5.
EX NO:15
PROCESS PLANNING
Process planning
Billet size :25*70
Program no: 1234
Department : Mechanical / CAM Lab
Material: Aluminum
Date:
s.no
Operation
Machine
Tool
Cutting
tool
Tool
Number
Spindle
speed
(rpm)
Feed
Rate
(mm/min)
Depth
of cut
(mm)
6mm drill
1500
30
0.5
12mm drill
08
1500
30
0.5
10mm
boring bar
03
1500
30
0.5
Internal
threading
CNC
lathe
6.00mm,
Dia.,
12.00mm,
Dia.,
S10K
SDUCL07
R0.2
Thread Dia
16.0,55
Deg.,Depth
2.0, LH
04
CNC
lathe
CNC
lathe
CNC
lathe
07
1500
30
0.5
remarks
EX NO:15
DATE:
INTERNAL THREADING
AIM:
To write the manual part program and process plan for the given component.
NC PART PROGR
N010 G21 G40 G98
N020 G28 U0 W0
N030 M06 T04
N260 X21.58
N270 G28 U0 W0
N280 M06 T07
RESULT:
Thus the Manual Part Program and progress plan were written for given component and
tool path simulation was verified by using the CNCTrain software
VIVA QUESTIONS:
1.
2.
3.
4.
5.
N block numbers?
EX NO:16
PROCESS PLANNING
Process planning
Billet size :25*70
Program no: 1234
Department : Mechanical / CAM Lab
Material: Aluminum
Date:
s.no
Operation
Machine
Tool
Cutting
tool
Tool
Number
Spindle
speed
(rpm)
Feed
Rate
(mm/min)
Depth
of cut
(mm)
Center drill
1200
30
0.5
6mm drill
04
1200
30
0.5
12mm drill
08
1200
30
0.5
10mm
boring bar
1.00mm,
Dia.,
6.00mm,
Dia.,
12.00mm,
Dia.,
S10K
SDUCL07
R0.2
02
CNC
lathe
CNC
lathe
CNC
lathe
CNC
lathe
03
1200
30
0.5
EX NO:16
DATE:
remarks
AIM:
To write the manual part program and process plan for the given component.
NC PART PROGR
N010 G21 G40 G98
N020 G28 U0 W0
N030 M06 T02
RESULT:
Thus the Manual Part Program and progress plan were written for given component and
tool path simulation was verified by using the CNCTrain software
VIVA QUESTIONS:
1.
2.
3.
4.
5.
EX NO:17
PROCESS PLANNING
Process planning
Billet size :25*70
Program no: 1234
Department : Mechanical / CAM Lab
Material: Aluminum
Date:
s.no
Operation
Machine
Tool
Cutting
tool
Tool
Number
Spindle
speed
(rpm)
Feed
Rate
(mm/min)
Depth
of cut
(mm)
Center drill
02
1200
30
0.5
6mm drill
30
0.5
12mm drill
1200
30
0.5
10mm
boring bar
6.00mm
04
Dia.,
12.00mm, 08
Dia.,
S10K
03
SDUCL07
R0.2
1200
CNC
lathe
CNC
lathe
CNC
lathe
CNC
lathe
1200
30
0.5
remarks
EX NO:17
DATE:
MULTIPLE BORING
N010 G21 G40 G98
N020 G28 U0 W0
N030 M06 T02
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
RESULT:
Thus the Manual Part Program and progress plan were written for given component and
tool path simulation was verified by using the CNCTrain software.
VIVA QUESTIONS:
1.
2.
3.
4.
5.
CNC MILLING
COMMANDS DESCRIPTION
These commands are available in the machine side
The Robot inputs can be switched on by sending the output signal from machine side to
Robot side as a input signal.
M76//67 Waiting for Auxiliary input 1/2 on
M76 waiting for Auxiliary input 1 on
M67 waiting for Auxiliary input 2 on
NOTE: M76/67/66/77
These M Codes are available in the machine side. The machine side inputs can be switched on by
transferring the output signal from Robot side to machine aide as a input signal.
The machine inputs can be switched on by transferring the high signal which comes from the
Robot side. The machine inputs can be switched off by transferring the low signal which comes
from the Robot side .
M70 X Mirror On
M70 sets X axis mirroring about the current X axis position.
M71 Y Mirror On
M71 sets Y axis mirroring about the current Y axis position.
M76/77 Wait for Auxiliary 1/2 on
M76 waits for auxiliary input 1 t become off
M77 waits for auxiliary input 2 to become off.
M80 X Mirror Off
M80 disables X axis mirroring
M81 Y Mirror Off
M81 disables Y axis mirroring
DESCRIPTION OF G CODES
G00 Rapid Traverse or fast Traverse
AG00 causes the tool to move to the specified position at the maximum speed.
Example: G00 X20 Y30 Z1
Here the tool is moved to X 20mm, Y 30mm, and Z 1mm.
G01 Linear Interpolation or Slow Traverse
AG01 causes linear motion to the given position.
Example : G01 X20 Y30 Z -1 F180
Here the tool is moved to X 20 mm, Y 30mm, and Z - 1mm at a feed rate of 180 mm per minute.
G02 Clockwise Circular Interpolation
Arcs can be specified by either radius or by centre.
If a positive radius is specified then the shorter arc is cut. If it is negative then the longer arc is
cut.
Example: G02 X30 Y20 R15 F80
In this example the tool is moved to X30mm and Y 20mm. The arc has a radius of 15mm.
"I" and "J" specify the arc start. If the value is 0 then it need not be specified.
Example: G02 X30 Y20 I15 J0 F80
G03 Counter - Clockwise Circular Interpolation
G03 causes counter - clockwise circular motion.
Arcs can be specified by either radius or arc centre. If a positive radius is specified then the
shorter arc is cut. If it is negative then the longer arc is cut.
Example: G03 X30 Y20 R15 F80
In this example the tool is moved to X 30 mm and Y 20mm. The arc has a radius of 15mm
"I" and "J" specify the arc centre relative to the arc start. If the value is 0 then it need not be
specified.
Example: G03 X30 Y20 I15 J0 F80
G04 Dwell
A Dwell of up to 500 seconds can be programmed.
Example: G04 X10
This causes a delay in machining of 10 seconds. This can be used for drilling cycles.
G20 Imperial Units
All future instruction parameters will be taken as imperial values. That is, they will specify
inches.
G21 Metric Units
All future instruction parameters will be taken as metric values. That is, they will specify
millimeters. By default metric units will be taken for part programming.
G28 Goto Reference Point
A G28 causes a fast traverse to the specified position and then to the machine datum.
Example: G28 X84.0 Y80.0 Z5.0
G40 Cancel Tool Radius Compensation
G40 switches off any tool radius compensation activated by a G41 or G42.
G41 Left Hand Radius Compensation
G41 causes future movement to take place to the left of the programmed path.
The offset used is equal to the radius of the current tool.
G42 Right Hand Radius Compensation
G42 causes future movement to take place to the right of the programmed path
The offset used is equal to the radius of the current tool.
G73 Past Peck Drilling Cycle
Example: G73 X1.0 Y1.0 Z-5.0 Q0.3 R1.0 K1 P500 F30
"X" and "Y" are the next position to drill at.
"Z" is the base of the hole
PROGRAM No.02
LINEAR INTERPOLATION
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
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
VIVA QUESTIONS:
1.
2.
3.
4.
PROGRAM No.02
LINEAR WITH CIRCULAR INTERPOLATION
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
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.
(PROGRAM No.03)
LINEAR CIRCULAR INTERPOLATION WITH CIRCULAR, RECTANGULAR POCKETING)
N010 G21 G94
N020 G91 G28 Z0
N030 G28 X0 Y0
N035 M06 T2
N040 M03 S1200
N050 G90 G00 X-30 Y-30
N060 G00 Z5
N070 G01 Z-1 F50
N080 Y-10
N090 G02 X-30 Y10 R10
N100 G01 Y30
N110 X-10
N120 G02 X10 Y30 R10
N130 G01 X30
N140 Y10
N150 G02 X30 Y-10 R10
N160 G01 Y-30
N170 X10
N180 G02 X-10 Y-30 R10
N190 G01 X-30
N200 G00 Z5
N210 G170 P0 Q1 R0.5 X-10 Y10 Z-2 I0 J0 K10
N220 G171 P50 S2000 R40 F60 B2500 J100
N230 G170 P0 Q1 R0.5 X10 Y-10 Z-2 I0 J0 K10
N240 G171 P75 S2000 R50 F70 B2500 J50
N250 G172 I16 J16 K0 P0 Q1 R0 X7 Y7 Z-2
N260 G173 I0 K0 P75 T1 S2000 R50 F80 B2500 J80 Z5
N270 G172 I16 J16 K0 P0 Q1 R0 X-23 Y-23 Z-2
N280 G173 I0 K0 P75 T1 S2000 R40 F60 B2500 J80 Z5
N290 G00 Z5
N300 M05
N310 G91 G28 Z0
N320 G28 X0 Y0
N230 M30
VIVA QUESTIONS:
1.
2.
3.
4.
PROGRAM No.04
ARC EXPLANATION
N010 G21 G94
N020 G91 G28 Z0
N030 G28 X0 Y0
N040 M06 T2
N050 M03 S2500
N060 G90 G00 X10 Y10
N070 G00 Z5
N080 G01 Z-1.2 F50
N090 G02 X10 Y70 R100
N100 G02 X70 Y70 R100
N110 G02 X70 Y10 R100
N120 G03 X10 Y70 R30
N130 G03 X70 Y70 R30
N140 G03 X70 Y10 R30
N150 G03 X10 Y10 R30
N160 G00 Z5
N170 M05
N180 G91 G28 Z0
N190 G28 X0 Y0
N200 M30
VIVA QUESTIONS:
1. What is mean by G02?
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?
PROGRAM No.05
ARC EXPLANATION
N010 G21 G94
N020 G91 G28 Z0
N030 G28 X0 Y0
N040 M06 T2
N050 M03 S1800
N060 G90 G00 X-35 Y-36.5
N070 Z5
N080 G01 Z-1 F50
N090 Y-31.5
N100 G02 X-2.5 Y25.04 R65
N110 G02 X35 Y3.39 R25
N120 G01 Y-11.25
N130 G02 X10 Y-36.25 R25
N140 G01 X-35 Y-36.25
N150 G00 Z5
N160 M05
N170 G91 G28 Z0
N180 G28 X0 Y0
N190 M30
VIVA QUESTIONS:
1. What are the important milling operations?
2. What is different between Turning and Milling?
3. What is the use of M codes?
4. Write about some important M codes?
5. What is the use of M codes?
PROGRAM No.06
MIRROR IMAGING
N010 G21 G94
N020 G91 G28 Z0
N030 G28 X0 Y0
N040 M06 T2
N050 M03 S1800
N060 G90 G00 X0 Y0
N070 G00 Z5
N080 M98 P0010008
N090 M70
N100 M98 P0010008
N110 M80
N120 M70
N130 M71
N140 M98 P0010008
N150 M80
N160 M81
N170 M71
N180 M98 P0010008
N190 M81
N200 G00 Z5
N210 M05
N220 G91 G28 Z0
N230 G28 X0 Y0
N240 M30
INCREMENTAL METHOD
(SUBPROGRAM FOR EX 6
O0008
N010 G90 G00 X10 Y10
N020 G01 Z-.5 F50
N030 X40
N040 X10 Y40
N050 Y10
N060 G00 Z6
N070 G00 X0 Y0
N080 M99
VIVA QUESTIONS:
1. What is mean by M05?
2. What is mean by R?
3. What is the use of G98?
4. What is mean by M30?
5. Mention few important G codes?
PROGRAM No.07
MILLING THE FLAG
N010 G21 G94
N020 G91 G28 Z0
N030 G28 X0 Y0
N040 M06 T01
N050 M03 S2000
N060 G90 G00 X-30 Y-45 Z5
N070 G01 Z-1.2 F50
N080 G02 X-45 Y-30 R15
N090 G01 Y30
N100 G02 X-30 Y45 R15
N110 G01 X30
N120 G02 X45 Y30 R15
N130 G01 Y-30
N140 G02 X30 Y-45 R15
N150 G01 X-30
N160 G00 Z5
N170 G00 X0 Y-45
N180 G01 Z-1.2 F50
N190 G03 X-45 Y0 R60
N200 G03 X0 Y45 R60
N210 G03 X45 Y0 R60
N215 G03 X0 Y-45 R60
N218 G00 Z5
N220 G170 R0 P0 Q1 X0 Y10 Z-2.2 I0 J0 K10
N230 G171 P75 S2000 R50 F70 B2500 J50
N240 G172 I20 J20 K0 P0 Q1 R0 X-10 Y-10 Z-2.2
N250 G173 I0 K0 P75 S1200 T1 S1800 R50 F60 B2500 J50 Z5
N250 G00 Z5
N260 G00 X0 Y0
SUBPROGRAM FOR EX 7
O1000
N010 G90 G00 X25 Y35
N020 G01 Z-1.2 F50
N030 X35
N040 Y25
N050 X25 Y35
N060 G00 Z5
N070 X0 Y0
N080 M99
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?
PROGRAM No.08
PROFILE MILLING
N010 G21 G94
N020 G91 G28 Z0
N030 G28 X0 Y0
N040 M06 T2
N050 M03 S2000
N060 G90 G00 X5 Y42 Z5
N070 G01 Z-1 F50
N080 G03 X4 1 Y27 R43
N090 X64 Y31 R29
N100 G01 X62 Y35
N110 G03 X80 Y49 R32
N120 X93 Y56 R36
N130 G02 X76 Y76 R26
N140 X67 Y62 R30
N150 X59 Y70 R6
N160 G01 X41 Y76
N170 X35 Y69
N180 G03 X5 Y56 R43
N190 G02 X5 Y42 R8
N200 G01 Z5
N210 G00 X17 Y56
N220 G01 Z-1
N230 G01 Z5
N240 G91 G28 Z0
N250 G28 X0 Y0
N260 M05
N270 M30
VIVA QUESTIONS:
1. What is mean by profile?
2. Which mean by M05?
3. Write syntax for G90.
4. Is it possible to do circular cutting with G90?
5. What is meant by tool offset?
ROBOT
ROBOT COMMANDS
JOINT
To teach current position as a joint co-ordinate
PTP
To teach current position as a point
START SPLINE
Initial point to define a spline
END SPLINE
End point of a spline
HOME ALL
All six axes rested at home position
ROBOT GRIPPER
GRIPPER OPEN
To open pneumatic gripper
GRIPPER CLOSE
To close pneumatic gripper
ARITHMETIC OPERATORS
=, +, -, *, / are used in program for loop/ repetitive operation.
FLOW CONTROL
JUMP
To bypass the program control to the desired line
LABEL
To name a program (or) a line
WAIT
To provide idle (or) waiting time in terms of milliseconds.
SPEED
To set the operating speed of elements in mm/sec
CONTROL OPERTORS
1. Commands - =, < and > used in program for loop/ repetitive operation
2. To check the decision criteria which is specified in program
PORT
To name of port in control in switch on/ off
OUT PUT
PRINT
To print the program using printers
REMARK
To program of adding work in remark
PORTMASK- 0
Switch off port- To stop receiving massage via port
PORTMASK-1
Switch on port- To start receiving massage via port
AUTO
To run the whole program continuously without any in eruptions
SINGLE SETP
To execute the program step (or) line by line
SELECTION
To execute the sleeted line
INDIVIDUAL AXIS HOME
To set the individual axis to the home position
CIRCLE- MID
To teach current position as midpoint of circular motion
CIRCEL- END
To teach current position as end point of circle motion
JOINT CONTROL
All individual joints J1, J2, J3, J4, J5 and J6 can be controlled manually by clicking joint
control in positive and negative directions.
EX NO: 1
EX NO: 2
GRIPPER OPEN
WAIT 2000
/* Idle time 2 Sec*/
JOINT A1 25.00 A2 -58.44 A3 82.96 A4 0.00 A5 -16.25 A6 0.08 /*Joint coordinate position*/
PORTMASK 0
PORTMASK 0
PORTMASK 0
JOINT A1 25.00 A2 -87.28 A3 91.32 A4 0.00 A5 88.65 A6 0.00
NC PART PROGRAM
G21 G40 G94
G28 X0 Y0 Z0
M06 T0101
M03 S1200
G00 X20 Y10 F20
G172 I60 J50 P0 Q1 R0 X20 Y10 Z-2
G173 I0 K0 P75 T1 S1200 R50 F25 B1500 J75 Z5
G00 X50 Y35
G170 R0 P1 Q1 X50 Y35 Z-3 I0 J0 K20
G171 P75 S1200 R75 F25 B1500 J100
G00 X40 Y25 Z5
G83 X40 Y25 Z-5 Q1 F30
Z5
X60 Y25 Z-5
Z5
X60 Y45 Z-5
Z5
X40 Y45 Z-5
Z5
G28 X0 Y0 Z0
M05
M30