4th Experiment
4th Experiment
4th Experiment
Experiment 04
CNC Lathe
Objectives:
Theory:
• CNC Turning
• CNC milling
• CNC wirecut
• CNC router
• CNC laser cut
• CNC water jet cutting etc.
C) Machine
A) Instructions B) Controller
Component
1
Department of Mechanical Engineering, Air University A&AC Kamra
Manufacturing Processes-II Lab
G & M codes
Generally, G-codes create movement & M-codes turn things ON, turn things OFF.
G Code Description
G00 Positioning (rapid traverse)
G01 Linear interpolation
G02 Circular interpolation clockwise
G03 Circular interpolation counterclockwise
G04 Dwell
G17 Plane XY
G18 Plane XZ
G19 Plane YZ
G20 Dimensions in inches
G21 Dimensions in mm
G28 Automatic machine reference
G40 Cancel cutter radius compensation
2
Department of Mechanical Engineering, Air University A&AC Kamra
Manufacturing Processes-II Lab
M
Code Description
M00 Programmed stop
M01 Optional stop
M02 Main program end
M03 Spindle rotation clockwise
M04 Spindle rotation counterclockwise
M05 Spindle stop
M06 Tool change
M08 Coolant ON
M09 Coolant OFF
M10 Chuck open
M11 Chuck close
M19 Spindle lock
M20 Spindle unlock
M30 Main program end
3
Department of Mechanical Engineering, Air University A&AC Kamra
Manufacturing Processes-II Lab
Task 1 (Write a part program for step-turning and taper-turning operations for the
assigned cylindrical workpiece on CNC Lathe)
4
Department of Mechanical Engineering, Air University A&AC Kamra
Manufacturing Processes-II Lab
5
Department of Mechanical Engineering, Air University A&AC Kamra
Manufacturing Processes-II Lab
Task 2 (Performing the step-turning and taper-turning operations on the CNC Lathe)
Procedure:
• Initially, we insert the necessary workpiece firmly into the chuck or in between
centers.
• Next, we chose the right cutting tool according to the material and operation
while making sure the tool holder was correctly positioned.
• next we selected the appropriate work coordinate system (G54, G55, etc.).
6
Department of Mechanical Engineering, Air University A&AC Kamra
Manufacturing Processes-II Lab
• For step-turning (G01, G00) and taper-turning (G01 with variable X-Z
coordinates), we chose the proper CNC codes.
• Next, we touched off the tool to set the reference points for the X (diameter)
and Z (length) axes of the workpiece.
• Next, we loaded the CNC software into the controller to do step-turning & step
turning.
• We measured the stepped sizes using a micrometer or vernier caliper.
• For a smooth taper, we made sure that the X and Z coordinates varied linearly.
• For accurate interpolation along the taper length, we employed G01.
Conclusion:
We effectively became acquainted with CNC step turning and taper turning procedures
in this lab. We acquired hands-on expertise in comprehending the inner workings of
CNC machinery and the particular procedures associated with step and taper turning.
In order to carry out both operations on the CNC lathe, we also created and executed
G and M codes, which strengthened our comprehension of CNC programming. We
gained a strong basis for developing accurate and effective code for a variety of turning
operations through this lab, in addition to improving our technical proficiency with CNC
machinery operation.
7
Department of Mechanical Engineering, Air University A&AC Kamra