CNC Lab Manual
CNC Lab Manual
Prepared by
Mr. M Rajesh
Assistant Professor
Problem analysis: Identify, formulate, review research literature, and analyse complex engineering
problems reaching substantiated conclusions using first principles of mathematics, natural sciences, and
PO2
engineering sciences
Conduct investigations of complex problems: Use research-based knowledge and research methods
including design of experiments, analysis and interpretation of data, and synthesis of the information to
PO4
provide valid conclusions.
Software Engineering Practices: An ability to adopt and integrate current technologies in the design
PSO2 and manufacturing domain to enhance the employability.
Successful Career and Entrepreneurship: To build the nation, by imparting technological inputs and
PSO3 managerial skills to become technocrats.
S. Page
List of Experiments Remarks/Grade
No No.
Program
Exp. Outcomes Program Specific Outcomes
No. Experiment Attained Attained
Step turning
Title: CNC Programming and Simulation.
Objective: To write and simulate CNC Part program for two axes turning machine with work offset zero
position. (Sinumeric controller)
CNC Part programme Turning operation examples:
Example 1: Write a CNC part programme to cut the part as shown in Fig. from an aluminium cylindrical
block with size 100 mm x 100 mm.
Chamfer
Program code comments
N01 G18 G71 G90
HEADER/INITIAL PREPARATION CODES
G54
N02 T00 D01 M06 TOOL CHANGE COMMAND
N03 S1200 M03/M04 SPINDLE ROTATION
N04 M08 COOLANT ON
N05 G00 X0 Z10 RAPID MOVEMENT AT FIRST SAFETY POSITION
N06 G01 Z0 X0 F0.2 Linear interpolation, go to given coordinates WITH FEED 0.2 MM/REV.
N07 X70 CHR=5 Linear interpolation, creating chamfer radius of 5mm
N08 Z-35 Linear interpolation, go to given coordinates
N09 X120 CHF=15 Linear interpolation, creating chamfer full length of 15mm
N10 Z-80 Linear interpolation, go to given coordinates
N11 X150 CHF=5 Linear interpolation, creating chamfer radius of 5mm
N12 Z-145 Linear interpolation, go to given coordinates
N15 G00 X155 RAPID MOVEMENT AT SECOND SAFETY POSITION
N16 M09 COOLANT OFF
N17 M05 SPINDLE STOP
N18 G75 X0 Z0 CALLING HOME POSITION
N19 M30 PROGRAMM DATE END AND RESET
Example 3: Write a CNC part programme to cut the part as shown in Fig. from an aluminium cylindrical
block with size 145 mm x 150 mm.
RADIUS
Program code comments
N01 G18 G71 G90 G54 Header/initial preparation codes
N02 T00 D01 M06 Tool change command
N03 S1200 M03/M04 Spindle rotation
N04 M08 Coolant on
N05 G00 X0 Z10 Rapid movement at first safety position
N06 G01 Z0 X0 F0.2 Linear interpolation, go to given coordinates WITH FEED 0.2 MM/REV.
N07 X46 Linear interpolation, RECHES STARTING POINT OF ARC
ANTI CLOCKWISE CIRCULAR interpolation, CREATING ARC AT THE
N08 G03 X70 Z-12 CR=12
CORNOR OF 70MM WITH 12MM RADIUS
N09 G01 Z-35 F0.2 Linear interpolation, go to given coordinates
N10 X100 Linear interpolation, go to given coordinates
ANTI CLOCKWISE CIRCULAR interpolation, CREATING ARC AT THE
N11 G03 X120 Z-45 CR=10
CORNOR OF 120MM WITH 10MM RADIUS
N12 G01 Z-80 F0.2 Linear interpolation, go to given coordinates
N13 X140 Linear interpolation, go to given coordinates
ANTI CLOCKWISE CIRCULAR interpolation, CREATING ARC AT THE
N14 G03 X150 Z-85 CR=5
CORNOR OF 150MM WITH 5MM RADIUS
N15 G01 Z-145 F0.2 Linear interpolation, go to given coordinates
N16 G00 X155 Rapid movement at second safety position
N17 M09 Coolant off
N18 M05 Spindle stop
N19 G75 X0 Z0 Calling home position
N20 M30 Programm date end and reset
Experiment No. 2
Program code:
Experiment No. 3
Program code:
Experiment No. 4
Program code:
Experiment No. 5
Program code:
Experiment No. 6
Example 2: Write a CNC part programme to cut the part as shown in Fig. from a rectangular block with
size 100 mm x 100 mm with (150,100) work offset.
Example 3: Write a CNC part programme to cut the part as shown in Fig. from a rectangular block with
size 150 mm x 150 mm.
1. CREATE A PATH PROGRAM FOR PROFILE
2. CREATE A VARIOUS DRILLED HOLES USING MODE CALL OPERATION
Program code:
Experiment No. 7
Program code:
Experiment No. 8
Program code:
Experiment No. 9
Program code:
Experiment No. 10
Program code: