Professional Documents
Culture Documents
Module-II
Dr. Binay Kumar, Department of Production and Industrial Engineering, BIT
Mesra, Ranchi
' 5 % ,1 $ < . 8 0 $ 5 ' ( 3 7 7 2 )3 5 2 ' 8 & 7 ,2 1 $ 1 ' ,1 ' 8 6 7 5 ,$ /( 1 * ,1 ( ( 5 ,1 * % ,7 0 ( 6 5 $
5$ 1 &+ ,
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 1
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 2
07‐Oct‐21
Numerical control (NC) refers to the automation of machine tools that are operated by
abstractly programmed commands encoded on a storage medium, as opposed to controlled
manually via handwheels or levers, or mechanically automated via cams alone. The first NC
machines were built in the 1940s and 1950s, based on existing tools that were modified with
motors that moved the controls to follow points fed into the system on punched tape. These
early servomechanisms were rapidly augmented with analog and digital computers, creating
the modern computer numerical control (CNC) machine tools that have revolutionized the
machining processes.
In modern CNC systems, end-to-end component design is highly automated using computer-
aided design (CAD) and computer-aided manufacturing (CAM) programs. The programs
produce a computer file that is interpreted to extract the commands needed to operate a
machine via a postprocessor, and then loaded into the CNC machines for production.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
Since any component might require the use of a number of different tools-drills, saws, etc.,
modern machines often combine multiple tools into a single "cell". In other cases, several
different machines are used with an external controller and human or robotic operators that
move the component from machine to machine. In either case, the complex series of steps
needed to produce any part is highly automated and produces a part that closely matches the
original CAD design.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 3
07‐Oct‐21
The main credit of NC development can be attributed to US Air Force, MIT and
Parsons Corporation (John Parson and Frank Stulen).
Parson and Stulen developed a machine which they named Cardmatic milling machine.
This machine axis position was controlled by punched cards.
1949: US Air Force asks Parsons Corporation to develop a "numerically controlled"
machine. Parsons Corporation subcontracted the project to servomechanism lab, MIT
1952: Prototype NC machine demonstrated (punched tape input)
1953: Agreement with MIT and Giddings and Lewis machine tool company to develop
the technology
1958: APT programming language was developed under patronage of US Air Force.
1980: CNC machines (computer used to link directly to controller)
1990: DNC: external computer “drip feeds” control programmer to machine tool
controller.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
• Increased production
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 4
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
PROGRAM OF
INSTRUCTION
(NC CODE)
MACHINE CONTROL
UNIT (MCU)
MANUFACTURING
OPERATOR
Drive Control
PROCESSED
PART
PROCESSING EQUIPMENT
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
10
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 5
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
11
• The most common input medium used is 1 inch wide punched tape. Other input mediums are
punched cards, magnetic tape
Punched tape
Punched card
12
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 6
07‐Oct‐21
• In modern NC technology the machine control unit consists of a microcomputer and related
control hardware that stores the program of instruction and executes it by converting each
command into mechanical actions of the processing equipments, one command at a time.
The related hardware of the MCU includes components to interface with the processing
equipments and feedback control elements. The MCU also included one or more reading
devices for entering part programs into memory. The type of readers depends on the storage
media used for part programs. The MCU also includes control system software, calculation
algorithms, and translation software to convert the NC part programs into a useable format
for MCU.
• The Processing equipment accomplishes the processing steps to transform the workpiece
into a completed part. Its operation is directed by MCU, which in driven by instruction
contained in the part program.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
13
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
14
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 7
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
15
NC Coordinate Systems
For flat and prismatic (block-like) parts:
• Milling and drilling operations
• Conventional Cartesian coordinate system
• Rotational axes about each linear axis
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
16
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 8
07‐Oct‐21
NC Coordinate Systems
The programmer must determine position of tool relative to origin (zero point)
of coordinate system. NC machines have two methods for specifying zero point:
Fixed Zero: In this case the origin is always located at the same position on m/c
table. Usually this is the southwest corner of table and all tool locations will
be defined by positive x & y coordinates.
Floating Zero: The second and more common feature on modern NC machines
allows the m/c operator to set zero point at any position on m/c table.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
17
COORDINATE SYSTEMS
• Designating the Axes: First axis to be identified is the Z-axis. This is followed by the X and Y axes
respectively.
• Z-Axis and Motion
• Location: The Z-axis motion is either along the spindle axis or parallel to the spindle axis.
• Direction: The tool moving away from the work holding surface towards the cutting tool is designated as the
positive Z direction.
18
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 9
07‐Oct‐21
COORDINATE SYSTEMS
• X-Axis: Location: It is perpendicular to the Z-axis and should be horizontal and parallel to
the work- holding surface wherever possible.
• Direction: When looking from the principal spindle to the column, the positive (+) X is to
the RIGHT.
• Y-Axis: It is perpendicular to both X- and Z- axes and the direction is identified by the
right hand Cartesian co-ordinate system.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
19
Rotary Motions
• A, B and C define the primary
rotary motions.
• Location: These motions are located
about the axis parallel to X, Y and Z respectively.
• Direction: Positive A,B and C are
in the directions which advance right hand
screws in the positive X, Y, and
Z directions respectively.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
20
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 10
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
22
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 11
07‐Oct‐21
• Using a vertical mill machining center as an example, there are typically three
linear axes of motion. Each is given an alphabetic designation or address. The
machine table motion side to side is called the “X” axis. Table movement in and
out is the “Y” axis, while head movement up and down the column is the “Z”
axis.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
23
NC machines
Table
Leadscrew
Encoder A/C Motor
~
Servo Controller
Counter Comparator
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
24
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 12
07‐Oct‐21
CNC terminology
BLU: basic length unit smallest programmable move of each axis.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
25
NC MACHINE CLASSIFICATIONS
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
26
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 13
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
27
Figure: Movement of tools in numerical-control machining. (a) Point-to-point, in which the drill bit drills
a hole at position 1, is retracted and moved to position 2, and so on. (b) Continuous path by a milling
cutter. Note that the cutter path is compensated for by the cutter radius. This path can also be
compensated for cutter wear.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
28
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 14
07‐Oct‐21
Figure: Positions of drilled holes in a workpiece. Three methods of measurements are shown: (a) absolute
dimensioning, referenced from one point at the lower left of the part; (b) incremental dimensioning, made
sequentially form one hole to another; and (c) mixed dimensioning, a combination of both methods.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
29
• Incremental positioning
– Move is: x = 20, y = 30.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
30
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 15
07‐Oct‐21
Figure: Schematic illustration of the components of (a) an open-loop and (b) a closed-loop control system
for a numerical-control machine.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
31
Figure (a) Direct measurement of the linear displacement of a machine-tool work table. (b) and (c) Indirect
measurement methods.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
32
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 16
07‐Oct‐21
Advantages of NC
• Parts can be produced in less time and therefore are likely to be less expensive.
• Parts can be produced more accurately even for smaller batches.
• The operator involvement in part manufacture is reduced to a minimum and as a result less scrap is
generated due to operator errors.
• Since the part program takes care of the geometry generated, the need for expensive jigs and fixtures is
reduced or eliminated, depending upon the part geometry.
• Inspection time is reduced, since all the parts in a batch would be identical provided proper care is taken
about the tool compensations and tool wear in part program preparation and operation.
• The need for certain types of form tools is completely eliminated in NC machines.
• Lead times needed before the job can be put on the machine tool can be reduced to a great extent
depending upon the complexity of the job.
• CNC machining centers can perform a variety of machining operations that have to be carried out on
several conventional machine tools, thus reducing the number of machine tools on the shop floor.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
33
• Many a times the setup times are reduced, since the setup involves simple location of the
datum surface and position.
• Machining times and costs are predictable to a greater accuracy, since all the elements
involved in manufacturing would have to be thoroughly analyzed before a part program is
prepared.
• Operator fatigue does not come into picture in the manufacturing of a part. The NC machine
tool can be utilized continuously since these are more rigid than the conventional machine
tool.
• Tools can be utilized at optimum feeds and speeds that can be programmed.
• The modification to part design can be very easily translated into manufacture by the simple
changes in part programs without expensive and time consuming changes in jigs, fixtures and
tooling.
• The capability (metal removal) of NC machines is generally high because of the very rigid
construction employed in machine tool design compared to the conventional machine tools.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
34
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 17
07‐Oct‐21
Limitations of NC
• The cost of NC machine tool is much high compared to an equivalent
conventional machine tool.
• Cost and skill of the people required to operate a NC machine is generally
high in view of the complex and sophisticated technology involved.
• Special training needed to the personnel manning the NC machine tools.
• As NC is a complex and sophisticated technology, it also requires higher
investments for maintenance in terms of wages of highly skilled personnel
and expensive spares.
• The automatic operation of NC machines implies relatively higher running
costs.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
35
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
36
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 18
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
37
Historical Perspective
The word NC which stands for numerical control refer to control of a machine or a process
using symbolic codes consisting of characters and numerals. The word CNC came into
existence in seventies when microprocessors and microcomputers replaced integrated circuit
IC based controls used for NC machines. The development of numerical control owes much to
the United States air force. The concept of NC was proposed in the late 1940s by John
Parsons who recommended a method of automatic machine control that would guide a milling
cutter to produce a curvilinear motion in order to generate smooth profiles on the work-pieces.
In 1949, the U.S Air Force awarded Parsons a contract to develop new type of machine tool
that would be able to speed up production methods.
Parsons sub-contracted the Massachusetts Institute of Technology (MIT) to develop a practical
implementation of his concept. Scientists and engineers at M.I.T built a control system for a two
axis milling machine that used a perforated paper tape as the input media. This prototype was
produced by retrofitting a conventional tracer mill with numerical control servomechanisms for
the three axes of the machine. By 1955, these machines were available to industries with some
small modifications.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
38
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 19
07‐Oct‐21
The machine tool builders gradually began developing their own projects to
introduce commercial NC units. Also, certain industry users, especially airframe
builders, worked to devise numerical control machines to satisfy their own
particular production needs. The Air force continued its encouragement of NC
development by sponsoring additional research at MIT to design a part
programming language that could be used in controlling N.C. machines.
In a short period of time, all the major machine tool manufacturers were
producing some machines with NC, but it was not until late 1970s that computer-
based NC became widely used. NC matured as an automation technology when
electronics industry developed new products. At first, miniature electronic tubes
were developed, but the controls were big, bulky, and not very reliable. Then
solid-state circuitry and eventually modular or integrated circuits were developed.
The control unit became smaller, more reliable, and less expensive.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
39
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
40
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 20
07‐Oct‐21
DEFINE GEOMETRY
COMPUTER
CREATE TOOL PATH
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
41
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
42
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 21
07‐Oct‐21
• Fixed cycles and programming subroutines: The increased capacity and the
ability to program the control computer provide the opportunity to store frequently
stored machining cycles as micros that can be called by the part program. Instead
of writing the full instructions for the particular cycle into every program, a call
statement is included in the part program to indicate that the micro cycle should be
executed. These cycles often require that certain parameters be defined; for
example, a bolt hole circle, in which the diameter of the bolt circle, the spacing of
the bolt holes and other parameters must be specified.
• Interpolation: Some of the interpolation schemes are normally executed only on a
CNC system because of the computational requirements. Linear and circular
interpolation are some times hardwired into the control unit, but helical, parabolic,
and cubic interpolations are usually executed in a stored program algorithm.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
43
• Positioning features for setup: Setting up the machine tool for a given work part
involves installing and aligning a fixture on the machine tool table. This must be
accomplished so that the machine axes are established with respect to the work part.
The alignment task can be facilitated using certain features made possible by
software options in a CNC system. Position set is one of these features. With
position set, the operator is not required to locate the fixture on the machine table
with extreme accuracy. Instead, the machine tool axes are referenced to the location
of the fixture by using a target point or set of target points on the work or fixture.
• Diagnostics: Many modern CNC systems possess an online diagnostics capability
that monitors certain aspects of the machine tool to detect malfunctions or signs of
impending malfunctions or to diagnose system break downs.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
44
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 22
07‐Oct‐21
• Cutter length and size compensation: In older style controls, cutter dimension
had to be set very precisely to agree with the tool path defined in the part program.
Alternative methods for ensuring accurate tool path definition have been
incorporated into CNC controls. One method involves manually entering the
actual tool dimensions into the MCU. These actual dimension may differ from
those originally programmed. Compensations are then automatically made in the
computed tool path. Another method involves use of a tool length sensor built into
the machine. In these technique the cutter is mounted in the spindle and the sensor
measures its length. This measured value is then used to correct the programmed
tool path.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
45
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
46
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 23
07‐Oct‐21
System bus
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
47
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
48
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 24
07‐Oct‐21
• Memory: CNC memory can be divided into two categories: (1) main memory
and (2) secondary memory. Main memory also known as primary storage
consists of ROM and RAM devices. Operating system software and machine
interface programmes are generally stored in ROM. NC part programmes are
stored in RAM devices. Secondary memory (also called auxiliary storage)
devices are used to store large programme and data file, which are transferred to
main memory as needed. Common among the secondary devices are floppy
diskettes and hard disks.
• The I/O interface: The I/O interface provides communication between the
various components of the CNC systems, other computer systems and the
machine operator. The I/O interface transmits and receives data and signals to
and from external devices. The operator control panel is basic interface by which
the machine operator communicates to the CNC system. The I/O interface also
includes a display (CRT or LED) for communication of data and information
from the MCU to the machine operator.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
49
• Controls for machine tool axes and spindle speed: These are hard-ware
components that controls the position and velocity of each machine axes as well as
the rotational speed of the machine tool spindle. The control system generated by
MCU must be converted to a form and power level suited to the particular position
control system used to drive machine axes.
• Sequence control for other machine tool function: These ordinary functions are
generally on/off actuations, interlocks, and discrete numerical data. Some of the
auxiliary functions are given below:
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
50
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 25
07‐Oct‐21
CNC Software
• The Computer in CNC operates by means of software. There are three types of
software programs used in CNC systems: (i) operating system software, (ii)
machine interface software, and (iii) application software.
• The principle function of the operating system software is to interpret the NC part
programs and generate the corresponding control signals to drive the machine tool axes.
It is installed by the computer manufacturer and stored in ROM in the MCU. The
operating system software consists of the following: (i) an editor, which permits the
machine operator to input and edit NC part programs and perform other file management
functions; (ii) a control program which decoded the part program instructions, performs
interpolation and acceleration/deceleration calculations, and accomplishes other related
functions to produce the coordinate control signals for each axis; (iii) an executive
program, which manages the execution of the CNC software as well as the I/O operation
of the MCU. The operating system software also includes the diagnostics routines that
are available in the CNC system.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
51
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
52
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 26
07‐Oct‐21
Machine axes are designated according to the "right-hand rule", When the thumb of
right hand points in the direction of the positive X axis, the index finger points
toward the positive Y axis, and the middle finger toward the positive Z axis.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
53
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
54
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 27
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
55
Stepper motors
Stepper motors convert digital pulse and direction signals into rotary motion and are easily controlled.
Although stepper motors can be used in combination with analog or digital feedback signals, they are
usually used without feedback (open loop). Stepper motors require motor driving voltage and control
electronics. The rotor of a typical hybrid stepper motor has two soft iron cups that surround a
permanent magnet which is axially magnetized. The rotor cups have 50 teeth on their surfaces and
guide the flux through the rotor- stator air gap. In most cases, the teeth of one set are offset from the
teeth of the other by one-half tooth pitch for a two phase stepper motor.
Servo Motors
Servo motors are more robust than stepper motors, but pose a more difficult control problem. They are
primarily used in applications where speed, power, noise level as well as velocity and positional
accuracy are important. Servo motors are not functional without sensor feedback. They are designed
and intended to be applied in combination with resolvers, tachometers, or encoders (closed loop).
There are several types of servo motors, and three of the more common types are described as follows.
The DC brush type servo motors are most commonly found in low-end to mid-range CNC machinery.
The "brush" refers to brushes that pass electric current to the rotor of the rotating core of the motor.
The construction consists of a magnet stator outside and a coil rotor inside. A brush DC motor has
more than one coil. Each coil is angularly displaced from one another so when the torque from one
coil has dropped off, current is automatically switched to another coil which is properly located to
produce maximum torque.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
56
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 28
07‐Oct‐21
Encoders
An encoder is a device used to change a signal or data into a code. These encoders are used in metrology
instruments and high precision machining tools ranging from digital calipers to CNC machine tools.
Incremental encoders
With incremental linear encoders, the current position is determined by stating a datum and counting
measuring steps. The output signals of incremental rotary encoders are evaluated by an electronic counter in
which the measured value is determined by counting "increments". These encoders form the majority of all
rotary encoders. Incremental rotary encoders with integral couplings used for length measurement are also
in the market.
Absolute encoders
Absolute linear encoders require no previous transfer to provide the current position value. Absolute rotary
encoders provide an angular position value which is derived from the pattern of the coded disc. The code
signal is processed within a computer or in a numerical control. After system switch-on, such as following a
power interruption, the position value is immediately available. Since these encoder types require more
sophisticated optics and electronics than incremental versions, a higher price is normally to be expected.
Apart from these two codes, a range of other codes have been employed, though they are losing their
significance since modern computer programs usually are based on the binary system for reasons of high
speed. There are many versions of absolute encoders available today, such as single-turn or multi-stage
versions to name only two, and each must be evaluated based on its intended application.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
57
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
58
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 29
07‐Oct‐21
59
Roller screw
These types of screws provide backlash-free movement and their efficiency is same as that of ball screws. These are
capable of providing more accurate position control. Cost of the roller screws are more compared to ball screws. The
thread form is triangular with an included angle of 90 degrees. There are two types of roller screws: planetary and
recirculating screws.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
60
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 30
07‐Oct‐21
61
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
62
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 31
07‐Oct‐21
Tool turrets
An advantage of using tool turrets is that the time taken for tool changing will be only the time taken for
indexing the turret. Only limited number of tools can be held in the turret. The entire turret can be
removed from the machine for setting up of tools.
Figure Six station tool turret Figure Eight station tool turret FigureTwelve station tool turret
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
63
Tool magazines
Tool magazines are generally found on drilling and milling machines. When compared to tool turrets,
tool magazines can hold more number of tools and also more problems regarding the tool management.
Duplication of the tools is possible and a new tool of same type may be selected when ever a particular
tool has been worn off. Though a larger tool magazine can accommodate more number of tools, but the
power required to move the tool magazine will be more. Hence, a magazine with optimum number of
tool holders must be used. The following types of tool magazines exist: circular, chain and box type.
Chain magazine:
These magazines can hold large number of tools and may hold even up to 100 tools. Figures below
show chain magazines holding 80 and 120 tools respectively. In these chain magazines, tools will be
identified either by their location in the tool holder or by means of some coding on the tool holder. In
the former it is followed for identifying the tool and then the tool must be exactly placed in its location.
The positioning of the magazine for the next tool transfer will take place during the machining
operation.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
64
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 32
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
65
Circular magazine:
Circular magazines will be similar to tool turrets, but in the former the tools will be
transferred from the magazine to the spindle nose. Generally these will be holding about
30 tools. The identification of the tool will be made either by its location in the tool
magazine or by means of some code on the tool holder. The most common type of
circular magazine is known as carousel, which is similar to a flat disc holding one row
of tools around the periphery. Geneva mechanism is used for changing the tools.
Box magazine:
In these magazines, the tools are stored in open ended compartments. The tool holder
must be removed from the spindle before loading the new tool holder. Also the spindle
should move to the tool storage location rather than the tool to the spindle. Hence, more
time will be consumed in tool changing. Box magazines are of limited use as compared
to circular and chain type of tool magazines.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
66
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 33
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
67
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
68
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 34
07‐Oct‐21
69
Figure ON-line tool wear monitoring system Figure Graphical display of tool wear monitoring system
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
70
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 35
07‐Oct‐21
71
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
72
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 36
07‐Oct‐21
Automatic Jaw & Adaptable for a range of work-piece shapes and High cost of jaw/chuck changing automation. Resulting in a
chuck changing sizes more complex & higher cost machine tool
Indexing chucks Very quick loading and unloading of the workpiece Expensive optional equipment. Bar-feeders cannot be
can be achieved. Reasonable range of work piece incorporated. Short/medium length parts only can be
sizes can be loaded automatically incorporated. Heavy chucks.
Pneumatic/Magnetic chucks Simple in design and relatively inexpensive. Part Limited to a range of flat parts with little overhang. Bar-feeders
Figure automation is possible. No part distortion is caused cannot be incorporated. Parts on magnetic chucks must be
due to clamping force ferrous. Heavy cuts must be avoided.
Adaptable to automation. Heavy cuts can be taken. Jaws must be changed manually & bared, so slow part change-
Automatic Chucks with soft jaws
Individual parts can be small or large in diameter overs. A range of jaw blanks required.
Expanding mandrels & collets Long & short parts of reasonably large size
accommodated. Automation can be incorporated. Limitation on part shape. Heavy cuts should be avoided.
Clamping forces do not distort part. Simple in design
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
73
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
74
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 37
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
75
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
76
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 38
07‐Oct‐21
There are two main types of machine tools and the control systems required for use with them
differ because of the basic differences in the functions of the machines to be controlled. They are
known as point-to-point and contouring controls.
Some machine tools for example drilling, boring and tapping machines etc, require the cutter and
the work piece to be placed at a certain fixed relative positions at which they must remain while the
cutter does its work. These machines are known as point-to-point machines as shown in figure
22.1 (a) and the control equipment for use with them are known as point-to-point control
equipment. Feed rates need not to be programmed. In theses machine tools, each axis is driven
separately. In a point-to-point control system, the dimensional information that must be given to the
machine tool will be a series of required position of the two slides. Servo systems can be used to
move the slides and no attempt is made to move the slide until the cutter has been retracted back.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
77
Other type of machine tools involves motion of work piece with respect to the cutter while cutting
operation is taking place. These machine tools include milling, routing machines etc. and are
known as contouring machines as shown in figure 22.1 (b) and the controls required for their
control are known as contouring control.
Contouring machines can also be used as point-to-point machines, but it will be uneconomical to
use them unless the work piece also requires having a contouring operation to be performed on it.
These machines require simultaneous control of axes. In contouring machines, relative positions of
the work piece and the tool should be continuously controlled. The control system must be able to
accept information regarding velocities and positions of the machines slides. Feed rates should be
programmed.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
78
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 39
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
79
CNC lathes will be coming under 2 axes machines. There will be two axes along which motion
takes place. The saddle will be moving longitudinally on the bed (Z-axis) and the cross slide moves
transversely on the saddle (along X-axis). In 3-axes machines, there will be one more axis,
perpendicular to the above two axes. By the simultaneous control of all the 3 axes, complex surfaces
can be machined.
4 and 5 axes CNC machines provide multi-axis machining capabilities beyond the standard 3-axis
CNC tool path movements. A 5-axis milling centre includes the three X, Y, Z axes, the A axis which
is rotary tilting of the spindle and the B-axis, which can be a rotary index table.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
80
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 40
07‐Oct‐21
Reduced cycle time by machining complex components using a single setup. In addition to time savings, improved accuracy can also be
achieved as positioning errors between setups are eliminated.
Improved surface finish and tool life by tilting the tool to maintain optimum tool to part contact all the times.
•Improved access to under cuts and deep pockets. By tilting the tool, the tool can be made normal to the work surface and the errors
may be reduced as the major component of cutting force will be along the tool axis.
•Higher axes machining has been widely used for machining sculptures surfaces in aerospace and automobile industry.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
81
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
82
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 41
07‐Oct‐21
Based on the power supply ' Electric, Hydraulic & Pneumatic systems
Mechanical power unit refers to a device which transforms some form of energy to mechanical power
which may be used for driving slides, saddles or gantries forming a part of machine tool. The input power
may be of electrical, hydraulic or pneumatic.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
83
Electric systems:
Electric motors may be used for controlling both positioning and contouring machines. They may be
either a.c. or d.c. motor and the torque and direction of rotation need to be controlled. The speed of a
d.c. motor can be controlled by varying either the field or the armature supply. The clutch-controlled
motor can either be an a.c. or d.c. motor. They are generally used for small machine tools because of
heat losses in the clutches. Split field motors are the simplest form of motors and can be controlled in a
manner according to the machine tool. These are small and generally run at high maximum speeds and
so require reduction gears of high ratio. Separately excited motors are used with control systems for
driving the slides of large machine tools.
Hydraulic systems:
These hydraulic systems may be used with positioning and contouring machine tools of all sizes. These
systems may be either in the form of rams or motors. Hydraulic motors are smaller than electric motors
of equivalent power. There are several types of hydraulic motors. The advantage of using hydraulic
motors is that they can be very small and have considerable torque. This means that they may be
incorporated in servosystems which require having a rapid response.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
84
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 42
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
85
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
86
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 43
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
87
88
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 44
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
89
Bulk Memory
Central computer NC Programs
Telecommunication lines
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
90
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 45
07‐Oct‐21
Advantages of DNC:
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
91
92
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 46
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
93
Machine tool
.
Machine tool
DNC computer
(MCU)
(MCU)
(MCU)
(MCU)
Machine tool
(MCU)
94
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 47
07‐Oct‐21
DNC computer
Machine tool
Machine tool Machine tool Machine tool
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
95
Because CNC machine tools have the ability to run multiple programs without
being attached to a centralized computer this enables a centralized computer to
perform many different tasks.
– Line balancing
– Scheduling
– Monitoring
– Quality
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
96
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 48
07‐Oct‐21
Adaptive control
Improvements in CNC machine tools depend on the refinement of adaptive control,
which is the automatic monitoring and adjustment of machining conditions in response to
variations in operation performance. With a manually controlled machine tool, the
operator watches for changes in machining performance (caused, for example, by a dull
tool or a harder workpiece) and makes the necessary mechanical adjustments. An
essential element of NC and CNC machining, adaptive control is needed to protect the
tool, the workpiece, and the machine from damage caused by malfunctions or by
unexpected changes in machine behaviour. Adaptive control is also a significant factor in
developing unmanned machining techniques.
One example of adaptive control is the monitoring of torque to a machine tool’s spindle
and servomotors. The control unit of the machine tool is programmed with data defining
the minimum and maximum values of torque allowed for the machining operation. If, for
example, a blunt tool causes the maximum torque, a signal is sent to the control unit,
which corrects the situation by reducing the feed rate or altering the spindle speed.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
97
Adaptive control (AC) machining originated out of research in early 1990's sponsored by
U.S Air Force. The initial adaptive control systems were based on analog devices,
representing the technology at that time. Today adaptive control uses microprocessor
based controls and is typically integrated with an existing CNC system.
Adaptive control possesses attributes of both feedback control and optimal control. Like
a feedback system measurements are taken on certain process variables. Like an optimal
system, an overall measure of performance is used. In adaptive control, this measure is
called the index of performance (IP). The feature that distinguishes adaptive control from
other two types is that an adaptive system is designed to operate in a time varying
environment. It is not usual for a system to exist in environments that change over the
course of time.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
98
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 49
07‐Oct‐21
IDENTIFICATION FUNCTIONS
This involves determining the current performance of the process or system. Normally, the
performance quality of the system is defined by some relevant index of performance. The
identification function is concerned with determining the current value of this performance measure
by making use of the feedback data from the process. Since the environment will change overtime, the
performance of the system will also change. Accordingly the identification is one that must proceed
over time or less continuously. Identification of the system may involve a number of possible
measurements activities.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
99
DECISION FUNCTION
Once the system performance is determined, the next function is to decide how the control
mechanism should be adjusted to improve process performance. The decision procedure is
carried out by means of a pre-programmed logic provided by the designer. Depending upon the
logic the decision may be to change one or more of the controllable process.
MODIFICATION FUNCTION
The third AC function is to implement the decision. While the decision function is a logic
function, modification is concerned with a physical or mechanical change in the system. It is a
hardware function rather than a software function. The modification involves changing the
system parameters or variables so as to drive the process towards a more optimal state. The
process is assumed to be influenced by some time varying environment. The adaptive system
first identifies the current performance by taking measurements of inputs and outputs.
Depending on current performance, a decision procedure is carried out to determine what
changes are needed to improve system performance. Actual changes to the system are made in
the modification function.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
100
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 50
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
101
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
102
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 51
07‐Oct‐21
Machining Center
The term “machining center” describes almost any CNC milling and drilling machine that includes an
automatic tool changer and a table that clamps the workpiece in place. On a machining center, the
tool rotates, but the work does not. The orientation of the spindle is the most fundamental defining
characteristic of a CNC machining center.
The machining center, developed in the late 50’s is a machine tool capable of multiple machining
operations on a work part in one setup under NC program control.
There are a number of different types of machining centers differentiated by the number of
programmable axes.
103
Three Axis Machining Center: – A three axis machining center has programmable X and Y axes in the plane of the table
and a Z axis in the spindle’s direction. This is the most basic type of machining center, and they start at about $30,000.
Typically, three axis machines are in the vertical configuration shown here. Tool changer, control, and enclosure not
shown. With three axes, we can machine one surface of a cube with the end of the cutter and four additional surfaces with
the side of the cuter.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
104
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 52
07‐Oct‐21
Horizontal Three Axis Machine:- The illustration depicts a three axis horizontal machining center. Note the different
orientation of the X, Y, and Z axes. This type of machine starts at about $90,000. Again, the tool changer, control, and
enclosure are not shown. We can still only machine one surface of a cube with the end of the cutter and four additional
surfaces with the side of the cutter.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
105
Four Axis Machining Center: – Four axis machining centers are generally horizontal, and the table rotates to create the
forth axis. True four axis machines start around $100,000 We can also do this by adding a CNC controlled rotary table to a
three axis vertical machine, and this is commonly done for small parts. Frequently, a fixture called a tombstone (see sketch
later) is mounted on the table and many small parts machined at once on a large machine. We can machine four surfaces of
a cube with the end of the cutter and two additional surfaces with the side of the cutter.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
106
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 53
07‐Oct‐21
Five Axis Machining Center: – Be prepared to spend about $250,000 for a true five axis machine. Notice that it is very
similar to the four axis machine except the spindle rotates from horizontal to vertical. These machines are used to machine
complex parts and molds in the aerospace and automotive industries. We can machine five sides of a cube with the end of
the cutter and six sides with the side of the cutter. Besides complex geometry, we can often machine a part in one setup on
a five axis machine that would require two or more setups in a simpler machine. This results in a more accurate part.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
107
Machining Center with Pallet Changer: – Most machining centers can be fitted with a pallet changer to
increase productivity. On a plain machine, it sits idle while the operator removes the completed parts and loads
the fixture with new ones. With a pallet changer, the operator unloads and reloads one pallet while the machine
works on the other. This way, the machine continuously cuts parts.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
108
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 54
07‐Oct‐21
109
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
110
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 55
07‐Oct‐21
• It is always assumed that the tool moves relative to the work piece no matter
what the real situation is. The position of the tool is described by using a
Cartesian coordinate system. If (0,0,0) position can be described by the
operator, then it is called floating zero.
• Modal commands: Commands issued in the NC program that will stay in effect
until it is changed by some other command, like, feed rate selection, coolant
selection, etc.
• Nonmodal commands: Commands that are effective only when issued and
whose effects are lost for subsequent commands, like, a dwell command which
instructs the tool to remain in a given configuration for a given amount of time.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
111
112
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 56
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
113
• 'Word Address Format' in which each of the information or data to be input in the form
of numerical digits is preceded by a word address in the form of an English alphabet.
• N115 G81 X120.5 Y55.0 Z-12.0 R2.0 F150 M3
• Commonly Used Word Addresses
Addresses Meaning
F Feed rate command
G Preparatory function
M Miscellaneous command
N Sequence number
R Arc radius
S Spindle speed
T Tool number
X x-axis data
Y y-axis data
Z z-axis data
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
114
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 57
07‐Oct‐21
• Co-ordinate function
• As discussed above, the co-ordinates of the tool tip are programmed for
generating a given component geometry. The co-ordinate values are specified
using the word address such as X, Y, Z, U, V, W, I, J, K, etc.
• X123.405 Y-34.450
• Feed function: Generally the feed is designated in velocity units using the F
word address. For example, F150 means that the feed rate is specified as 150 mm
per minute. By using an appropriate G code, it is also possible to change the feed
rate units from mm per minute to mm per revolution or vice versa.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
115
• Speed function
• Most of the CNC machines would have the capability for the step less variation
spindle speeds, which is programmed using spindle speed word S. The speed can
be set directly in the revolutions per minute or RPM mode using the S word
address as follows:S1500 means, that spindle speed is to be set at 1500 rpm.
• Tool function
• The tool function is normally indicated by the word address T. This may have 2
or more digits depending upon the tool magazine capacity. Most general is 2
digits such as T15.
• Preparatory functions
• This is denoted by 'G'. It is a pre-set function associated with the movement of
machine axes and the associated geometry. As discusses earlier, it has two digits,
e.g. G01, G42, and G90 as per ISO specifications.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
116
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 58
07‐Oct‐21
(0,0,0) X
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
117
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
118
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 59
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
119
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
120
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 60
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
121
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
122
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 61
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
123
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
124
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 62
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
125
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
126
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 63
07‐Oct‐21
• Circular interpolation
• Two basic methods
• I. J. K. Method
• (G02,G03) Xx Yy Ii Jj Ff (on the XY plane)
• Radius method
• (G02,G03) Xx Yy Rr Ff (on the XY plane)
• IJK Method
• The I, J, K addresses are used to specify the distances from the start
of the arc to the arc center coordinates in XYZ directions.
• Radius Method
• Requires two entry parameters in the command the XYZ end point
of the arc and the radius R
• G02/G03 Xx Yy Zz Rr
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
127
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
128
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 64
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
129
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
130
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 65
07‐Oct‐21
• Dwell, G04
• This is to give a delay in the program. When the G04 code is encountered, the
controller stops at that particular point for a specified time mentioned in the block.
• N045 G04 X3.0This calls for a stoppage of the control for a period of 3 seconds.
• Positioning Systems
• G90 (modal)
• Use to specify the absolute positioning system
• All coordinates are based off a single origin in the work coordinates system
• G91 (modal)
• Use to specify the incremental positioning system
• The current tool position is taken as a reference point in the tool moves the
incremental distance given in the command
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
131
• Units
• G70: Used to specify inches as the unit of measurement
• G71: Use to specify millimeters as the unit of measurement
• These cannot be used in the same part program
• Absolute Zero Setting
• G92: Sets the absolute zero for the coordinates system
• G92 X Y Z
• Does not cause any tool motion
• Specifies the distance of the cutter in XYZ to the origin
• Ties the coordinates of the machine tool to the coordinates of the program
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
132
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 66
07‐Oct‐21
CORE TOOL
POCKET TOOL
G41 Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
G42
133
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
134
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 67
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
135
• Concept of CAP
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
136
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 68
07‐Oct‐21
137
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
138
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 69
07‐Oct‐21
• APT program
• The complete APT part program consists of the following four types of
statements: • Geometry • Motion • Post processor • Compilation control
• Geometry Commands
• These are POINT, LINE, CIRCLE, PLANE, VECTOR, PATERN, SPHERE,
TABCYL, etc.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
139
POINT: The point has three co-ordinates along X, Y and Z-axes. The Z coordinate when not specified is
taken as either zero or the prevailing Z surface definition.
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
140
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 70
07‐Oct‐21
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
141
y
(3, 4, 5)
PTA
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
142
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 71
07‐Oct‐21
LIN2
PTB
LIN1
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
143
• Passes through point (P5) and parallel to another line (L3) that has
been previously defined;
– L2 = LINE/P5, PARLEL, L3
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
144
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 72
07‐Oct‐21
P2
P1
LIN1
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
145
PT6
L4 (15, -30, 3)
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
146
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 73
07‐Oct‐21
PT3 L14
40°
PT1 L12
L16
PT4
40° 20°
15° x
L15
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
147
Circle
C1 = CIRCLE/ 3, 6, 5, 4.3
C1 = CIRCLE/ CENTER, PT3, RADIUS, 4.3
y
C1
4.3
PT3
(3,6,5)
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
148
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 74
07‐Oct‐21
y y
LN4
PT5
PT6 PT8
C3 C7
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
149
150
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 75
07‐Oct‐21
151
End of Module-II
Dr. Binay Kumar, Deptt. of Production and Industrial Engineering, BIT Mesra, Ranchi
152
Dr. Binay Kumar, Deptt. of Production and
Industrial Engineering, BIT Mesra, Ranchi 76