Professional Documents
Culture Documents
Aim:
To study the G codes and M codes for the CNC milling machine.
Programming codes:
Codes are model and do not have to be repeated in every sequence line.
All dimensions are entered as decimals.
1 | Page
03 > spindle forward (cw) M 04
> spindle reverse ( ccw) M 05 >
spindle stop
M 06 > tool change
M 08 > coolant ON M
09 > coolant OFF M 10
> chuck open M 11 >
chuck close
M 30 > program stop and restart
M 98 > sub program call
M 99 > sub program exit
RESULT
Thus the G codes and M codes for the CNC milling machines were studied.
EX.NO:2 CNC-MILLING RECTANGULAR POCKETING
DATE:
Aim:
Apparatus required:
CNC machine
Personal computer
CNC software
Program:
M 03 S 1500
(Stock /block 100,100, 10, -4, -4,
-7) (tool /mill 10, 0, 30, 0)
(color 0, 255,
0) G21 G98
G00 X0 Y0 Z5
G00 X10 Y10 Z5 F120
G01 X60 Y10 Z-3 F120
G01 X60 Y60 Z-3 F120
G01 X10 Y60 Z-3 F120
G01 X10 Y10 Z-3 F120
G00 X0 Y0 Z5
M05 M30
RESULT:
Thus the rectangular milling operations by using CNC milling programming codes were
performed.
EX.NO:3 CNC-MILLING CIRCULAR POCKETING
DATE:
Aim:
To write a manual part program for performing a circular pocketing milling operation by using
CNC milling programming codes.
Apparatus required:
CNC machine
Personal computer
CNC software
Work piece (100 x100 x 10 mm)
Program:
RESULT:
Thus the circular milling operations by using CNC milling programming codes were performed.
EX.NO:4 CNC LATHE-SIMPLE TURNING
DATE:
Aim:
Apparatus required:
CNC machine
Personal computer
CNC software
Cutting tool
Work piece
Program:
RESULT:
Thus the simple turning operation was performed by using CNC Lathe programming codes.
EX.NO:5 CNC LATHE-STEP TURNING
DATE:
Aim:
Apparatus required:
CNC machine
Personal computer
CNC software
Cutting tool
Work piece
Program:
RESULT:
Thus the step turning operation was performed by using CNC Lathe programming codes.
EX.NO:6 CNC LATHE SIMPLE FACING
DATE:
Aim:
Apparatus required:
CNC machine
Personal computer
CNC software
Cutting tool
Work piece
Program:
RESULT:
Thus the Simple facing operation was performed by using CNC Lathe programming codes.
EX.NO:7 CNC LATHE RIGHT HAND TAPER TURNING
DATE:
Aim:
To perform the right hand taper turning operation by using CNC programming codes.
Apparatus required:
CNC machine
Personal computer
CNC software
Cutting tool
Work piece
Program:
RESULT:
Thus the right hand taper turning operation was performed by using CNC Lathe programming
codes.
EX.NO:8 CNC LATHE LEFT HAND TAPER TURNING
DATE:
Aim:
To perform the left hand taper turning operation by using CNC programming codes.
Apparatus required:
CNC machine
Personal computer
CNC software
Cutting tool
Work piece
Program:
RESULT:
Thus the left hand taper turning operation was performed by using CNC Lathe programming
codes.
EX.NO:9 CNC LATHE THREAD CUTTING OPERATION
DATE:
Aim:
Apparatus required:
CNC machine
Personal computer
CNC software
Cutting tool
Work piece
Program:
RESULT:
Thus the thread cutting operation was performed by using CNC Lathe programming codes.