You are on page 1of 5

ME 308 Experiment Report

Experiment 1

Introduction to NC, CNC part programming using CAM package, simulation


and dry run

Name-Ashutosh Garg

Entry Number- 2018MEB1213

Mobile Number- (+91)-83608-75243

Email ID- 2018meb1213@iitrpr.ac.in

Date of sharing- 22nd June 2021

Date of submission- 4th July 2021


Summary of the experiment

Computer Numerical Control (CNC) machines are the ones which use the pre-programmed
commands to perform the working on a material. Numerical Control (NC) is making the machine
tool to work according to a programmed code instead of controlling the tools manually. Open loop
and Close loop are the two kinds of systems in which due to the continuous feedback in closed
loop, the accuracy upto higher level can be achieved and errors can be reduced.

In this experiment, we mainly studied CNC programming concepts in detail and different types of
CNC programming. CNC tooling and machining was studied along with some interpolation
techniques like linear, cubic, circular, helical, and parabolic interpolation. We use G-M codes to
operate NC machines.

Program Command Details: Part program contains the N-letter for sequence number, G-letter for
the preparatory word, coordinates are provided by standard X,Y,Z format for 3D axis along with
A,B,C for the rotational coordinates and at last F for the feed rate.

In the experiment, we wrote the part program and fed the code to the machinery after ensuring its
proper functioning of machinery and we also checked the code by performing simulations on
softwares. After confirming that everything works fine, we set up the required tools and workpiece
is positioned and job is performed by the CNC machine. At last, we check for the errors in the
obtained measurements of the final workpiece.

The outcome of the experiment

Figure 1 shows the final image of the CNC part program and the simulated result obtained by
running the code on a simulator. This surely gives us a fair idea about how the final product will
look like.

Figure 1: Final simulated image of the program code

1
Specific observations from the Experiment:

The CNC code can be simulated using a software program before performing the actual job and it
can help us to identify the bugs and the errors that we may have done during the code generation.
Also, we can set up the parameters in the CNC part program and we do not need to perform any
adjustments after starting the process.

Assignment Question:

Write the CNC part program to print the words “IIT Ropar”
Ans:
Final Image of the Code in the simulator is:

Figure 2: CNC code image


Code for same:
N1 G54 G90
N2 T01 S1000 F0.5
N3 M04 M08
N4 G00 X0 Y0 Z5
N5 G00 X30 Y30
N6 G00 Z5
N7 G00 X50
N8 G00 Z-5
N9 G01 Y100
N10 G00 Z5
N11 G00 X70
N12 G00 Z-5
N13 G01 Y30
N14 G00 Z5
N15 G00 X100

2
N16 G00 Z-5
N17 G01 Y100
N18 G00 Z5
N19 G00 X80
N20 G00 Z-5
N21 G01 X120
N22 G00 Z5
N23 G00 X140 Y30
N24 G00 Z-5
N25 G01 Y100
N26 G02 Y65 R9
N27 G01 X160 Y30
N28 G00 Z5
N29 G00 X175
N30 G00 Z-5
N31 G02 Y60 R7.5
N32 G02 Y30 R7.6
N33 G00 Z5
N34 G00 X200 Y5
N35 G00 Z-5
N36 G01 Y60
N37 G01 X210
N38 G02 Y30 R7.5
N39 G01 X200
N40 G00 Z5
N41 G00 X260
N42 G00 Y25
N43 G00 Z-5
N44 G01 Y60
N45 G01 X250
N46 G03 Y30 R7.5
N47 G01 X260
N48 G00 Z5
3
N49 G00 X270
N50 G00 Z-5
N51 G01 Y60
N52 G00 Z5
N53 G00 Y53
N54 G00 Z-5
N55 G02 X290 R5
N56 G00 Z5
N57 G00 X0 Y0
N58 M09 M05 M02

You might also like