CNC Project Report
CNC Project Report
CNC Project Report
SUBMITTED BY APPROVED BY
VISHAL ROY KALINGA INSTITUTE OF INDUSTRIAL TECHNOLOGY
1
PREFACE
Training is an integral part of B.tech and each and every
student has to undergo the training for 4-6 weeks in a
company after the completion of his/her 2nd year of B.tech
course.
2
DECLARATION
I Vishal Roy Roll no-2002612 B.tech Mechanical Engineering
semester 5th of KALINGA INSTITUTE OF INDUSTRIAL
TECHNOLOGY hereby declare that the course report entitled
‘Report on CNC programming’ is an original work and the data
provided in the study is authentic to the best of my
knowledge.This report has not been submitted to any other
college for award of any other degree.
VISHAL ROY
2002612
DATE-16/06/2021
3
CERTIFICATE
4
TABLE OF CONTENTS
Preparatory Commands............................................................................................................................1
G-CODES.....................................................................................................................................................................................2
Miscellaneous Commands(M-CODES) .................................................................................................................3
Software Interface...............................................................................................................................................4
5
CNC MACHINING AND SAFETY
HOUSEKEEPING
WHAT IS CNC?
CNC stands for Computer Numerical Control and has been around since
the early 1970's. Prior to this, it was called NC, for Numerical Control.
(In the early 1970's computers were introduced to these controls, hence
the name change.) While people in most walks of life have never heard
of this term, CNC has touched almost every form of manufacturing
process in one way or another. If you'll be working in manufacturing,
it's likely that you'll be dealing with CNC on a regular basis.
In a typical NC system the motion and machining instructions and the
related numerical data, together called a part program, used to be written
on a punched tape. The part program is arranged in the form of blocks
of information, each related to a particular operation in a sequence of
operations needed for producing a mechanical component. The punched
tape used to be read one block at a time. Each block
contained, in a particular syntax, information needed for processing a
particular machining instruction such as, the segment length, its cutting
speed, feed, etc. These pieces of information were related to the final
dimensions of the workpiece (length, width, and radii of circles) and the
contour forms (linear, circular, or other) as per the drawing. Based on
these dimensions, motion commands were given separately
for each axis of motion. Other instructions and related machining
parameters, such as cutting speed, feed rate, as well as auxiliary
functions related to coolant flow,
spindle speed, part clamping, are also provided in part programs
depending on
manufacturing specifications such as tolerance and surface finish.
Punched tapes are mostly obsolete now, being replaced by magnetic
disks and optical disks
Computer Numerically Controlled (CNC) machine tools, the modern
versions of NC machines have an embedded system involving several
microprocessors and related electronics as the Machine Control Unit
(MCU). Initially, these were developed in the seventies in the US and
Japan. However, they became much more popular in
Japan than in the US. In CNC systems multiple microprocessors and
programmable logic controllers work in parallel for simultaneous servo
position and velocity control of several axes of a machine for contour
cutting as well as monitoring of the cutting process and the machine
tool. Thus, milling and boring machines can be fused into versatile
machining centers. Similarly, turning centers can realize a fusion
of various types of lathes. Over a period of time, several additional
features were introduced, leading to increased machine utilization and
reduced operator intervention. Some of these are:
G code Description
G00 Rapid traverse
G01 Linear interpolation
G02 Circular interpolation CW
G03 Circular interpolation CCW
G04 Dwell
G09 Exact stop
G10 Programmable data input
G20 Input in inch
G21 Input in mm
G22 Stored stroke check function on
G23 Stored stroke check function off
G27 Reference position return check
G28 Return to reference position
G40 Tool nose radius compensation cancel
G41 Tool nose radius compensation left
G42 Tool nose radius compensation right
G70 Finish machining cycle
G71 Turning cycle
G72 Facing cycle
G73 Pattern repeating cycle
G74 Drilling cycle
G75 Grooving cycle
G76 Threading cycle
G90 Absolute command
G91 Increment command
G94 Feed Per Minute
G95 Feed Per Revolution
G96 Constant surface speed control
G97 Constant surface speed control cancel
SOFTWARE INTERFACE
Fanuc Oit Control Panel
Fanuc CNC Milling Interface and Control Panel
.Program Planning and Structure
O0013
M03 S2000;
T0101;
G00 X100 Z2;
G90 X95 Z-130;
X55 Z-20;
G02 X80 Z-80 R10;
X90 Z-130;
X50 Z-20;
G00 X80 Z-130;
X85 Z-130;
X45 Z-20;
G02 X100 Z-140 R10
X80 Z-130;
X40 Z-20;
G00 X100 Z100;
X75 Z-70;
G00 X100 Z100;
M02 M30;
X70 Z-70;
G00 X40 Z-20;
X65 Z-70;
G02 X60 Z-30 R10;
X60 Z-70;
G00 X60 Z-70;