Course Material On CNC Turning and CNC Milling
Course Material On CNC Turning and CNC Milling
The idea of numerical control started when the automation of machine tools originally
incorporated specific concepts of programmable logic. In the beginning, the first NC
machines were built back in the 1940s. Slightly more advanced machines came along in
the 1950s. These manufacturing machines were constructed based on existing tools
that were modified with motors designed to move the controls of the machine. These
controls followed specific points that were fed into the machine on punched tape.
The numerical control technology moved into the 1960s and 1970s, a very familiar form
of a CNC machine that most would recognize today started taking shape. Digital
technology then entered the fray, and automation in production processes became
more efficient than ever. In fact, many individuals can purchase – and even design –
their own homemade CNC machines. Because of how advanced computers are
nowadays, it’s more common than ever to find CNC machines in all industries.
What is CNC?
The term “CNC” is a generic term which can be used to describe many types of device,
this would include milling machines, Lathe machines, Drilling machines, plotters, CNC
Routers, 3D printers, and others. CNC stands for Computer Numerically Controlled and
basically means that the physical movements of the machine are controlled by
instructions, such as co-ordinate positions that are generated using a computer.
It is typically used to refer to a device which uses a rotating cutting tool/Work peace
which moves in 2/ 3 or more axes (X, Y and Z) to cut-out or carve parts in different
types of materials. It is incredibly versatile and allow to cut a variety of different types of
product and materials. The exact abilities of a machine will vary with size, rigidity and
power.
Computer skills for CNC work- One requirement common to all aspects of CNC work
is how to use a computer to perform basic tasks. That may need to use a combination
of software to design and cut the parts. This will require an understanding of starting
and stopping software programs, saving, copying, moving and deleting files, finding files
stored on the computer and installing programs and updates.
Conventional Machines- For machining, Conventional machines are controlled by
machinists, machinists can freely control the machine axis movements, can choose
spindle speed of their liking, can change tool at their will (although all these steps are
component material dependent, as for a harder material it has to choose a low-speed
etc. but everything is controlled by the machinist.).
CNC Machines:
The CNC machining process are same as conventional machining process, But not
everything is in the control of CNC machinist. On a CNC machine every step tool-
change/spindle-speed/axis-movement is controlled through CNC machine control. A
CNC machinist can only Start/Stop/Control-tool-cutting etc. Every component operation
(tool-change/axis-movement/spindle-speed/gear-selection) is stored in the cnc-
machine-memory as a list of Instructions this is called a Part-Program or just a Program.
1
CONTROLS PROGRAMMING LANGUAGE:
More commonly used languages are,
(i) APT (Automatically programmed tools): It is a universal part programme
language which can specify any component and its machining operations to be
carried out on NC machines having upto 5 controlled axes. APT is a powerful and
complex language which requires the use of a large computer and is not convenient
for simple applications. It uses the nomenclature of FORTRAN (Formulae translation)
which in turn is a Universal Computer language developed by IBM.
(ii) ADAPT: was the first of several alternative languages developed from APT. It
is simplified version of APT suitable for simple machines.
(iii) EXAPT: (Extended Subjects of APT) is an important language developed by
Germany which is made up of 3-parts.
EXAPT 1 for point to point application.
EXAPT 2 for turning work, power and energy
EXAPT 3 for milling type works.
(iv) NELAPT: is a programming language based on APT and developed by
the National Engineering Laboratory (NEL)
Examples are:
FEDRAT Feed rate
GOFWD Go forward
GOLFT Go left
TANTO Tangential to
2
The Advantages of NC / CNC Machine Too:l
The advantages of a NC/CNC machines are quite obvious. After the initial setup, the
additional setup time is eliminated. Only one work-holding fixture is necessary because
the transfer to other machines has been eliminated. Setup time is reduced for the same
reason. Less time is needed for the change of feeds & speeds, tool selection and
insertion, and indexing of the work piece. Machining time can also be predicted because
the human element has largely been eliminated during the machining process. A more
accurate part is produced because of the elimination of transfer error. Can be
manufacturing the parts which are very complex in construction & having very close
tolerance.
The Disadvantages of NC / CNC Machine Tool:
As with every system, the CNC systems too have certain disadvantages which are, (a)
Higher Investment Cost- It has more sophisticated and complex technology and this
technology cost more to buy its non CNC counterpart. So to be use these machines
more aggressively than ordinary machines and high utilization is essential to get returns
of investment. (b) Higher maintenance cost- maintenance problem becomes more acute
and need CNC engineers with certain skill. (c) Costlier CNC Personnel- CNC machine
operations require a higher skill level than conventional operations, so skilled personnel
with particular field is required. (d) Planned support facility- The planned supports are
essential i.e. Part programming, tape preparation, tool pre-setting, fundamental services
etc.
The Application of NC / CNC Machine Tool:
The following areas of machining, where the CNC users can expect
benefit and improvement by applying the NC/CNC machine tools.
01. To minimize the Lead time in manufacturing.
02. To manufacture such parts which are very complex in construction
and it will not possible to manufacture them accurately on
conventional machines due to human and machine error involved.
03. To give flexibilities to machine tools to adapt such parts of
manufacture, which are frequently subjected to change the design.
04. Repetitive and precision quality parts which are to produce
in batch quantity. The batch may be small or medium in quantity.
05. To cut down the investment cost on tooling and fixture inventory as
required, when parts are made on a conventional machine.
06. If it is an expensive parts, where mistakes in processing would be costly.
07. The manufactured parts are require 100% inspection.
08. Excessive metal needs to be removed.
09. The manufactured parts having very close tolerance.
10. Large number of operations must be performed on the part in its
manufacturing.
3
The environmental control for NC / CNC Machine Tool:
Protection of machine is very important for efficient working and long life of the machine.
Various types of collapsible guards, wipers and telescopic covers are used to protect
the machine guide ways, drive screws etc. As well as the following environmental
control is necessary to protect the machine life.
01. Dust free floor space and environment.
02. Working temperature should be within control limits.
03. Well air circulation.
04. Space should not be congested, it should be quite open.
05. Electrical power should be regulated.
06. There should be proper disposal point for scrap removal.
07. There should not be presence of any vibrating and noisy source near
to the machine.
08. There must be proper lighting and air ventilation system.
09. The machine should be operated by trained person.
10. There must be provision of sufficient supply of coolant & should
protect from the moisture.
Importance for the employees to understand CNC programming:
In the past it did not seem necessary for managers, supervisors or engineers to
understand the concepts of CNC programming. BUT NOW increasing competition,
shrinking margins and high employee turnover demands that people communicate
more effectively between disciplines. 7 Easy Steps to CNC Programming. A Beginner's
Guide makes it possible for everyone, regardless of their primary job assignment, to
understand CNC programming concepts.
Engineers can more easily design for manufacture.
Supervisors can be of greater support to operators. Managers/Supervisors can
more reliably measure the quality of CNC programs.
Programmers using Computer Aided Manufacturing (CAM) systems can more
reliably desk check programs before sending them to the shop.
Managers/Supervisors can feel more confident when discussing CNC related
issues.
Managers/Supervisors can garner more respect from CNC operators and
programmers.
Well trained operators increase efficiency and profitability.
Well trained operators can more easily spot programming errors.
Well trained operators are less likely to scrap parts.
Well trained operators are less likely to have crashes and suffer personal injury.
4
Part Program for CNC Machine Tool:
Part Programme is an important component of the CNC system. It is the procedure by
which the sequence of processing steps and other related data is planned and
documented on the CNC machine. It is a set of instructions which instruct the machine
tool about the processing steps to be performed for the manufacture of a component.
The shape of the manufactured components will depend on how correctly the program
has been prepared.
Description of the Part Program:
Every Part-program consists of multiple instruction (which tell cnc machine what to do).
5
and instructs different parts of cnc machine to do the required operation. This way
whole the part-program instructions are executed block by block.
If during this whole process anything goes wrong then cnc machinist can stop the
cutting tool motion (Feed-Hold), or he can completely stop the machine (Cycle-Stop).
Even cnc machinist can press Emergency-Stop-Button if anything dangerous happen or
going to happen.
If everything goes well during part-program execution then machine automatically stops
at the end of part program.
Main Program: CNC main program is a series of instructions, assigned to different
tools, tool offsets and operations. Within it the various set up conditions for the
machining task to be given. It is the original program, which will select for performing
automatic operation. In main program may include two or more repetitive instructions by
sub-program execution command. During main program execution, sub-program are
executed, when execution of the sub-program is finished, the sequence returns to the
main program.
Sub Routing Program or Sub-Program: If some repetitive features such as grooves,
holes, contour profiles etc. are presenting a component and to make the part programs
are proportionally longer. Simpler ways of achieving such repetitions are provided by
the facility of repetitive programming techniques are called Sub Program or a branch or
an extension of the main program. In fact it is a independent program with all the
features of a usual part program are stored in the memory under separate program
number and may nested with another sub-program, whenever a particular feature is
required within the program, the associated subroutine is called for execution with
repeated any number of times with in the main program. Use of sub programming
techniques significantly reduces the length of resulting part program, shortens the time
and reduces the computer memory space.
Manual Programming: Manual programming or On machine programming (with out a
computer) has been the most common method of preparing a part program. In manual
programming all mathematical calculations are done by hand and all instructions are
entered manually by control key board entry directly at the machine. It requires the total
involvement of the CNC programmer and offers virtually unlimited freedom in the
development of the program structure. The latest CNC controls make manual
programming much easier than before by using fixed or repetitive machining cycles,
variable type programming, graphic tool motion simulation, standard mathematical input
and other time saving features. There are some disadvantages associated with manual
programming. The most common is the length of time required to develop a full
functioning program. The manual calculations, verifications and other related activities
are very time consuming. The complex jobs are very difficult to calculate all the data
and may come a large percentage of errors and a lack of tool path verification.
6
Computerized Programming:
Difficult or complex jobs will benefit from a computerized programming system.
Technologies such as Computer Aided Design (CAD) and Computer Aided
Manufacturing (CAM) have been a strong part of this process. Program can generate
with in a shortest time by using an inexpensive desktop or a laptop computer. The
benefits offered by this technology are too significant just design, drafting, Tool path
generation, Tool path verification and programming. Programmed data can be
transferred to the CNC machine via a cable or other data transferable method.
Direct numerical control (DNC) / Distributed numerical control:
DNC is a common manufacturing term for networking CNC machine tools. On some
CNC machine controllers, the available memory is too small to contain the machining
program (for example machining complex surfaces), so in this case the program is
stored in a separate computer and sent directly to the machine. If the computer is
connected to a number of machines it can distribute programs to different machines as
required. Usually, the manufacturer of the control provides suitable DNC software.
Means DNC is-
(1) “A system connecting a set of numerically controlled machines to a common
memory for part program or machine program storage with provision for on-demand
distribution of data to machines.”
(2) Several NC machines are directly controlled by a computer, eliminating substantial
hardware from the individual controller of each machine tool. The part-program is
downloaded to the machines directly (thus omitting the tape reader) from the computer
memory.
7
Definition of a Sequence Block or Block Format:
The basic unit of a part program input to the control is called Block. Each block is a
individual line contains adequate information for the machine to perform the functions or
a movement. Block on turn are made up of words and each words consists of a number
of characters. Just like the word is used a single instruction and the block is a multiple
instruction to the CNC system and it is terminated by the End of Block character.
It may consists are….
01. Optional block skip ( / )
02. Sequence Number ( N )
03. Preparatory Functions ( G )
04. Dimensional Information’s ( X ,Y , Z, u, v, w, A, B, C, R, I, J, K etc. )
05. Decimal Point ( . )
06. Feed rate ( F )
07. Spindle Speed ( S )
08. Tool Number ( T )
09. Tool offset function ( D )
10. Miscellaneous function ( M )
11. End of Block ( EOB )
01. Sequence Number ( N - word )→ The first word in every block is the sequence
number, it is used to identify the block, written as N1, N2, N3 etc.
02. Preparatory Function ( G - word )→ The preparatory word prepare the control unit
to execute the instructions, that enables the controller to interpret the data which follows
and precedes the coordinate words. i.e. G01 is used to prepare the controller for linear
interpolation.
03. Coordinates or Dimensional Information’s ( X-,Y-,Z-, etc. words )→ These
words give final coordinate positions of the motion with Preparatory command. Like
G00/G01 X50 Y45 Z200 . G02/G03 X60 Y55 R10.
04. Decimal Point ( . )→ In some systems, decimal point is not coded but the control
system automatically provides a decimal point at a pre-set position. But in such cases
leading zeros may have to be given to the program, e.g. X= 7.09 will be given as X=
7090
05. Feed Function ( F - word )→ The feed function is used to specify the feed rate in
the machining operation. The feed rate is expressed either in millimeter or inch. per
minute (mm or inch./min) and millimeter or inch. per revolution (mm or inch./rev). The
appropriate preparatory command should be specified.
06. Spindle Speed Function ( S - word )→ The speed function is used to specify the
speed rate of main spindle in the machining operation. The spindle speed is specified
either in revolution per minute (rev/min) and meters or feet per minute (m or ft./min).
The appropriate preparatory command should be specified.
8
07. Tool Selection Function ( T - word )→ The T- word in the part program specifies
which tool is to be used in the operation and the tool offsets. It is also needed for
machines with programmable tool turret or automatic tool changer (ATC), because there
is tool pocket with distinct tool number.i.e.T01, T02, T23 etc.
08. Tool offset function ( D - word )→ The D- word is denote for tool diameter offset
number. It is counted for cutter radius compensation.
09. Miscellaneous function ( M - word )→ The miscellaneous function word is used to
specify certain machine functions, which do not relate to the dimensional movements of
the machine. It may be Spindle ON/OFF, Coolant ON/OFF, etc.
10. End of Block ( EOB )→ The EOB symbol identifies the end of instruction block or
line.
Axis Identification in NC/CNC machines:
Most of the machine have two or more slide ways, disposed at right angles to each
other, along which the slides are displaced and each slide is fitted with a control system.
For the purpose of giving commands to the control system the axis have to be identified.
The basis of axis identification is the 3-dimensional Cartesian coordinate system and
the three axis of movement are identified as X, Y and Z axis. Rotary movements about
X, Y and Z axis are designated as A , B and C respectively.
X - axis: The X-axis of motion is always horizontal and is always parallel to the work
holding surface. In turning center diameter axis or cross slide motion is X- axis.
Y - axis: The Y-axis of motion is always at the right
angles to both the X-axis and Z- axis. On vertical
machining centers, the Y-axis is perpendicular to
the column and on horizontal machining centre, the
Y-axis is perpendicular to the earth.
9
Z - axis: The Z-axis of motion is always the axis of the main spindle of the machine. On
vertical machining centers, the Z-axis is vertical and on horizontal machining centre and
turning centers, the Z-axis is horizontal. Positive Z movement ( + Z ) is in the direction
that increases the perpendicular distance between the work piece and the cutting tool.
Important Note→ For axis motion of the machine tool, may moves the work piece or
may moves the cutting tool, it is depends upon the machine tool feature. The
programmer may confuse with the direction of motion. So in all cases the part program
axis motion should be written assuming that the cutting tool moves. Also it is the cutter
path which is defined in the program, In case of milling program the axis motion and
cutter position should be programmed with respect to centre of the cutter.
Rotary axis: The rotary motion about the X, Y and Z axis are identified by A, B, C
respectively. Rotary motion with parallel to X axis is ‘A’ axis, parallel to Y axis is ‘B’ axis
and parallel to Z axis is ‘C’ axis.
10
Planes in NC/CNC machine: A plane is a surface in which a straight line joining any
two of its points will completely lie on the surface. Machining in planes, means the path
of cutting tool is a combination of straight lines and arcs and the tool motion in one or
two axes always takes place in a plane, designated by two axes i.e. XY, YZ and
XZ.
Machine Zero → The machine Zero point is at the origin of the coordinate measuring
system of the machine. The machine zero point is fixed and can not be sifted. The
machine zero point is also called Home Position of the machine.
Work Zero → Work piece zero or datum may be defined as a point, line or surface on
the component drawing to which all the dimensions referenced. For writing the part
program, the programmer should know the relationship between the work piece zero
coordinate and machine zero coordinate.
Coordinate system or Dimensioning system:
Address in a CNC program that relate to the tool position at a given moment are called
the Coordinate Word. It is always take a dimensional value. Dimensional values have a
specified point of reference. There are two type of coordinate system or dimensioning
system are used to define and control the position of the tool in relation to the work
piece. Each system has its own applications and the both system may be used
independently or may mixed with in a part program according to the machining
requirements of the components. (i) Absolute coordinate system and (ii) Incremental
coordinate system.
Absolute Coordinate system → In the absolute programming mode, all dimensions
are measured from the point of origin. The origin is the program reference point also
11
known as program zero or datum. The actual motion of the machine is the difference
between the current absolute position of the tool and the previous absolute position.
The algebraic sign (+) plus or (-) minus refer to the quadrant of rectangular coordinates,
not the direction of motion.
The main advantage of absolute programming is the ease of modification by the
programmer or by the CNC operator. A change of one dimension does not affect any
other dimensions in the program.
12
Preparatory Codes or Geom. setting & movement Commands:
The program address ‘G’ identifies a preparatory command or Geometrical setting and
movement command, often called the G code. This address has one and only objective-
that is to preset or to prepare the control system to a certain desired condition, or to a
certain mode or a state of operation.
G-code is a language in which people tell computerized machine Tools what to make
and how to make it. The "what" and "how" are mostly defined by instructions on where
to move to, how fast to move, and through what path to move. The most common
situation is that a cutting tool is moved according to these instructions, cutting away
excess material to leave only the finished workpiece. Non-cutting tools, such as cold-
forming tools, burnishing tools, or measuring probes, are also sometimes involved.The
letter "G" Generally it is a code telling the machine tool what type of action to perform,
such as:
1. Rapid move (transport the tool through space to the place where it is
needed for cutting; do this as quickly as possible)
2. Controlled feed move in a straight line or arc line.
3. Series of controlled feed moves that would result in a hole being
bored, a workpiece cut (routed) to a specific dimension, or a profile
(contour) shape added to the edge of a workpiece.
4. Controlled Speed.
5. Set tool information such as work offset, Tool Dia. and Length offset.
6. Switch coordinate systems
7. Input system mm/inch.
8. Type of Compensation
9. Information of Work offset, etc.
G- Function
G-codes Description Group
13
G20 Input in Inch 06
14
Modal Code → Many program words are modal. The word modal is based on the word
‘mode’ and means that the specific command remains in this mode after it has been
used in the program once. It can only be canceled by another modal command of the
same group. In same group may tell one is cancel command for other. For example:-
G90- Absolute Dimensioning/ G91- Incremental Dimensioning, G00- Rapid Traverse/
G01- Linear Interpolation, G20- Input in Inch/ G21- Input in Metric, G94- Feed per min/
G95- Feed per revolution, G96- Constant cutting speed/ G97- Constant RPM, etc.
Non-Modal Code → Whose functionality starts and ends in the same block. Means the
‘G’ code is effective only in the block in which it is specified, is called Non-Modal Code
or One Shot Code. For example:- G04- Dwell, G28- Machine zero return, Certain
machining instructions, such as tool change, pallet change, indexing table, etc.
Interpolation Functions G00 ( Positioning ) → The G00 command moves a tool to
the position in the work piece system
specified with an absolute or incremental
command at a rapid traverse rate. In the
absolute command coordinate value of the
end point and in the incremental command
the distance the tool moves is to be
programmed. i.e. G00 XP YP ZP ; It moves
each axis at its max speed until its vector is
achieved. Shorter vector usually finishes first.
the programmer needs to consider
depending on what obstacles are nearby, to
avoid a crash. G00 XP YP ; (Tool moves
to XY position with Rapid motion or with machine feed rate. )
G01 (Linear interpolation) → The tool moves along a straight line to the position in
the work piece system, specified with an absolute or incremental command within the
shortest possible time at the feed rate specified in F. In the absolute command
coordinate value of the end point and in the incremental command the distance the tool
moves is to be programmed. The feed rate specified in F is effective until a new value is
specified. It need not be specified for each block. If the F code is not commanded, the
feed rate is regarded as zero. i.e. G01 XP YP ZP F- ; The G01 command can not
functioned without specified Feed. G01 XP YP F_ ;( Tool moves along a line to the XY
position with the feed specified in F ).
G02/ G03 ( Circular interpolation Positioning CW/ CCW ) →
The tool moves along an arc line to the position in the work piece system, specified with
an absolute or incremental command in the positive or negative direction with the
specified arc center by addresses I, J and K or radius R at the feed rate specified in F.
15
In the absolute command coordinate value of the end point and in the incremental
command the distance the tool moves is to be programmed.
I, J and K ( Arc Vector Address word ) → Some older control systems do not accept
the direct radius designation specified by the R address. Instead, the arc vectors I, J
and K must be used. The arc vector is specified by addresses I, J and K for the XP, YP
and ZP axes respectively. The numerical value following I, J and K, however, is a vector
component in which the arc center is seen from the start point and it is always specified
as an incremental value. The addresses I, J and K must be signed positive (+) or
negative (-) according to the direction.
16
Note:- I, J and K is the distance between start point and the center point of the arc, i.e.
Distance between XP to XP1 is indicating by ‘I’, Distance between YP to YP 1 is
indicating by ‘J’, and Distance between ZP to ZP 1 is indicating by ‘K’.
‘I’, ‘J’, ‘K’ is always specified as an incremental value.
If the arc is covered the path 180 o or less than 180o can be specified by using radius
(R) of the circle instead of I, J or K. The I, J and K are considered for the arc path more
than 180o.
Dwell Function ( G04 ): The G04 command, by specifying a dwell, the execution of the
next block is delayed by the specified time. Which is denoted by letter X or P or F. Delay
time 10 seconds denoted like G04 X10.0 or P10000 or F10.0. This function is used in
case it is desired that the cutting tool should not immediately return after touching the
programmed position, but should wait at the programmed position for some period. For
example; In case of machining a Groove, Blind hole drill etc. the tool should delay at the
required depth, to ensure the complete removal of the material.
G04 x….(sec), or G04 U…(sec) or G04 P…(micro sec).
Feed Functions ( G94 / G95 ) → While the spindle function control the spindle speed
and the spindle rotation direction, Feed rate controls how fast the tool will move to
remove excessive material. Usually two types of feed rate are used in CNC
programming i. e. Feed rate per minute ( G94 ) and Feed rate per revolution ( G95 ).
The value of feed rate is the distance a cutting tool will travel in one minute or in one
revolution. Example:- In metric system, the feed rate amount of 200 mm/min will appear
in the program as G94 F200.0 and the feed rate amount of 0.2 mm/rev. will appear G95
F0.2.
Spindle Speed Functions ( G96 / G97 ) →The spindle function control is the spindle
speed and the spindle rotation direction. The spindle speed G96 ( Surface Speed ) &
G97 Revolution per minute )—Programmed spindle speed should be based on the
machined material and the cutting tool diameter or the part diameter (Lathes).
In CNC milling, where is cutter diameter is fixed and designate the spindle speed
directly in revolution per minute ( RPM ) no peripheral speed is used. There is no need
to use a preparatory command to indicate the RPM setting, it is the control default.
In few CNC Lathe may be equipped with the option of a duel spindle speed selection-
direct RPM G97 and a peripheral speed G96. The general rule is that the larger
diameter, the slower the spindle speed and incorrect spindle speed will have a negative
effect on both the tool and the part. The turning tool has no diameter and the part
diameter is used for spindle speed calculation. As the part is being machined, the
diameter changes continuously during turning or facing operation and very difficult to
calculate the RPM on varying diameter. The solution is to use the surface speed directly
with the command G96 and in this mode the actual spindle revolution will increase &
17
decrease automatically, depending on the diameter being cut. This feature not only
saves the programming time, it also allows the tool to remove constant amount of
material at all time, thus saving the cutting tool from excessive wear and creating better
surface finish. The operations as drilling, reaming, tapping, etc. are common for centre
line operation and programmed at the zero diameter ( X0 ). These operations are
always programmed in the direct RPM mode, Using G97 command, spindle speed is
controlled directly, it does not change.
Example :- G97 S1200 ( Constant Spindle Speed 1200 RPM )
Maximum Spindle Speed Setting ( G50 ): When the CNC lathe operates in the
Constant Surface Speed mode, the spindle speed is directly related to the current part
diameter. If the work diameter is smaller, the spindle speed will be greater and it will be
gradually increasing when machining. So the natural question is- what will be happen if
tool point is reaches the spindle center line or the tool diameter is zero. The result will
be normally the highest spindle rotation available in the machine. This situation is not
acceptable; the part may extend from the chuck or fixture. There is simple solution to
this problem, using a programming feature maximum speed limit setting (G50)
command to preset the highest limit of RPM.
G96 S150 ( Constant Cutting Speed setting 150 m/min. )
G50 S1200 ( Highest Speed Limit Set 1200 RPM )
Note:- Fraction or decimal values are not allowed and the RPM must always be within
the range of any machine specifications.
Planes Selection in NC/CNC machine: The Preparatory commands for plane
selection G17 (XY plane), G18 (YZ plane) and G19 (XZ plane) - programming one of
them will activate the selected plane only. The proper selection of a machining plane will
enable programming various contouring operations using circular and helical
interpolation, cutter radius compensation and fixed cycles.
Assigning program zero ( G50/G92 ) :
Keep in mind that the CNC control must be told the location of the program zero point
by one means or another. How this is done varies dramatically from one CNC machine
and control to another. One (older) method is to assign program zero in the program.
With this method, the programmer tells the control how far it is from the program zero
point to the starting position of the machine. This is commonly done with a G92 (or G50)
command at least at the beginning of the program and possibly at the beginning of each
tool.
Another, newer and better way to assign program zero is through some form of offset.
Commonly machining center control manufacturers call offsets used to assign program
zero fixture offsets. Turning center manufacturers commonly call offsets used to assign
program zero for each tool geometry offsets.
18
Settable Zero off-set ( G54 - G59 ): The zero off-sets are the distance X0, Y0 and Z0
from machine zero to work zero in X, Y and Z directions. The settable zero off-set
specifies the position of the work piece zero on the machine i.e. off-set of work piece
zero with reference to the machine zero. These off-set values are determined after
clamping the work piece on the machine and then the values entered by choice in the
off-set table numbered G54 to G59. The value is enabled by the program with work off-
set command (G54 – G59).
For measuring zero off-set: (1) locate the edge finder in spindle head. (2) Manually
move the table with Jog or Handle feed. (3) Position the spindle and load the edge
finder on the surface X or Y direction of the work piece. (4) Release the load on edge
finder until the flanges match. (5) Note the X or Y direction reading on the screen which
is sowing the distance from the machine zero. (6) The radius of the edge finder should
be added / subtracted and must be identified correctly. (7) Noted perfectly and entered
into the work off-set table. To measure the Z direction values, mount the tool into the
spindle and move down the tool till its end touches surface of Programme zero ( may
place a feeler or height master, the length of which known ) and note the Z reading on
the screen with considering feeler height.
Extended Offsets
19
Tool length offset:
Set the tool length offset for each tool by loading first tool in spindle. Manually move the
Z axis down until the tool's tip is near the Z0 position, the programmer had previously
established. Get a piece of 0.01 mm shim stock and hold it between the part and the tip
of the tool. Carefully and lower the Z axis in 0.001 mm increments until the shim stock
can be pulled with a slight drag. Go to your tool length offset page and enter the
machine's absolute Z value plus -0.01mm in the tools registry. Repeat procedure to
additional tools and -0.01 is added for the shim stock's thickness.
Tool Nose Radius Compensation Functions ( G41/ G42 ): The programmed cutter
path is developed with reference to the center of the tool rather than the point on
periphery, where the actual cutting takes place. It will result in a work piece is larger or
smaller. The diameter of the cutter is entered into the control system; the control system
will then generate a new cutter path considering direction of motion around the part
contour with cutter radius compensation. It is necessary to indicate whether
compensation to be left (G41) or right (G42) of the tool depending on direction of its
movement when machining. G41 and G42 is cancelled by the G40 command. There is
no cutter radius offset applied when G40 is in effect.
20
Tool length compensation Functions (G43 / G44): Tool length compensation uses
three G codes -- G43, G44, and G49 -- plus the H codes. The H code tells the control
which length offset value to use, when length compensation is active (as selected by
G43 or G44). Generally, the H code is the same as the tool number. I.e. if you are using
tool 4, you would include H4 in the G codes, telling the control to look up the tool length
on line 4 of the offset library. Example- T04 M06, G43 / G44 H04. G43 tells the control
to begin applying length compensation, by adding the current length offset (selected by
the H code) to all Z axis positions. G44 is a rarely-used alternative to G43. It tells the
control to begin applying tool length compensation, by subtracting the current length
offset from all Z axis positions. In this scheme, larger length offset numbers identify
shorter tools (as if they were measured from the table up rather than from the spindle
down). G44 is not compatible with the tool measuring methods built into Control’s offset
library.
21
at the end of a cut :
N48 G1 X2.0 Z-0.5 ; make final cut at depth
N49 G49 H0 ; turn off tool length compensation
N50 G00 Z200 ; move Z to 200 position.
22
Disadvantages with Cutter Compensation (TNRC):
1. A cutter compensation command (G41, G42 or G40) must be on the
same block with an X and/or Y linear command when moving onto or
off of the part using cutter comp.
2. You cannot turn on or off cutter compensation with a Z axis move.
3. You can use cutter comp. in the G18 (X, Z) or G19 (Y, Z) planes
using G141.
4. You cannot turn ON or OFF cutter compensation in a G02 or G03
circular move, it must be in a linear G00 or G01 straight line move.
When activating TNRC, Care must be taken to:
1. Select a clearance point, without cutter compensation, to a start point
in the X and Y axis at least half the cutter diameter off the part before
you start initiating cutter compensation.
2. Bring the Z axis down without cutter compensation in effect.
3. Make an X and/or Y axis move with a G41 or G42 call-out on the
same line, with a diameter offset Dnn command, which has the cutter
diameter value in the offset display register being used.
When deactivating TNRC, Care must be taken:
1. Select a clearance point in X and Y axis, at least half the cutter dia. of
the part.
2. DO NOT cancel cutter compensation on any line that is still cutting the
part.
3. Cancel of cutter compensation (G40) may be a one or two axis move,
but you may need values entered for both X and Y axis.
M CODES – (Misc./ Machine Function Commands)
The program address ‘M’ identifies a miscellaneous function, sometimes called
machine function. Not all miscellaneous functions are related to the operation of a
CNC machine- quite a few are related to the processing of the program itself. So
the use of miscellaneous functions falls into main groups, based on a particular
application;
(i) Control of the machine functions—Spindle rotation, Automatic tool change , gear
change , pallet change, Coolant operation, Tail stock motion, quill motion etc.
(ii) Control of the program execution—Sub-program calls, the change of a job setup,
Optional stop, Program end etc.
M00 Optional Program Stop ( Non-Conditional )
M01 Optional Program Stop ( Conditional )
M02 Program End and all machine functions Stop
M03 Main Spindle ON Forward ( Clock Wise )
M04 Main Spindle ON Reverse ( Counter Clock Wise )
23
M05 Main Spindle OFF
M06 Tool Change
M08 Coolant ON
M09 Coolant OFF
M30 Program End with Rewind and all machine functions Stop
M98 Sub-Program call in Main Program
M99 Sub-Program End and return to main program
Note:
M00 : For this command, main spindle stop, cutting oil, motor stop,
tape reading stop are carried out.
M01 : While this function is the same as M00, it is effective when
The optional stop switch of console is ON. This command
shall be over ridded if the optional stop switch is OFF.
M02: Indicates the end of main program and main spindle stop,
cutting oil motor stop, tape reading stop.
M07 : is used to turn on mist coolant.( If available)
M08: is used to turn on flood coolant.
M09: turns off the coolant.
M30 : This is the same as M02 and it returns to the starting position of
the program when the memory and the tape are running.
M60 : is commonly used to make pallet changes.
**It is favorable for M code to program in a command paragraph
independently.
Difference between Optional Program Stop M00 and M01
The main rule of using M00 ( Program Stop ) is the need of a manual intervention for
every part machined. Manual tool change in a program qualifies for M00, because every
part needs it. But a dimensional check may not qualify, it is infrequent and M01 (
Optional Program Stop ) is better choice. Because M01 is functioned via the control
panels optional function switch or ON/ OFF button and the setting of the switch will
determine whether the program will temporary stop or continues to be proceed.
Although the difference between the two functions is slight, the actual difference in cycle
time can be significant for large number of parts. To avoid confusion, always inform to
the operator why the M00/ M01 function has been used and what the purpose of it is.
May like this way-- N39 M00 ( REMOVE CHIPS ), N53 M01 ( PART CHEACKING ) etc.
Program End with M30 → If the end of program is terminated by the M30 function, the
rewind will be performed, means if the last block in the program contains M30 as
preferred END and sequence block is allowed to start the block. If the M02 function is
used, the rewind will not be performed.
24
The Milling Process
25
the horizontal center’s table rotates to present all four sides of a work piece to the
tooling.
Means machining center is a combination of many machine features put into a single
machine. This machining center is a more versatile machine tool which can perform
various operations such as:
1. It controls movements along 3, 4, 5 axes.
2. It is possible to move column, spindle head table traverse and also carry out
table rotation, table tilting, tool changing, Job changing, Dimension Gauging or job
probing, coolant supply, by programming codes.
3.The NC system may also move the axis in either point to point system,
straight cut system or continuous path control system.
4. The basic control feature include simultaneous movements along all axes,
programmable feed rates, spindle speeds and activation of fixed cycles such as,
Drilling, Boring, Tapping, Mirroring, etc.
5. Additional features that increase the control capability or, machine operation include.
(a) Sequence number display, (b) Auxiliary function display i.e. spindle clamp or
declamp, pallet clamp or declamp etc.(c) Manual data in-put, (d) Tool gauging and
selection.(e) Tool length and tool radius compensation. (f) Linear and circular
interpolation etc.
(g) Activation of different modes of programming / operation i.e. Block by Block,
simulation, manual data input, Dry run full sequence run etc.
Toolchangers & Cutting Tools
The unique feature of the machining center is the tool changer. The tool-changer
system moves tools from storage to spindle and back again in rapid sequence. While
most machining centers will store and handle 20-40 individual tools, some will have
inventories of over 99.
In general, a milling cutter is a rotary tool with one or more cutting edges, each of which
removes a small amount of material as it contacts the workpiece. The variety of cutter
types is almost limitless. One of the more basic is the face mill cutter used for milling flat
surfaces. Used at high speeds, face mill cutters range from a few centimeters to over a
half-meter in diameter. Some face mills will simultaneously mill a shoulder that is square
to the surface.
Work that requires edge preparation, shoulders, and grooves, is accomplished with
other milling cutters. An end mill cutter is a tool with cutting edges on its end as well as
on its periphery. End mills are used for short, shallow slots and some edge finishing.
Circular grooving or slotting cutters are more adapted to the making of longer and
deeper slots. This is because end mills are susceptible to deflection during heavier cuts.
Chamfers and contour milling are performed with specially shaped end mills.
26
CNC Milling Machine
27
Feature Description
ON / OFF Switch Power & control Switch for the main power and the control unit.
Cycle Start Start Program execution and MDI command execution.
Emergency Stop Stops all machine activity and turns off power to the control unit.
28
Typical Specification of a CNC Machining Centre
29
Machine Setup & Basic CNC Milling Operations
Safety Precautions
The safety precautions related to the use of CNC units is essential, it is to be observed
by the users & ensure the safe operation of machines equipped with a CNC unit. The
operator must become fully familiar with the CNC machine before attempting to operate
the machine or to create a program & control the operation of the machine and carefully
read the warning and caution.
(a) Warning is applied, when there is a danger of the user being injured or when there is
a damage of both, the user being injured and the equipment being damaged, if the
approved procedure is not observed.
(b) Caution is applied when there a danger of the equipment being damaged, if the
approved procedure is not observed.
1. Immediately after switching on the power, do not touch any of the key
on the panel unit.
2. Check the specification of the machine if in doubt.
3. Never attempt to machine a work piece without first checking of the
operation.
4. Before operating the machine, thoroughly check the entered data.
5. Ensure that the specified Speed rate & Feed rate is appropriate for
the intended operation.
6. When using a tool compensation function, thoroughly check the
direction and amount of compensation.
7. Carefully read the Alarm massage display on the screen and take
measure. If not the machine may behave unexpectedly.
Personal safety
1. Do not operate with the door open condition.
2. Do not operate with out proper training.
3. Always wear the safety goggles.
4. The machine is automatically controlled and may start at any time.
5. Improperly or inadequately clamped parts may be ejected with deadly
force.
6. Do not exceed rated RPM.
7. Higher RPM reduces chuck/ vice clamping force.
8. Hydraulic pressure must be set correctly.
9. Chucks/ vices must be greased weekly and regularly serviced.
30
Introduction to Cutting Parameter:
The factors that affect the cutting process during the operation in milling is called cutting
parameters for milling. The basic Cutting Parameters in milling operation are as follows.
(1) Cutting Speed , (2) Feed , (3) Depth of Cut .
There are two main factors are influenced on cutting speed i.e. 1. Constant factors--
Work Material which to be machined and Cutting Tool material by which operation has
to be performed. 2. Variable factors - Machine rigidity, Proper Coolant supply. Operators
efficiencies etc.
Charts with suggested speeds and feeds for common materials are available from major
tooling companies. These charts are helpful for machining as well as in programming.
Precision parts require a certain degree of surface finish quality. Technical drawing
indicates the required finish for various features of the part. The most important factors
influencing the quality of surface finish are spindle speed, feed rate, cutting tools nose
radius and the amount of material removed. Generally, a larger cutter radius and slower
feed rate contributes towards finer surface finishes.
Cutting Speed:
The speed of milling cutter is peripherical linear speed resulting from rotation. It is
expressed in meters per minute.
The cutting speed can be derived from the formula:
Vc = dn / 1000 meter per min.
Where Vc = Cutting speed in m per min.
d = Diameter of the cutter in mm.
n = Cutter speed in RPM
Factors Govern the Cutting Speed: For a given material there will be an optimum cutting
speed for a certain set of machining conditions, and from this speed the spindle speed
(RPM) can be calculated.
31
conditions exist, these include:
4. Metal removal rate (finishing cuts that remove a small amount of
material may be run at increased speeds)
5. Full and constant flow of cutting fluid (adequate cooling and chip
flushing)
6. Rigidity of the machine and tooling setup (reduction in vibration or
chatter)
7. Continuity of cut (as compared to an interrupted cut, such as
machining square section material in a lathe)
8. Condition of material (mill scale, hard spots due to white cast iron
forming in castings).
The cutting speed is given as a set of constants that are available from the material
manufacturer or supplier, the most common materials are available in reference books,
or charts but will always be subject to adjustment depending on the cutting conditions.
The following table gives the cutting speeds for a selection of common materials under
one set of conditions. The conditions are a tool life of 1 hour, dry cutting (no coolant)
and at medium feeds so they may appear to be incorrect depending on circumstances.
These cutting speeds may change if, for instance, adequate coolant is available or an
improved grade of HSS is used (such as one that includes cobalt).
Material type Meters per min (MPM) Feet per min (FPM)
Mild steel 26-30 50-60
Steel (tough) 30-38 100-125
Cast iron (medium) 18-24 60-80
Alloy steels (1320–9262) 20-37 65-120
Carbon steels (C1008-C1095) 21-40 70-130
Free cutting steels 35-69 115-225
Stainless steels (300 & 400 series) 23-40 75-130
Bronzes 24-45 80-150
Leaded steel (Lead Aloy 12L14) 91 300
Aluminum 75-105 25-350
Brass 90-210 300-700
32
Feed:
The feed in a milling machine is defined as the rate with which the work piece
advances under the cutter. The feed is expressed in a milling machine by the
following three different methods.
(1) Feed Per Tooth, (2) Feed Per Cutter Revolution, (3) Feed Per Minute
Factors Affecting the Feed Rate:
Increased feed reduces cutting time but it greatly reduces the tool life. The feed
depends upon the factors such as size, shape, strength and method of holding the
component, the tool shape and its setting, the rigidity of machine, depth of cut, etc.
Coarser feeds are used for roughing and finer feeds for finishing cuts.
The feed rate used on milling depends upon several factors, such as
Depth of cut, Tool geometry, Sharpness of cutter, Material of work-piece,
Strength and uniformity of work piece, Types of finish and accuracy required, Power
and rigidity of machine, etc.
Depth of Cut:
The depth of cut in milling is the thickness of the material removed in one pass of the
work under the cutter. It is the perpendicular distance measured between the original
and final surface of the work piece and is expressed in mm.
Offsets Setting
X axis
Clamp the Edge Finder/ Webler / End Mill Cutter in collet adaptor
Hold the collet adaptor in spindle→ Start the spindle with 600 rpm→ Touch the webler
to the reference face of x-axis→ Stop the spindle→ Press the offset key on keypad→ In
offset select work zero offset ‘X’→ Press the key part zero set on keypad.
Y axis
Touch the webler to the reference face of Y-axis→ Stop the spindle→ Press the offset
key on keypad→ In offset select work zero offset ‘Y’→ Press the key part zero set on
keypad
Z axis
Clamp the required cutting tool in collet adaptor→ Hold the collet adaptor in spindle→
Check the zero error of tool presetter first by using dowel pin→ Put the tool presetter on
top of the work piece→ Touch the cutting tool to the top of the tool presetter and make
the tool presetter value zero. →In offset select tool geometry ‘Z’→ Press the key tool
offset measure on keypad→ Add the height of the tool presetter (-50) & press enter→
Move the cutter in upward direction.
33
CNC Programming
Before programming a programmer should take care of the following to make the part
program true and effective,
01. Study the relevant component drawing thoroughly.
02. Identify the type of material to be machined.
03. Determine the specifications and functions of machine to be used.
04. Decide the dimension and mode of dimensioning ( Metric / Inch ).
05. Decide the coordinate ( Dimensioning ) system ( Abs. / Inc. ).
06. Identify the plane of Cutting.
07. Check the Tooling required.
08. Determine the cutting parameters with the Job & Tool combination.
09. Decide the feed rate.
10. Establish the sequence of machining operation.
11. Identify whether use of special features like Sub-Routing program,
Mirroring, Scaling, etc.
12. Decide the mode of storing the part program once it is completed.
01. Program Head (Program name or number & May keep some
Information’s for future use).
02. Select Tool change position.
03. Tool change (Manual or Automatic Tool Changer).
04. Select operational position.
05. Cutting parameter setting (Cutting speed, Feed etc.).
06. Operation.
07. On completion of total operation of that tool, then return to the tool
Change position.
08. If there is any other operation, then again proceed from No. 3 to
No.7,If not then program End.
34
PROFILE MILLING
Exercise: Manufacture the following job within 0.01 mm accuracy and 20 mm deep.
35
STEP MILLING
Exercise:
36
PROFILE MILLING
Exercise:
37
INSIDE MILLING OPERATIONS - POCKET MILLING OPERATION
38
SPOTTING (CENTRE DRILLING) & DRILLING OPERATION
Exercise:
Main Programme
O09132;
TI M06;
S2500 M03;
G00 G54 G90 X25 Y25;
G00 G43 H01 Z50.;
G01 Z1 F500;
G83 G98 Z-5.5 L0 Q0.2 F600;
X75 Y25;
X25 Y75;
X75 Y75;
G00 G80 Z100;
M05;
M30;
39
DRILLING OPERATION
Exercise:
Main Programme
40
TAPPING OPERATION
41
Assignments:
Read the drawing carefully & prepare the program.
1.
2.
42
43
CNC TURNING
44
The Coordinate System in the Lathe Machine
All CNC machines move tools to specific locations described by coordinate systems.
With lathes the coordinate system can be simply described as two number lines that
intersect.
With lathes the vertical number line is called the X-axis. The horizontal number line is
called the Z-axis. When programming lathes X0 is always the centerline of the part
you are working on and always X- value is Diameter Value. Therefore an X move
from centerline or X0 to X10.0 mm. will only be moving the machine along the X axis
5.0 mm. in the positive direction.
This is crucial to the operation and function of a CNC machine as all of our programs,
locations of fixtures and tooling are based off of machine home. At home position
the machine coordinates are X0, Z0. It would not be easy or convenient to write a
program using machine coordinates. Instead programs are written with values that
would correspond to dimensions found on prints. To do this a secondary floating zero
point is established using offsets.
This floating zero is referred to as the PART ZERO or PART ORIGIN
45
When we setup a machine, we need to tell the machine the distance different tools at
home position are from the part origin. Each tool is manually touched off the face and
diameter and thru key strokes the distances from machine zero to the part zero are
saved in X and Z register of the Tool Offsets Page.
Programmers normally use the front end of our finish machined part as (Z-Zero) and the
centerline of part as (X-Zero).
There are two methods used by the programmer to “Steer” our machine.
The first is “ABSOLUTE POSITIONING”. Absolute means that X and Z code values
are based on the ZERO POINT on the part. If a diameter of 10.0 mm is needed, it is
input as X10.0.
The programmer has another tool available to him called “INCREMENTAL
POSITIONING”. This is movement based on where the machine is currently sitting. It
is also called point to point programming. If a change of 2.0 mm. smaller diameter is
required of the machine from where it is currently sitting U-2.0 is put in the code.
46
Preparatory Functions
G-CODE LIST
G code
Group Function
A B C
G00 G00 G00 Positioning (Rapid traverse)
G01 G01 G01 01 Linear interpolation (Cutting feed)
G02 G02 G02 Circular interpolation CW
G03 G03 G03 Circular interpolation CCW
G04 G04 G04 Dwell
G10 G10 G10 Programmable data input
G11 G11 G11 00 Programmable data input cancel
G12.1 G12.1 G12.1 Polar coordinate interpolation mode
(G112) (G112) (G112) 21
G13.1 G13.1 G13.1 Polar coordinate interpolation cancel mode
(G113) (G113) (G113)
G17 G17 G17 XpYp plane selection
G18 G18 G18 16 ZpXp plane selection
G19 G19 G19 YpZp plane selection
G20 G20 G70 Input in inch
06
G21 G21 G71 Input in mm
G25 G25 G25 Spindle speed fluctuation detection off
08
G26 G26 G26 Spindle speed fluctuation detection on
G27 G27 G27 Reference position return check
G28 G28 G28 00 Return to reference position
G30 G30 G30 2nd, 3rd and 4th reference position return
G31 G31 G31 Skip function
G32 G33 G33 Thread cutting
01
G34 G34 G34 Variable–lead thread cutting
G40 G40 G40 Tool nose radius compensation cancel
G41 G41 G41 07 Tool nose radius compensation left
G42 G42 G42 Tool nose radius compensation right
G50 G92 G92 Coordinate system setting or max. spindle
00
G50.3 G92.1 G92.1 speed setting
Workpiece coordinate system preset
G50.2 G50.2 G50.2 Polygonal turning cancel
(G250) (G250) (G250)
47
G51.2 G51.2 G51.2 20
Polygonal turning
(G251) (G251) (G251)
G52 G52 G52 Local coordinate system setting
00
G53 G53 G53 Machine coordinate system setting
G54 G54 G54 Workpiece coordinate system 1 selection
G55 G55 G55 Workpiece coordinate system 2 selection
G56 G56 G56 Workpiece coordinate system 3 selection
14
G57 G57 G57 Workpiece coordinate system 4 selection
G58 G58 G58 Workpiece coordinate system 5 selection
G59 G59 G59 Workpiece coordinate system 6 selection
G65 G65 G65 00 Macro calling
G66 G66 G66 Macro modal call
12
G67 G67 G67 Macro modal call cancel
G68 G68 G68 Mirror image for double turrets ON or balance
04 Mirror image for double turrets OFF or
G69 G69 G69 cut mode
balance cut mode cancel
G70 G70 G72 Finishing cycle
G71 G71 G73 Stock removal in turning
G72 G72 G74 00 Stock removal in facing
G73 G73 G75 Pattern repeating
G74 G74 G76 End face peck drilling
G75 G75 G77 Outer diameter/internal diameter drilling
G76 G76 G78 Multiple threading cycle
G80 G80 G80 Canned cycle for drilling cancel
G83 G83 G83 Cycle for face drilling
G84 G84 G84 Cycle for face tapping
10
G86 G86 G86 Cycle for face boring
G87 G87 G87 Cycle for side drilling
G88 G88 G88 Cycle for side tapping
G89 G89 G89 Cycle for side boring
G90 G77 G20 Outer diameter/internal diameter cutting cycle
G92 G78 G21 01 Thread cutting cycle
G94 G79 G24 Endface turning cycle
G96 G96 G96 Constant surface speed control
02
G97 G97 G97 Constant surface speed control cancel
G98 G94 G94 Per minute feed
05
G99 G95 G95 Per revolution feed
G90 G90 Absolute programming
03
G91 G91 Incremental programming
G98 G98 Return to initial level
11
G99 G99 Return to R point level
48
M-CODE LIST
Note:
M00 : For this command, main spindle stop, cutting oil, motor stop,
tape reading stop are carried out.
M01 : While this function is the same as M00, it is effective when
The optional stop switch of console is ON. This command
shall be over rided if the optional stop switch is OFF.
M02 : Indicates the end of main program and main spindle stop,
cutting oil motor stop, tape reading stop.
M03 : Main Spindle ON Anti-Clockwise (Reverse).
M04 : Main Spindle ON Clockwise (Forrowed).
M05 : Main Spindle OFF.
M07 : is used to turn on mist coolant.( If available)
M08 : is used to turn on flood coolant.
M09 : turns off the coolant.
M30 : This is the same as M02 and it returns to the starting position
of the program when the memory and the tape are running.
49
Function Addres Meaning of address
Program number sO Letter for Program number
Block sequence number N Sequence Number
Preparatory function G Specifies a motion mode (Linear, arc, etc)
Dimension word X, Z Command of moving position(absolute type) of each axis
U,W Instruction of moving distance and direction(incremental type)
I, K Ingredient of each axis distance of circular center and Value of
chamfering
Radius of circle, corner R, edge R
R
Feed function F, Designation of feed rate and thread lead
Auxiliary function EM Command of ON/OFF for operating parts of machine
Spindle speed function S Designation of speed of main spindle or rotation time of main spindle
Function (Tool) T Designation of tool number and tool compensation number
Dwell P, U, X Designation of dwell time
Designation of program P Designation of calling number of auxiliary program
number
Designation of sequence No P, Calling of compound repeat cycle, end number
Number of repetitions QL Repeat time of auxiliary program
Parameters P.Q,R,I, Parameter at fixed cycle
Etc.
Machine Defaults
The control automatically recognizes these G codes when your CNC lathe is powered
up:
G00 Rapid Traverse
G18 X, Z Circular Plane Selection
G20/G21 Input in Inch / mm
G40 Cutter Compensation Cancel
G54 Work Coordinate Zero
G80 Canned Cycle Cancel
G97 Constant Surface Speed Cancel
G99 Feed Per Revolution
G18: G18 is the default command for designating which plane (X,Z
plane) a radius is thrown. If an arc is attempted in a G17 (XY
plane) or a G19 (YZ plane) the CNC lathe will alarm out.
50
machine will give an over travel alarm.
G40: G40 cancels cutter compensation codes G41 or G42. Cutter
compensation should be cancelled after it is used.
G54: G54 is however the default value and if not changed will always
be active.
G80: Cancels canned cycles.
G97: Constant spindle speed(RPM). A G97 should be programmed at
the beginning and end of every tool in a program with a spindle
speed.
G99: Feed per revolution: This is the default. Normally lathes are
always in G99 mode, they are never changed to G98 (Feed per
minute). The only time G98 would be used if live tooling is being
used.
Meaning of Address ‘T’
51
BASIC MOTION COMMANDS
Format: G01 X__ Z__ F__(X, Z are the destination coordinates F is feed rate,) G01
X20.0 Z-10.0 F0.2 ; X40.0 Z-15.0
G01 need not be repeated in the second line because it is a 'modal command'.
G02 / G03 - Circular Interpolation
G02 moves along a Clockwise (CW) arc,
G03 moves along a Counterclockwise (CCW) arc.
G02/G03 X__ Z__ R F__
X, Z are the destination coordinates
R is the arc radius, F is the feed rate.
52
Circular Interpolation Format
G02 and G03 (Circular Interpolation Clockwise/Counterclockwise) using “I” and “K”.
in place of “R” (radius)
It is sometimes easier to program the “R” (radius) word in place of the “I” and “K” words.
The “I” and “K” words are used to define the incremental distance and direction from
START POINT to the ARC CENTER, which can also be done by using the “R” word in
place of “I” and “K”.
‘I’ and ‘K’ are the relative distance from the arc start point to the arc center.
I = X coord. of start point - X coord. of center
K = Z coord. of start point - Z coord. of center
NOTE:
Any radius being cut using the “R” word needs a positive (+) value for a radius of 180
degrees or less. For a radius larger than 180 degrees, it needs to have a minus (-) sign
with a radius value.
G04 - Dwell
A dwell command results in a temporary stoppage of all axis motions for a specified
duration. The spindle motion is not affected. It is typically used when the tool has
reached the final position in an operation and needs to stay there for a few spindle
rotations to obtain good dimensional accuracy or surface finish. For example, in a
grooving operation when the tool reaches the bottom of the groove it needs to stay
there for at least one full revolution. Without a dwell it would retract back
instantaneously and result in a non-circular cross section at the groove bottom.
Format: G04 X_ (X is the dwell time in seconds.)
Example: G04 X1.0 (This results in a dwell of 1 second.)
53
TOOL NOSE RADIUS COMPENSATION (TNRC)
This is the point on the tool that is used as the reference point for determining
tool offsets.
54
Necessity of TNRC.
As the tool moves along the programmed contour, the point on the tool nose radius
that is actually doing the cutting keeps changing. We actually need the nose radius to
be tangential to the part contour at the point where it is cutting, but moving the
Theoretical Tool Tip (TTT) along the contour does not ensure this. As a result, the
tool leaves unmachined material in some areas (P1 to P2 in picture) and digs into
the material in some areas (P3 to P4 in picture).
55
Compensation commands.
The compensated tool path must be either to the left or the right of the tool path
programmed with the coordinates from the part drawing. The direction of compensation
depends on the direction of motion and whether the tool is cutting on the inside or
outside of the part. In the program you can specify whether the compensation must be
to the left or right, and the controller determines the compensated tool path. The tool
nose radius too must be specified in separate area of the memory. The commands are:
G41 Tool nose radius compensation Left
G42 Tool nose radius compensation Right
G40 Tool nose radius compensation Cancel
To bring the turret or tool position to machine reference point is known as HOMING.
Where X=0 and Z=0. There are 4 procedures for homing.
(A) In ZRO RETURN mode there are two procedures, without help of program i.e.
manually.
(B) In MDI mode two procedures are there i.e. with the help of program.
56
First Procedure for Homing:
Disturb the both axis (x first then z) in –ve direction, then keep the mode selector at
ZRN mode, keep the rapid at zero, then press the cycle start button. Then give rapid
maximum.
Second Procedure for Homing:
Disturb the both axis (x first then z) in –ve direction, then keep the mode selector at
ZRN mode, keep the rapid at zero, then press X+ & Z+ on the JOG table. Then give
rapid maximum.
57
Full sequence with full depth:
Once the previous mode is tested the program to be edited with required depth as per
the drawing will be run for final operation.
OFFSET SETTING
The procedure by which the job reference point or job data is given to the machine is
known as offsetting OR Offsets are the distances the cutting tool needs to travel, from
its 'Home' position to the Workpiece datum in X & Z.
Manually bring the tool near to the job, rotate the spindle, touch the face of job by
providing small step by help of MPG and clean the face of job by bring the tool
along x axis. Then go to OFFSET window and put Z0.0, then press the soft key
MEASURE. For example: if you are taking tool no 5, then put Z0.0 at serial easy to
use. For drill bit touch the tip of the drill on the face of the job.
58
(FOR DRILL)
X Offsetting.
After completing Z offset again bring the tool over the job slightly clean the outer dia
of job and stop the spindle. Measure the OD of job by measuring instrument, then go
the OFFSET window put the exact value at the same serial no ,then press
MEASURE.
For drill bit touch the drill bit to the billet outer diameter, and then enter the sum of the
diameter of the billet + the diameter of the drill.
59
Tool wear offset Table
Wear OFGX OFGZ (Z– OFGR OFT OFGY
offset (X–axis axis wear (Tool (Imagina (Y–axis
numbe wear offset nose ry tool wear
r offset amount) radius nose offset
amount) wear direction amount)
W01 0.040 0.020 offset
0 1) 0.010
W02 0.060 0.030 value)
0 2 0.020
W03 0 0 0.20 6 0
W04 : : : : :
W05 : : : : :
: : : : : :
NOTE** For facing, turning, threading, knurling and grooving the offsetting procedure
is same. But in drilling the spindle rotation is not required and in boring for X offset you
have to clean the inside surface of job and take the internal diameter (ID) measurement
for offsetting.
Give the X and Z coordinates for the part below. Note the X values are diameters
on CNC Lathes not radii.
X Z
Point 1
Point 2
Point 3
Point 4
Point 5
The Sequential steps for to make a Part Programme.
01. Program Head ( Program name or number & May keep some other
Information’s for future use ).
02. Select Tool change position.
03. Tool change ( Manual or Automatic Tool Changer ).
04. Select operational position.
05. Cutting parameter setting ( Cutting speed, Feed etc.).
06. Operation.
07. On completion of total operation of that tool, then return to tool
change position.
08. If there is any other operation, then again proceed from No. 3 to
No.7, If not then program End.
60
EXAMPLE FOR LINE PROGRAMMING
O0001;
G28 U0 W0 T0; G00 X72; G01 X55;
T0101; (Tu. cum Facing Tool) G01 Z-44; G00 Z2; (Finish Cut)
G00 X100 Z50; G01 X80; G00 X0;
G96 S150; G00 Z2; G01 Z0;
G50 S1500; G00 X67.5; G01 X50;
G97 F.2; G01 Z-41; G01 Z-30;
G00 X85 Z5; G01 X75; G01 X80 Z-50;
M03 / M04; G00 Z2; G01 Z-60;
(Facing Operation) G00 X63; G01 X85;
G00 Z0; G01 Z-38; G00 X150 Z150;
G01 X0; G01 X70; M30;
G00 Z2; G00 Z2;
G00 X85;\ G00 X58.5;
(Turing Operation) G01 Z-35;
G00 X81; G01 X65;
G01 Z-60; G00 Z2;
G01 X85; G00 X54;
G00 Z2; G01 Z-32;
G00 X76.5; G01 X60;
G01 Z-47; G00 Z2;
G01 X82; G00 X51;
G00 Z2; G01 Z-30;
61
CANNED CYCLES
Canned cycle or fixed cycles may be defined as a set of instructions, inbuilt or stored in
the system memory, to perform a fixed sequence of operations. The canned cycles can
be brought into action with a single command and such reduce the program length, time
and effort. It is used for repetitive and commonly used machining operations.
Commonly available fixed cycles are- The operations Drilling, Tapping, Boring,
Pocketing , etc. are in milling. And The operations Turning, Facing, Drilling, Grooving,
Threading, OD/ID Rough Out, Contour Finishing, etc. are in lathe.
62
Fanuc G94 Facing Cycle
Fanuc G94 G code is used for rough facing.
It is used for simple facing (one-pass facing) however multiple passes are possible by
specifying the Z-axis location of additional passes.
G94- Programming Format
Fanuc G94 facing cycle is very simple to program and use. G94 G code parameters are
explained below,
G94 X… Z… OR G94 U……W…..
X: End point in X-axis. Z: End point in Z-axis.
U: X-axis incremental distance. W: Z-axis incremental distance.
63
G92 Threading Cycle Format for Taper Threading
G92 X__Z__R__F__; OR G92 X__Z__I__F__;
64
P = Pitch = 1/Number of threads per inch (TPI)
H = Angular Depth = 0.866025 x P
H/8 = Shortening of major dia = 0.108253 x P
H/4 = Shortening of minor dia = 0.216506 x P
d = Actual Depth = 0.541266 x P
r = Radius at the Root = 0.1443 x P
Hn = Basic height of Internal Thread = 0.54127 x P
Hs = Basic height of External Thread = 0.61344 x P
T0303;
G00 X52 Z5;
G97 S400 M03;
G92 X49.5 Z-32 I-6.166 F1.5;
X49.3;
X49.1;
X48.9;
X48.7;
X48.5;
X48.3;
X48.1;
X48.05;
G00 X100 X150;
65
G70 (FINISHING CYCLE IN TURNING)
G70 P… Q….F… :
P : Start sequence block no of Finished Part.
Q : Final sequence block no of Finished Part..
F: Cutting federate For Finish Cut.
G71 (STOCK REMOVAL CYCLE IN TURNING)
G71 U….. R….. :
G71 P… Q… U… W… F… :
U: Cut volume of one time OR Depth per Cut on X (Designate the radius).
R: Escape volume(Always 45 degree escape) OR Relief Amount.
P : Start sequence block no of Finished Part.
Q : Final sequence block no of Finished Part..
U: Finishing tolerance in X axis or Finishing allowances on X.
W : Finishing tolerance in Z axis or finishing allowances on Z.
F: Cutting federate
66
EXAMPLES G70, G71, G72, G73, G75 AND G76.
67
EXAMPLE G71 and G72
68
G73 (STOCK REMOVAL BY PATTERN REPEATING CYCLE)
G73 U….W…. R…:
G73 P…. Q….U….. W…..F….. :
First Program Block
U : Distance and direction of relief in x-axis (radius value). This is the
amount of material which will be cut in x-axis.
W : Distance and direction of relief in z-axis. This is the amount of
material which will be cut in z-axis.
R : Number of divisions. The number the contour will be repeated.
Second Program Block.
P : The contour start block number.
Q : The contour end block number.
U : Finishing allowance in x-axis.
W: Finishing allowance in z-axis.
F : Feed
EXAMPLE
69
Internal Turning (Boring) Example:-
70
PROGRAM {Multiple Threading Cycle}
M40x2.5
M20x1.5
1.5
2.5 20
55 25
Grooving Cycle
O0010; G75 R……….
G28 U0; G75 X….Z….Q…P….F….
G28 W0; R- Relief amount.
T0101; X- Minor Dia. Of Groove.
G00 X51 Z2; Z- Final Groove Length.
G96 S100; Q- Sifting amount in Z-axis.
G50 S1000 M04; P- Depth per Cut, F- Feed.
M08; T0303; (Grooving Tool)
G71 U0.3 R0.4; G00 X41 Z-60;
G71 P10 Q20 U0.1 W0.05 F0.2; G97 S400 M04;
N10 G00 X0; M08;
G01 Z0; G75 R0.5;
G01 X16; 1.5
G75 X20 Z-58 Q1000 P500 F0.05;
G01 X20 Z-2; M05;
G01 Z-25; M09;
G01 X36; 2.5 G28 U0 W0; 20.0
G01 X40 Z-27; T0505; (THREADING TOOL 60°)
G01 Z-60; G00 X22.025.0Z2.0;
G01 X46; G97 S800 M04;
55.0
G01 X50 Z-62; G76 P021060 Q100 R100;
N20 G01 X51; G76 X18.05 Z-20.0 P975 Q500 F1.5;
G70 P10 Q20 F0.1; G00 X42.0 Z-22.0;
G97 S0; G76 P021060 Q100 R100;
M05; G76 X36.75 Z-57.0 P1625 Q500 F2.5;
M09; G00 X200.0 Z200.0; M30;
71
G74 = Face Grooving Cycle / Drilling Cycle.
G74 R__ ;
G74 X__ Z__ P__ Q F__;
R = Retraction value.
X = Minor diameter (Groove end position in x-axis).
Z = Groove Length (End Position in z-axis).
Q = Peck increment in Z-axis (depth of each cut in Z-axis in micron).
P = Stepping (Sleepover) in X-axis (in Micron).
F = Feed Rate.
G75 = Grooving Cycle.
G75 R__;
G75 X__ Z__ P__ Q__F__;
R= Return/Retract amount,
X= Minor Dimeter,
Z= Last groove position in Z- axis,
P= Peck increment in X- axis (in micron),
Q= Stepping in Z-axis (in micron),
F= Feed,
Example:-
O2222;
G28 U0 W0; G28 U0 W0;
T0101; (Borning Tool) T0202; (Grooving Tool 5mm)
G96 S120; G96 S60;
72
G92 S1200 ; G92 S300 ;
G00 Z2.0 X16.0; G00 X16.0 Z2.0;
M04; M04;
G71 U0.2 R0.3; G00 X16.0 Z-28.0;
G71 P10 Q20 U0.1 W0.1 F0.2; G75 R0.5;
N10 G01 X20.0; G75 X30.0 P500 F0.02;
G01 Z-34.0; G00 X16.0 Z-25.0;
N20 G01 X16.0; G75 R0.5;
G70 P10 Q20 F0.1; G75 X30.0 P500 F0.02;
G00 X150.0 Z200.0; G00 X16.0 Z2.0;
M30; M30:
EXAMPLE
O6644;
T0000;
G28 U0 W0;
T0707;
G97 S1000 M04;
G00 Z0.0;
G00 X20.0;
M07;
G76 P040060 Q20 R0.02;
G76 X16.75 Z-30.0 P1625 Q20 R-5.0 F2.5;
73
G00 Z2.0;
G97 T0000 M09;
G28 U0 W0;
M30;
Taper turning must be done with correct calculation for the external threading to get
a proper taper thread.
The R parameter in second block of G76 is the tapered value. Note that R is
given as Radius value and to calculate R parameter for Tapered Threading is
flowing-
R = (Start Diameter – End Diameter) / 2
EXAMPLE
O6644;
T0000;
G28 U0 W0;
T0707;
G97 S500 M04;
G00 Z2.0;
G00 X28.0;
G01 Z0.0 F0.5; M07;
74
G76 P040060 Q20 R0.02;
G76 X30.0 Z-40.0 P975 Q20 R5.0 F1.5;
G00 Z2.0;
G97 T0000 M09;
G28 U0 W00
M30;
Boring done for internal taper threading must be perfectly calculated or else the
thread would not form properly. Safety height also must be calculated properly or
there would be a chance of hitting tool with the small diameter of the job.
EXERCISE
75
EXCERCISE
76
77
78
SPECIFICATION OF INDEXABLE TIP INSERTED CUTTING TOOL
INSERTS
A letter symbol is used to identify the SHAPE. Insofar as possible, this letter is
descriptive of the shape, as follows: A – Parallelogram 85° , B – Parallelogram 82°,
C – Diamond 80° (Rhombic)
D – Diamond 55° (Rhombic) E – Diamond 75° (Rhombic),
H – Hexagon 120°, K – Parallelogram 55°, L – Rectangle 90°, M – Diamond
86° (Rhombic), O – Octagon 135°, P – Pentagon 108°, R – Round, S –
Square 90°, T – Triangle 60°, V – Diamond 35° (Rhombic), W – Trigon 80°
79
SHAPE Identification chart -
80
81
2. CLEARANCE ANGLE ( Relief Angle)
The second position is a letter denoting the relief angles. These angles are the
difference from 90° measured in a plane normal to the cutting edge generated by the
angle between the flank and top surface of the insert.
82
The third position is a letter that indicates
the tolerances that control the indexability of the insert. Tolerances specified do not
imply the method of manufacture. Dimensions are established prior to supplemental
edge or coating modification.
4. TYPE
The fourth position is a letter to show differences in design not specifically provided for
in the other sequence positions. The most common differences are the existence of
fixing
holes, countersinks, and special features on rake surfaces.
A – With hole, without chip grooves
B – With hole, without chip grooves, and one countersink (70°-90°)
C – With hole, without chip grooves, and two countersinks (70°-90°)
F – Without hole with chip grooves on two rake faces.
G – With hole and chip grooves on two rake faces
H – With hole, one countersink (70°-90°) and chip groove on one rake face.
J – With hole, two countersinks (70°-90°) and chip grooves on two rake faces.
M – With hole and chip groove on one rake face
N – Without hole, without chip grooves
Q – With hole, without chip grooves, and two countersinks (40°-60°).
R – Without hole with chip groove on one rake face
83
T – With hole, one countersink (40°-60°) and chip groove on one rake face
U – With hole, two countersinks (40°-60°) and chip grooves on two rake faces
W – With hole, without chip grooves and one countersink (40°-60°)
X – With dimensions or details requiring detailed explanation,
a sketch or additional Specifications
*** A space may be used after the fourth position to separate the shape-describing
portion from the following dimensional description of the insert and is not to be
considered a position in the standard description.
5. INSERT SIZE
The fifth position is a significant one- or two-digit number indicating the size of the
inscribed circle (I.C.) for all inserts having a true l.C. such as Round, Square,
Triangle, Trigon, Pentagon, Hexagon, Octagon, and Diamond. This position designates
the number of eighths of an inch in the nominal size of the I.C. and will be a one- or
two-digit number when the number of eights of an inch in the I.C. is a whole number. It
will be a two-digit number carried to one decimal place when it is not a whole number.
84
B. Rectangles or parallelograms
On rectangle and parallelogram inserts, the width and length dimensions are used in
place of the l.C. A two-digit number is necessary because these do not have an
inscribed circle. The first digit indicates the number of eighths of an inch in the width
and the second digit indicates the number of fourths of an inch in the length of the
insert.
85
86
6. THICKNESS
The sixth position is a significant one- or two-digit number indicating the number of
sixteenths of an inch in the thickness of the insert. This position will be a one-digit
number when the number of sixteenths of an inch in the thickness is a whole
number. It will be a two-digit number carried to one decimal place when it is not a
whole number.
7. CUTTING-POINT CONFIGURATION
The cutting point configuration, indicated by the seventh position, will be shown by
either a significant number indicating a radius, tangent to the adjacent sides, or two
letters indicating the details of the primary facet. In the case of a radius, the number
designates the number of sixty-fourths of an inch in the radius as shown below.
0 – Sharp corner (0.002 inch max. radius)
87
0.2 – 0.004 inch radius
0.5 – 0.008 inch radius
1 – 1/64-inch radius, 2 – 1/32-inch radius
3 – 3/64-inch radius, 4 – 1/16-inch radius
5 – 5/64-inch radius, 6 – 3/32-inch radius
7 – 7/64-inch radius, 8 – 1/8-inch radius
X – Any other corner radius
*** In the case of a facet, two letters will be used. The first designates the facet angle
and the second designates the facet clearance angle as shown above. Secondary
facets and radii in place of secondary facets are not defined by this standard
and shall be manufacturer’s standard. Primary facet angle Kr clearance α'n.
NOTES-
1. The wiper edge is a part of the minor cutting edge.
2. Inserts with wiper edge may or may not have chamfered corner depending on their
type. The designation for indexable inserts gives no information as to whether the
inserts have or do not have chamfered corners. For standardized inserts, this
information is given in dimensional standards; for nonstandardized inserts, it is
88
given in suppliers’ catalogues. It is intended that all nose radii be essentially tangent
to the included angle on both sides of the form.
8. EDGE PREPARATION-
The eighth position shall be a letter. It shall define special conditions,
such as edge treatment and surface finish, as follows
89
10. FACET SIZE
The tenth position is only used if there are letters in the seventh position. It
shall be a significant number representing the nominal sixty-fourths of an inch in length
of the primary facet.
HOLDER
Tool holders are normally used either according to the job shape or according to the
machine specification. The holder holds the insert in it so the specification of tool
holders is almost same as the insert. The tool holder also have ten positions of
identification, each position defines a characteristic of the tool holder in the following
order: Clamping method, Insert shape, Style, Clearance angle, Cutting direction,
Shank height, Shank width, Tool length, Cutting edge length, Special tolerances.
1. CLAMPING METHOD
The letter in the clamping method defines, how the insert is mounted on or clamped on
the tool holder.
90
2 INSERT SHAPE
A letter symbol is used to identify the shape and the angle of the insert, this letter is
descriptive of the shape of the insert that going to be use in the holder and the shape
identification is same as the identification of the insert.
This position give define the style of the tool holder and a letter to show differences in
design in the angle on the tool.
91
4. CLEARANCE ANGLE
The fourth position is a letter denoting the relief angles. These angles are the
difference from 90° measured in a plane normal to the cutting edge generated by the
angle between the flank and top surface of the insert.
92
5. CUTTING DIRECTION
This geometry say about the hand direction of the tool, the letters “R”, “L”, or “N” must
be used in this position to indicate right hand, left hand, or neutral.
93
6. SHANK HEIGHT
94
This position will give the height of the shank of the tool holder. Normally the shank
height is given in mm.
7. SHANK WIDTH
This position will give the width of the shank of the tool holder. Normally the shank
height is given in mm.
8. TOOL LENGTH
The position eight will give the total length of the shank of the tool holder. That is
from the tip to the end of the tool holder.
95
9. CUTTING EDGE LENGTH
The length of the cutting edge of the insert is been defined by using letters in this
position.
96
10. SPECIAL TOLERANCE
97
This position is reserved for the special tolerances which are normally defined as per
the requirement.
98
ASSIGNMEMT
99
31. How many methods are there to do ‘program test’?
32. Explain safety distance program testing?
33. What ‘TNRC’ stand for?
34. Write the format and parameter for ‘Rough turning cycle’?
35. Write the format and parameter for ‘Finishing turning cycle’?
36. Write the format and parameter for ‘Facing cycle’?
37. What is “U0.05 and W0.1” in following example-
“G71 U0.2 RO.3;
G71 P10 Q20 U0.05 W0.1 F0.2;
38. What is “P5 and Q15” in following example- G70 P5 Q15 F0.1;
39. What is “W0.5 and W0.2” in following example-
“G72 W0.5 RO.3;
G72 P10 Q20 W0.2 F0.2;
40. Write the format and parameter for ‘Drilling cycle’?
41. Write the format and parameter for ‘Boring cycle’?
42. What is ‘U’ in Boring cycle?
43. What is the difference between Boring cycle and Rough turning
cycle?
45. Write the format and parameter for ‘Profile turning cycle’?
46. Write the format and parameter for ‘Profile Boring cycle’?
47. What is G40?
48. Explain difference between G41 and G42?
49. Define thread?
50. What are pitch, lead and angle of the thread?
51. If pitch is 2.5mm in a double start thread then what is the lead
of the thread?
52. What is the basic different between left hand and right hand
thread?
53. Explain all the parameters of G76 cycle?
54. What is ‘F’ in threading cycle?
55. Explain “P040060” in G76 cycle?
56. What is ‘R’ in the second block of G76 cycle?
57. What is the different in ‘R’ in int. and external taper thread?
58. W hat is meant by canned cycle?
59. What is a DNC machine?
60. What is meant by VMC machine?
100
(c) The full form of ISO is………………………………………….
(d) The CNC ….should have practical experience as m/c tool operator.
(e) The motion axis of the main spindle of the m/c is called ………axis,
(f) The facility of repetitive programming techniques are called…………,
(g) The main advantage of Abs. programming is..….by the programmer.
(h) Address of CNC program relate to the Tool position is called…word.
(i) Actually the ……. is defined in the part program for CNC machining.
(j) In CNC Milling, the axis of motion should be programmed with
respect to ……………. of the cutter,
(k) The number for discriminating each block is called…………….. .
(l) NC machine Tool is not allowed to the automatic tool ……………..,
If there is any change of tool dimension.
(m) The EOB symbol identifies the …………..…………..,
(n) In motion the distance to be traveled by the Tool in differences from
its existing position is called …………….,
(o) The Tool Offset function is addressed by…………….. .
(p) The most versatile control system has been……..………. .,
(q) The command G04 is use for, but it cannot function without………,
(r) The coordinate measuring system of the Work is called …………......,
(s)The system are used to control the position of the Tool is called ….…,
(t) The spindle speed on CNC m/c can specified either in ……..……. .
(u) Card reader can eliminate by use of ----------------------- Control.
(v) In block format the symbol ( C ) is used for ……………………..,
(w). In block format the sign ( / ) is stands for ……………………..,
(x). The preparatory function G04 is use for ……………………...
(y). The word ( M ) used to specify ……………………..,
(z). In the block format XP, YP & ZP are used for …………………….. .
ANSWERS-
a. Word, b. Machine Coordinate System, c. International Standard Organization, d.
Programmer, e. Z axis, f. Sub-Program facility, g. Easy modification, h. Co-ordinate
Word, i. Tool Path, j. Centre Line, k. Block Number, l. Compensation, m. End of Block,
n. Incremental Movement, o. ‘D’ Letter, p. Man, q. Given Time, r. Work Coordinate
System, s. Coordinate System, t. G96/G97 u. Computer Numerical v. Rotational axis
parallel to Z-axis, w. Block Skip, x. Pause time or Dwell time, y. Miscellaneous
Functions, z. Coordinate of a position.
101
1. In CNC m/c tool, the part program entered into the computer memory
2. Which of the following statements are correct for CNC machine tool?
a. CNC control unit does not allow compensation for any changes in
the dimensions of cutting tool
b. CNC machine tool are suitable for long run applications
c. It is possible to obtain information on machine utilization which is
useful to management in CNC machine tool
d. CNC machine tool has greater flexibility
e. CNC machine can diagnose program and can detect the machine
defects even before the part is produced
102
c. Adaptive Control Systems
d. Machining centre
6. The point at which the cutting tool reaches, beyond which it will not
function satisfactorily until it is reground, is called as
a. tool wear
b. tool failure
c. too diffusion
d. none of the above
7.In metal cutting operation, maximum heat (i.e.80-85%) is generated in
a. the shear zone
b. the chip-tool interface zone
c. the tool-work interface zone
d. none of the above
a. Shear angle
b. Tool rake angle
c. Chip angle
d. Cutting angle
10. Which fixtures are used for machining parts which must have
machined details evenly spaced?
103
a. Profile fixtures
b. Duplex fixtures
c. Indexing fixtures
d. None of the above
11. The angle between side cutting edge & end cutting edge is called as
a. approach angle
b. nose angle
c. side relief angle
d. end relief angle
12. Lead angle in the single point cutting tool is the angle between
a. the end cutting edge and the normal to the tool shank
b. the portion of side shank immediately below the side cutting edge
and the line perpendicular to the base of the tool
c. the tool face and the parallel to the base of the tool
d. side cutting edge and the side of the tool shank
13. The surface of the single point cutting tool on which the chips
formed in cutting operation slide is called as
a. flank
b. heel
c. face
d. shank
104
a. Boring
b. Counter boring
c. Sinking
d. Countersinking
(A) Operator
(B) Process planning
(C) Machine tool
(D) Component drawing
(E) Completed component
a. (A) – (D) – (B) – (C) – (E)
b. (D) – (B) – (C) – (A) – (E)
c. (B) – (D) – (C) – (A) – (E)
d. (D) – (B) – (A) – (C) – (E)
18. What is the reason for using unconventional or advanced machining
processes?
a. Complex surfaces
b. High accuracy and surface finish
c. High strength alloys
d. All of the above
19. Continuous chips are formed during metal cutting operation due to
105
a. making a hole in an object
b. enlarging a hole which is already in an object
c. finishing an existing hole very smoothly and accurately in size
d. none of the above
22. The codes do not directly help in machining, but required for proper functioning of
an NC/CNC machine tool are called
a. miscellaneous codes
b. ‘S’ words
c. preparatory codes
d. ‘T’ words
23. Program coordinates that are based on a fixed origin are called
a. absolute
b. Cartesian
c. relative
d. incremental
a. presetting
b. post setting
c. specific setting
d. tool on setting
106
26. Constant surface speed facility is useful during
a. taper turning
b. thread cutting
c. drilling
d. turning
ANSWERS
1. B, 2. C, D, E, 3. C, 4. B, 5. D, 6. B, 7. A, 8. A, 9. C, 10. C, 11. B, 12. D,
13. C, 14. D, 15. A, 16. D, 17. D, 18. D, 19. D, 20. B, 21. C, 22. A, 23. A,
107
24. A, 25. A, 26. A, 27. A, 28. A, 29. A, 30. B.
108