Computer Integrated Manufacturing Lab
Computer Integrated Manufacturing Lab
2019-2020
Vision
Mission
1. To push the frontiers of pedagogy amongst the students and develop new
paradigms in research.
VII Semester
ACADEMIC YEAR
2020 – 2021
NAM E OF THE STUDENT :
BATCH :
PREPARED BY
LABORATORY CERTIFICATE
This is to certify that Mr.
/Ms.__________________________________________ bearing
USN_________________ of __________semester and ________section has
satisfactorily completed the course of experiments in COMPTER
INTEGRATED MANUFACTURING LAB, code 18MEL76
prescribed by the Visvesvaraya Technological University, Belagavi of this
MARKS
Date:
Computer Integrated Manufacturing Lab 18MEL76
INDEX PAGE
Date
Name of the
Sl.N o
Experiment Submission of
Conduction Repetition
Record
Average
Instructions to students
Users of Computer Lab must follow the following instructions for smooth conductions of laboratory.
1. Wear always safety shoes when you operate any System. Sandals are not allowed at all.
4. Before operating any System, you must be aware of the Power switches.
7. Always Use the designated system provided to you, don’t change your system.
9. Switch off the system and Keep the chairs proper position, while leaving lab.
PREFACE
Computer Integrated Manufacturing (CIM) embodies three components essential to the
implementation of flexible design & manufacturing the means for information storage, retrieval,
manipulation and presentation, the mechanisms by which to sense state, and modify substance and
the methodologies by which to unite them. With the inception of Computer Integrated Manufacturing
(CIM) machine in manufacturing setup, precise and reliable machine with out human during the
machining process had enabled reduction in operational hazards and in job time through automated
machining and tool changing.
This manual gives the perception to build technical knowledge by acting as a guide for imparting
fundamental awareness. Numerous neatly drawn illustrations provided in the manual will help the
students in understanding the subject, and the concepts related it, better. Sincere attempts have been
made to present the contents in a simple language.
Vision
To be a center of excellence in Mechanical Engineering education and interdisciplinary
research to confront real world societal problems with professional ethics.
Mission
1. To push the frontiers of pedagogy amongst the students and develop new paradigms in
research.
2. To develop products, processes and technologies for the benefit of the society in collaboration
with industry and commerce.
3. To mould the young minds and build a comprehensive personality by nurturing strong
professionals with human ethics through interaction with faculty, alumni and experts from
academia/industry.
OBJECTIVES
CLO1: To expose the students to the techniques of CNC programming and cutting tool path
generation through CNC simulation software by using G-Codes and M-codes.
CLO2: To educate the students on the usage of CAM packages.
CLO3: To make the students understand the importance of automation in industries through
exposure to FMS, Robotics, and Hydraulics and Pneumatics.
OUTCOMES
The expected outcome of Computer Integrated Manufacturing and Automation lab is that the
students will be able
CLO1: Generate CNC Lathe part program for Turning, Facing, Chamfering, Grooving, Step turning,
Taper turning, Circular interpolation etc.
CLO2: Generate CNC Mill Part programming for Point to point motions, Line motions, Circular
interpolation, Contour motion, Pocket milling- circular, rectangular, Mirror commands etc.
CLO3: Use Canned Cycles for Drilling, Peck drilling, Boring, Tapping, Turning, Facing, Taper
turning thread cutting etc.
CLO4: Simulate Tool Path for different Machining operations of small components using CNC Lathe
& CNC Milling Machine.
CLO5: Use high end CAM packages for machining complex parts; use state of art cutting tools and
related cutting parameters; optimize cycle time.
CLO6: Understand & write programs for Robot control; understand the operating principles of
hydraulics, pneumatics and electro pneumatic systems. Apply this knowledge to automate &
improve efficiency of manufacturing.
SYLLABUS
PART-A
Manual CNC part programming for 2 turning and 2 milling parts. Selection and assignment of tools,
correction of syntax and logical errors, and verification of tool path.
CNC part programming using CAM packages. Simulation of Turning, Drilling, Milling operations
3 typical simulations to be carried out using simulation packages like: Cadem CAMLab-Pro,
Master- CAM.
Program generation using software. Optimize spindle power, torque utilization, and cycle time.
Generation and printing of shop documents like process and cycle time sheets, tool list, and tool
layouts. Cut the part in single block and auto mode and measure the virtual part on screen. Post
processing of CNC programs for standard CNC control systems like FANUC, SINUMERIC and
MISTUBISHI.
PART-B
CONTENTS
Chapter-1 01- 12
Chapter-2 13- 23
TURNING EXERCISE
1 Turning Exercise 1 24
2 Turning Exercise 2 26
3 Turning Exercise 3 28
4 Turning Exercise 4 30
5 Turning Exercise 5 32
6 Turning Exercise 6 34
7 Turning Exercise 7 36
MILLING EXERCISE
8 Milling Exercise 1 38
9 Milling Exercise 2 40
10 Milling Exercise 3 42
11 Milling Exercise 4 44
12 Milling Exercise 5 46
13 Milling Exercise 6 48
14 Milling Exercise 7 50
Chapter-1
INTRODUCTION
When the job changes the program of instruction is changed. This capability will change program for
each new job is what gives NC flexibility.
Ex: GOO XO YO ZO
1) Point to point
It is also sometimes called positioning system. In point to point the objective of the machine tool
control system is to the cutting to pre defined location once the tool reaches the defined location the
machining operation is performed at that position.
EX: NC drill presses.
2) Straight cut NC
Straight cut control system is capable of moving the cutting tool, parallel to one of the major axes at
controlled rate suitable for machining. It is therefore appropriate for performing milling operation to
fabricate work piece of rectangular configurations.
2) Contouring: The continuous-path control system is also known as the contouring system. It
involves simultaneous motion control of two or more axes. The contouring system is more complex
because each axis of motion requires separate position and velocity loops. The contouring along a
predefined tool path is implemented by means of interpolation, in which the system generates a set
of intermediate data points between given coordinate positions.
• Process Planning
• Part Programming
• Part Program entry
• Proving the part program
• Production
A) PROCESS PLANNING
The part programmer will often carry out the task of process planning. Process planning is the
procedure of deciding what operations are to be done on the component, in what order, and with what
tooling and work holding facilities. Both the process planning and part programming aspects of
manufacture occur after the detail drawings of a component have been prepared. The following
procedure may be used as a guide to assist the programmer, by describing each step required in
preparing the method of production.
PROCESS PLANNING
Receive the part drawing from part drawing information, check suitability of part
to be machined against the machine capacity.
Determine a method of driving the component (chuck type, chuck size, type of
jaw) and the method of machining.
Determine the tooling required to suit the method of machining and utilize as
much as possible the tools which are permanently in the turret set upon the
machine.
B) PART PROGRAMMING
After completing the planning sheet, draw the component showing the cutter paths
(a simple sketch is sufficient for simple components)
Select a component datum and carryout the necessary calculations at slopes and
arcs.
Prepare tooling layout sheet showing tools to be used in the program and indicate
the station number for each tool.
Indicate the ordering code for each tool and grade and type of inserts to be used.
A typical dialogue from the machine would be as follows for the operator to identify such
things as:
- Material to be cut
- Surface roughness tolerance
- Machined shape required
- Size of the raw material blank
- Machining allowances, cut
directions
The operator may then examine and prove the program via computer graphics simulation on the
console VDU. After this, the program is stored or punched on tape. Although there is some sacrifice
in machine utilization, actual programming time is minimal and much tedious production engineering
work is eliminated.
2) Direct Numerical Control: The process of transferring part programs into memory of a CNC
machine tool from a host computer is called Direct Numerical Control or DNC
- Visual inspection
- Single step execution
- Dry run
- Graphical simulation.
Visual Inspection: It represents the method of checking visually the program present in the memory
of the CNC machine. In this, actual program is run and the programmed movements in all axes are
to be checked along with ensuring the tool offset and cutter compensation feature. This method
represents the least form of verification and should not be relied up on entirely.
Single Step Execution: Before auto-running the part program it should be executed in a step mode
i.e. block by block. During this execution, spindle speed and feed rate override facilities are to be
used so that axes movement can be easily monitored. This operation may be carried out with or
without mounting the component on the machine.
Dry run: A dry run consists of running the part program in auto-mode. During this, the component
is not installed on the machine table and the cutting is done in air. The purpose of this run is to verify
the programmed path of the tool under continuous operation and to check whether adequate clearance
exist between the clamping arrangement and other projections within the set up. Feed rate override
facilities are used to slow down the speed of execution of the program.
Graphical simulation: A graphical simulation package emulates the machine tool and, using
computer graphics, plots out the machine movements on a VDU screen. Machine movement often
takes the form a cutting tool shape moving around the screen according to the programmed
movements. When the tool shape passes over a shaded representation of the component, it erases that
part of the component. The resulting shape, lest after the execution represents the shape of the finished
component. Any gross deviations from the intended tool path can be observed and any potential
interference can be highlighted.
The three axes are identified by upper case X, Y and Z and the direction 0 movement along each
axis is specified as either PLUS (+) or MINUS (-). The Z-axis is: always parallel to the main
spindle of the machine. The X-axis is always parallel to tilt work-holding surface, and always at
right angles to the Z-axis. The Y-axis is at right angle to both Z and X-axis. The Coordinate
System for turning operations is shown in Fig. 1.
The coordinate system for designating the axes is the conventional “Right Hand Coordinate
System” as shown in Fig.2. A labeling of the axes is a right hand coordinate system whenever the
fingers of the fight hand are aligned with the positive X axis and are then rotated (through the smaller
angle) toward the positive Y axis, then the thumb of the right hand points in the direction of the
positive Z axis. Otherwise, the orientation is a “Left Hand Coordinate System”.
The right hand coordinate system is also known as “Clockwise Rotating Coordinate System”. The
reason for this is the sequence of the axis definitions if the X-axis is rotating in the direction of the
Y-axis, the movement is the same as if a screw is turned in the Z direction as shown in Fig.3.
One could use his right hand to get these alternative relative positions of the same right hand coordinate system
as shown in Fig.4
Longitudinal
Vertical
Transverse
Each plane is assigned a letter and is referred to as an axis, i.e,
Axis X
Axis Y
Axis Z
The three axes are identified by upper case X, Y and Z and the direction of movement along each
axis is specified as either ‘+’ or ‘-‘. The Z axis is always parallel to the main spindle of the machine.
The X axis is always parallel to the work holding surface, and always at right angles to the Z axis.
The Y axis is at right angles to both Z and X axis. Figure shows the coordinate system for milling.
Department of Mechanical Engineering, Page 15
Atria Institute of Technology
Computer Integrated Manufacturing Lab 18MEL76
Machine zero point (M): is specified by the manufacturer of the machine. This is the zero point for
the coordinate systems & reference points in the machine. On turning lathes, the machine zero point
as shown in F/G.6 & FIG.7 is generally at the center of the spindle nose face. The main spindle axis
(center line) represents the Z-axis; the face determines the X-axis. The directions of the positive X
and Z-axis point toward the working area. When the tool traverses in the positive direction, it moves
away from the workpiece
Reference Point (R): This point serves for calibrating and for controlling the measuring system of
the slides and tool traverses. The position of the reference point as shown in FIG.8 is accurately
predetermined every traverse axis by the trip dogs and limit switches Therefore, the reference point
coordinates always have the same, precisely known numerical value in relation to the machine zero
point. After initiating the control system, the reference point must always be approached from all
axes to calibrate the traverse measuring system. If current slide and tool position data should be lost
in the control system as, for example, through an electrical failure. The machine must again be
positioned to the reference point to re-establish the proper positioning values.
Workpiece Zero Point (W): This point determines the workpiece coordinate system in relation to
the machine zero point. The workpiece zero point is chosen by the programmer and input into the
CNC system when setting up the machine. The position of the workpiece zero point can be freely
chosen by the programmer within the workpiece envelope of the machine. It is, however, advisable
Department of Mechanical Engineering, Page 17
Atria Institute of Technology
Computer Integrated Manufacturing Lab 18MEL76
to place the workpiece zero point in such a manner that the dimensions in the workpiece drawing can
be conveniently converted into coordinate values and orientation when damping/chucking, setting up
and checking, the traverse measuring system can be effected easily. For turned parts, the workpiece
zero point should be placed along the spindle axis (center line), in line with the right-hand or left-
hand end face of the finished contour as shown in FIG.9. Occasionally, the workpiece zero point is
also called the “Program Zero Point”.
Tool Point: Which machining a workpiece, it is essential to able to control the tool point or the tool
cutting edges in precise relationship to the workpiece along the machining path Since tools have
different shapes and dimensions, precise tool dimensions have to be established beforehand and input
into the control system. The tool dimensions arc related to a fixed tool setting point during pre-setting.
The tool selling point .E is located at a certain point on the tool holder as shown in Fig. 10. This
setting point permits measuring of tools away from the CNC machine. The data thus measured such
as tool length, tool point offset or tool radius is input into the tool data storage (memory) or the control
system. The mate of the tool setting point is the Socket point N on the tool carrier. When the tool or
tool holder is inserted into the tool carrier (e.g., turret), the setting point and the tool socket point
coincide.
NC Related Dimensioning:
Dimensional information in a workpiece drawing can be stated in two ways: Absolute Dimension
System and Incremental Dimension System.
Absolute Dimension System: Data in absolute dimension system always refer to a fixed reference
point in the drawing as shown in Fig.11. This point has the function of a coordinate zero point as
shown in Fig. 12. The dimension lines run parallel to the coordinate axes and always start at the
reference point. Absolute dimensions are also called as “Reference Dimensions”
2. Possibility of easily changing the dimensional data in the part program whenever require
3. When describing contours and positions, it is always preferable to employ absolute dimensions,
because the first incorrect dimensioning of an individual point has no effect on the remaining
dimensions & the absolute system is easier to check for error
Department of Mechanical Engineering, Page 19
Atria Institute of Technology
Computer Integrated Manufacturing Lab 18MEL76
CHAPTER 2
CNC PRAGRAMMING
NC Program Buildup:
Table. 1: Address Characters
CHARACTER MEANING
A,B,C Co-ordinate axis move command
F Feed
G Preparatory function, identifying the action to be executed
I,J,K Co-ordination for arc center
M Auxiliary function
N Block number/Sequence Number
S Spindle speed
T Tool
U, V, W Second movement parallel to X, Y, Z axes respectively.
X Movement in X-axis
Y Movement in Y-axis
Z Movement in Z-axis
O Program
P Subprogram
L Number of Subprogram repetitions
In an NC program, the machining steps (operations) for producing a part on the machine tool are laid down in
a form that the control system can understand. A program is composed of several blocks. A block is a collection
of NC words
M Codes are instructions describing machine functions such as calling the tool, spindle rotation,
coolant on, door close/open etc.
M CODES
M00 Program Stop
M08 Coolant On
M01 Optional Stop: Cycle operation is stopped after a block containing MO1 is executed. This code is only
effective when the optional stop switch on the machine control panel has been pressed. Example: M01
M02 Program End: This code is inserted at the end of the program. When encountered the cycle will encl.
To produce another the system must be reset.
Example: M02
M03 Spindle Forward: Starts the spindle spinning forward, clockwise or negative direction at the last
specified spindle rate. Example: M03 5120
M04 Spindle Reverse: Starts the spindle spinning reverse, counter clockwise of positive direction at the last
specified spindle rate. Example: M04 51000
M05 Stop Spindle: Stops the spindle without changing the spindle speed. Example: MOS
M06 Tool Change: The M06 in conjunction with “T” WORD, is used to can up the required tool on an
automatic indexing turret machine, and to activate its tool offsets. The left most digit of the “T” ignoring zeros
selects the new tool. Tool changes are normally performed with the tool post at a safe position away from the
workpiece, so the code G28 REFERENCE POINT RETURN would be used in the block prior to M06.
G04 Dwell
G20 Inch Data Input
Note on G02/G03:
10 and K0 can be omitted.
If X (U) all Z (W) are both omitted or if the end point is located at the same position as the start point, and
when the center is commanded by I & K, an arc of 360 (q complete circle) is assumed.
If I, K & R addresses are specified simultaneously the arc specified by address R lakes precedence and the
others are ignored.
G04 DWELL
Description Illustration
A G04 causes the program to wait for a specified amount of time. The time can
be specified in seconds with the “X” or “U” prefixes or in milliseconds with the G04 X 1.5
“p” prefix. During cutter motion the NC controller usually applies a deceleration G04 U 1.5
at the end of the motion specified by one statement and acceleration at the start G04 P 1500
of the motion specified by the next statement. A G04 code can be inserted
between the two statements to make a sharp comer.
G20 Imperial: A G20 causes position to be as being in imperial units. All the input values are in inches. This
can only be at the start of the main program.
G21 Metric: A G21 causes positions to be interpreted as being in metric units. All the input values are in nun.
Description Illustration
A G28 causes a fast traverse 10 the specified, position and then to the machine G28 X35 Z5
datum G28 DO WO
Compensate Function:
Description: Tool offset is used to compensate for the difference when the tool actually used differs from the
imagined tool used in programming (usually, standard tool), During programming, a four digit number is
programmed following the letter T, the first two digits represent toe Tool number, and the second two digits
represents the Tool offset number. Fig.18 illustrate the concept of Tool offsets
Tool Geometry Offset & Tool Wear Offset: With the option of tool geometry and wear compensation, it is
possible to divide the tool offset for compensating the tool shape or mounting position to the geometry offset,
& tool wear to the wear offset. The total value of the tool geometry offset and tool wear offset are set as the
tool offset value if the tool geometry and wear compensation option is not equipped Fig's. 19 & 20 illustrate
the method of differentiation of tool geometry offset from tool wear offset
G CODES
G04 Dwell
M Codes are instructions describing machine functions such as calling the tool, spindle rotation,
coolant on, door close/open etc.
M CODES
M08 Coolant on
M70 X mirror On
M71 Y mirror On
Sub program: If a program consists of sequence or frequently repeated pattern, such a sequence
or Pattern can be stored as a sub program is ------------ to simplify the program. A sub program can
be called from the main program.
Canned cycles are set of programmed instruction that eliminate the need for many lines of
programming. Canned cycles or fixed cycles are used to simplify the programming of repetitive
turning operations such as rough turning, grooving and threading.
A finishing feed rate can also be included in this block. Like the roughing cycle, the tool needs to be
positioned to stock boundary with Z clearance prior to the calling of the G70 finishing cycle. When
the cycle G70 is terminated the tool is returned to the start point and the next block is real
This cycle is used to cut the groove of varying widths. To use the turning cycle (vertical), the tool
must be positioned to the start of the groove prior to calling. During cutting operation, the tool moves
perpendicular to the axis or rotation. The general for of the turning cycle vertical is
ns = Block or line number the designates the start of the part profile
nf = Block or line number the designates the end of the part profile
U = Amount of stock to be left on the X- Axis for finishing
W = Amount of stock to be left on the Z- Axis for finishing
D = Depth of cut per pass
F = Feed rate
R = Distance by which the tool will be with drawn from the part for the return pass
Chapter-3
CAM - EXERCISES
TURNING EXERCISE
EXERCISE - 1
Write the NC part program to turn the work piece as shown in figure with the use FANUC controller.
The diameter of the stock is 50mm.
% TURNING
O001
N10 G90 G21
N20 T01
N30 G27 X100 Z100
N40 G96 G94 S100 M03 M08 F10
N50 G00 X50 Z5
N60 G71 P70 Q100 U1.0 W1.0 D1.0 R2.0
N70 G00 X25
N80 G01 Z-20
N90 X40 Z-60
N100 Z-80
N110 G70 P70 Q100 S200 F5.0
N120 G27 X100 Z100
N130 M30
EXERCISE -2
Write the NC part program to turn the work piece as shown in figure with the use FANUC controller.
The diameter of the stock is 50mm
% TURNING
0002
N10 G90 G21
N20 T01
N30 G27 X100 Z100
N40 G96 G94 S100 M03 M08 F10
N50 G00 X50 Z5
N60 G71 P70 Q120 U1.0 W1.0 D1.0 R1.0
N70 G00 X20
N80 G01 Z0
N90 X30 Z-20
N100 Z-55
N110 G02 X40 Z-60 I5 K0
N120 G01 Z-80
N130 G70 P70 Q120 S200 F5.0
N140G27 X100 Z100
N150 M30
EXERCISE -3
Write the NC part program to turn the work piece as shown in figure with the use FANUC controller.
The diameter of the stock is 70mm
O003
N10 G90 G21
N20 T01
N30 G27 X100 Z100
N40 G96 G94 S100 M03 M08 F10
N50 G00 X70 Z5
N60 G71 P70 Q120 U1.0 W1.0 D1.0 R2.0
N70 G00 X0
N80 G01 Z0
N90 G03 X40 Z-20 I0 K-20
N100 G01 Z-50
N110 G02 X60 Z-60 I10 K0
N120 G01 Z-100
N130 G70 P70 Q120 S200 F5.0
N140 G27 X100 Z100
N150 T02
Department of Mechanical Engineering, Page 35
Atria Institute of Technology
Computer Integrated Manufacturing Lab 18MEL76
The Grooving cycle is used to cut grooving of varying width. To use the grooving cycle , the tool
must be positioned to the start the groove prior to calling the grooving cycle. The general form of
grooving cycle is
EXERCISE -4
Write the NC part program to turn the work piece as shown in figure with the use FANUC
controller. The diameter of the stock is 60mm
O005
N10 G90 G21
N20 T01
N30 G27 X100 Z100
N40 G96 G94 S100 M03 M08 F10.0
N50 G00 X60 Z5
N60 G71 P70 Q100 U1.0 W1.0 D1.0 R1.0
N70 G00 X0
N80 G01 Z0
N90 G03 X50 Z-25 T0 K-25
N100 G01 Z-145
N110 G70 P70 Q100 S200 F50
N120 G27 X100 Z100
N130 T02
N140 G00 X60 Z-55
N150 G87 R2 X25 Z-115 U0 W0 P1 Q1 F5
N160 G01 X50
N170 X25 Z-75
N180 Z-95
N190 X50 Z-115
N200 G27 X100 S200
N210 M30
The G76 thread cutting cycle can cut multi pass threads with one block of information. The control
will automatically calculate the correct number of The general form of the thread cutting cycle is,
EXERCISE -5
Write the NC part program to turn the work piece as shown in figure with the use FANUC
controller. The diameter of the stock is 60mm
O0012
N10 G90 G21
N20 T01
N30 G27 X100 Z100
N40 G96 G94 S100 M03 M08 F10.0
N50 G00 X60 Z5
N60 G71 P70 Q100 U1.0 W1.0 D1.0 R2.0
N70 G00 X30
N80 G01 Z-50
N90 X50
N100 Z-100
N110 G70 P70 Q100 S200 F5.0
N120 G27 X100 Z100
N130 T02
N140 G00 X60 Z-34
N150 G72 P160 Q180 U0.0 W0.0 D1.0 R2.0
N160 G01 X20
N170 Z-50.0
N180 X50
N190 G27 X100 Z100
N200 G97
N210 T03
Department of Mechanical Engineering, Page 39
Atria Institute of Technology
Computer Integrated Manufacturing Lab 18MEL76
EXERCISE -6
Write the NC part program to turn the work piece as shown in figure with the use FANUC controller.
The diameter of the stock is 70mm
The peck drilling cycle will peck drill holes with automatic retract and incremental depth of cut.
The general form of the peck drilling cycle is
EXERCISE -7
Write NC manual part program to turn the work piece as shown in fig. Then drill a 12 mm diameter
hole at the center to a depth of 20mm. Take the diameter as 80mm.
Drill Cycle
The most commonly used cycle to drill a hole is G81 canned drilling cycle. The Z position is very
important when we call the canned cycle. The machine will normally rapid back to the Z initial
position before a rapid to the next hole. The general form of the drill cycle is
MILLING EXERCISE
EXERCISE -1
Write the NC program to mill the profile of the part shown in figure. The stock is 160X160X10mm.
EXERCISE -2
Write the NC program to perform the following operations.
(i)Mill the profile 10mm deep.
(ii)Drill 10mm diameter holes at 3 places as shown in figure.
The stock is 160X160X10mm.
O222
N140 G91 G01 Z-4 R5 F10
N150 G90 G01 X0 Y0
N160 X0 Y50
N170 G02 X50 Y100 I50 J0
N180 G01 X100 Y100
N190 G01 X100 Y50
N200 G01 X50 Y0
N210 G01 X0 Y0
N220 M99
EXERCISE -3
(3) Write the NC program to perform the following operations.
(i)Mill the profile 10mm deep.
(ii)Drill 10mm diameter holes at 5 places as shown in figure. Take stock size as 285X160X10mm. 5
Holes 10mm deep.
N150M30
O123
N160 G91 G01 Z-4 R5 F10
N170 G90 G01 X75 Y0
N180 X0 Y50
N190 Y100
N200 X75 Y150
N210 X200
N220 G02 Y0 J-75
N230 G01 X75
N240 M99
EXERCISE -4
Write the NC program to perform the following operations.
(i) Mill the profile 10mm deep.
(ii) Drill 10mm diameter holes at 6 places as shown in figure.
O333
N170 G91 G01 X0 Y0 Z-2 F40
N180 G90 G01 X20 Y0
N190 G03 X0 Y20 I-20 J0
N200 G01 X0 Y55
N210 G02 X20 Y75 I20 J0
N220 G01 X80 Y75
N 230 G02 X100 Y55 I0 J-20
N240 G01 X100 Y20
N250 G03 X80 Y0 J-20
N260 G01 X20 Y0
N270 M99
EXERCISE -5
Write the NC program to perform the following operations.
(i) Mill the profile 10mm deep.
(ii) Drill 10mm diameter holes at 3 places as shown in figure.
EXERCISE -6
Write the NC program to perform the following operations.
(i) Mill the profile 10mm deep.
(ii) Drill 10mm diameter holes at 4 places as shown in figure.
N240 M99
EXERCISE -7
Write the NC program to perform the following operations.
(i) Mill the profile 10mm deep.
(ii) Drill 10mm diameter holes at 2 places as shown in figure.
Chapter-5
FLEXIBLE MANUFACTURING SYSTEMS (FMS)
Introduction
In the middle of the 1960s, market competition became more intense. During 1960 to 1970 cost was
the primary concern. Later quality became a priority. As the market became more and more complex,
speed of delivery became something customer also needed. A new strategy was formulated:
Customizability. The companies have to adapt to the environment in which they operate, to be more
flexible in their operations and to satisfy different market segments (customizability). Thus the
innovation of FMS became related to the effort of gaining competitive advantage. First of all, FMS
is a manufacturing technology.
Secondly, FMS is a philosophy. "System" is the key word. Philosophically, FMS incorporates a
system view of manufacturing. The buzz word for today’s manufacturer is "agility". An agile
manufacturer is one who is the fastest to the market, operates with the lowest total cost and has the
greatest ability to "delight" its customers. FMS is simply one way that manufacturers are able to
achieve this agility.
An MIT study on competitiveness pointed out those American companies spent twice as much on
product innovation as they did on process innovation. Germans and Japanese did just the opposite. In
studying FMS, we need to keep in mind what Peter Drucker said: "We must become managers of
technology not merely users of technology". Since FMS is a technology, well adjusted to the
environmental needs, we have to manage it successfully.
Machine flexibility - the ease with which a machine can process various operations
Material handling flexibility - a measure of the ease with which different part types can be
transported and properly positioned at the various machine tools in a system
Operation flexibility - a measure of the ease with which alternative operation sequences can
be used for processing a part type
Product flexibility - the volume of the set of part types that can be manufactured in a system
with minor setup
Program flexibility - the ability of a system to run for reasonably long periods without external
intervention
Production flexibility - the volume of the set of part types that a system can produce without
major investment in capital equipment
Market flexibility - the ability of a system to efficiently adapt to changing market conditions
Today’s manufacturing strategy is to seek benefits from flexibility. This is only feasible when a
production system is under complete control of FMS technology. Having in mind the Process-
Product Matrix you may realize that for an industry it is possible to reach for high flexibility by
making innovative technical and organizational efforts. See the Volvo’s process structure that makes
cars on movable pallets, rather than an assembly line. The process gains in flexibility. Also, the Volvo
system has more flexibility because it uses multi-skill operators who are not paced by a mechanical
line.
So we may search for benefits from flexibility on moving to the job shop structures. Actually, the
need is for flexible processes to permit rapid low cost switching from one product line to another.
This is possible with flexible workers whose multiple skills would develop the ability to switch easily
from one kind of task to another. As main resources, flexible processes and flexible workers would
create flexible plants as plants which can adapt to changes in real time, using movable equipment,
knockdown walls and easily accessible and re-routable utilities.
The idea of an FMS was proposed in England (1960s) under the name "System 24", a flexible
machining system that could operate without human operators 24 hours a day under computer control.
From the beginning the emphasis was on automation rather than the "reorganization of workflow".
Early FMSs were large and very complex, consisting of dozens of Computer Numerical Controlled
machines (CNC) and sophisticate material handling systems. They were very automated, very
expensive and controlled by incredibly complex software. There were only a limited number of
industries that could afford investing in a traditional FMS as described above. Currently, the trend in
FMS is toward small versions of the traditional FMS, called flexible manufacturing cells (FMC).
Today two or more CNC machines are considered a flexible cell and two ore more cells are considered
a flexible manufacturing system.
Thus, a Flexible Manufacturing System (FMS) consists of several machine tools along with part and
tool handling devices such as robots, arranged so that it can handle any family of parts for which it
has been designed and developed.
Example : Two FMCs, a FMM and two AGVs which will transport parts from a Part Loading area,
through machines, to a Part Unloading Area;
Example : A FMG and a FAC, two AGVs, an Automated Tool Storage, and an Automated
Part/assembly Storage;
Advantages
Faster, lower- cost changes from one part to another which will improve capital utilization
Lower direct labor cost, due to the reduction in number of workers
Reduced inventory, due to the planning and programming precision
Consistent and better quality, due to the automated control
Lower cost/unit of output, due to the greater productivity using the same number of workers
Savings from the indirect labor, from reduced errors, rework, repairs and rejects
Disadvantages
Limited ability to adapt to changes in product or product mix (ex. machines are of limited
capacity and the tooling necessary for products, even of the same family, is not always feasible
in a given FMS)
Substantial pre-planning activity
Expensive, costing millions of dollars
Technological problems of exact component positioning and precise timing necessary to
process a component
Sophisticated manufacturing systems
FMSs complexity and cost are reasons for their slow acceptance by industry. In most of the cases
FMCs are favored.
Robot Programming: The methods used for development of robot programs or more generally called
as teaching a robot is as follows
Department of Mechanical Engineering, Page 62
Atria Institute of Technology
Computer Integrated Manufacturing Lab 18MEL76
1. Lead by nose
2. Tech pendant
3. Offline programming
7. Robot programming
INTRODUCTION Robots are devices that are programmed to move parts, or to do work with a tool.
Robotics is a multidisciplinary engineering field dedicated to the development of autonomous
devices, including manipulators and mobile vehicles.
There are three basic methods for programming industrial robots but currently over 90% are
programmed using the teach method.
Teach Method
The logic for the program can be generated either using a menu based system or simply using a text
editor but the main characteristic of this method is the means by which the robot is taught the
positional data. A teach pendant with controls to drive the robot in a number of different co-ordinate
systems is used to manually drive the robot to the desired locations.
These locations are then stored with names that can be used within the robot program. The co-ordinate
systems available on a standard jointed arm robot are :-
Joint Co-ordinates
Global Co-ordinates
The tool centre point of the robot can be driven along the X, Y or Z axes of the robots global axis
system. Rotations of the tool around these axes can also be performed
Tool Co-ordinates
Similar to the global co-ordinate system but the axes of this one are attached to the tool centre point
of the robot and therefore move with it. This system is especially useful when the tool is near to the
work piece.
With many robots it is possible to set up a co-ordinate system at any point within the working area.
These can be especially useful where small adjustments to the program are required as it is easier to
make them along a major axis of the co-ordinate system than along a general line. The effect of this
is similar to moving the position and orientation of the global co-ordinate system.
Department of Mechanical Engineering, Page 63
Atria Institute of Technology
Computer Integrated Manufacturing Lab 18MEL76
This method of programming is very simple to use where simple movements are required. It does
have the disadvantage that the robot can be out of production for a long time during reprogramming.
While this is not a problem where robots do the same task for their entire life, this is becoming less
common and some robotic welding systems are performing tasks only a few times before being
reprogrammed.
Lead Through
This system of programming was initially popular but has now almost disappeared. It is still however
used by many paint spraying robots. The robot is programmed by being physically moved through
the task by an operator. This is exceedingly difficult where large robots are being used and sometimes
a smaller version of the robot is used for this purpose. Any hesitations or inaccuracies that are
introduced into the program cannot be edited out easily without reprogramming the whole task. The
robot controller simply records the joint positions at a fixed time interval and then plays this back.
Off-line Programming
Similar to the way in which CAD systems are being used to generate NC programs for milling
machines it is also possible to program robots from CAD data. The CAD models of the components
are used along with models of the robots being used and the fixturing required. The program structure
is built up in much the same way as for teach programming but intelligent tools are available which
allow the CAD data to be used to generate sequences of location and process information. At present
there are only a few companies using this technology as it is still in its infancy but its use is increasing
each year. The benefits of this form of programming are:-Reduced down time for programming.
Programming tools make programming easier. Enables concurrent engineering and reduces product
lead time. Assists cell design and allows process optimization.
Chapter-6
PART C
A hydraulic system
A suitable hydraulic system is shown in Figure. The system requires a liquid fluid to operate:
expensive and messy and, consequently, the piping must act as a closed loop, with fluid transferred
from a storage tank to one side of the piston, and returned from the other side of the piston to the
tank. Fluid is drawn from the tank by a pump which produces fluid flow at the required 150 bar. Such
high pressure pumps, however, cannot operate into a dead end load as they deliver constant volumes
of fluid from input to output ports for each revolution of the pump shaft. With a dead-end load, fluid
pressure rises indefinitely, until a
pipe or the pump itself fails. Some form of pressure regulation, as shown, is therefore required to spill
excess fluid back to the tank.
Figure 5.1 shows how a two-position, three-way, manually actuated, spring-offset directional control
valve (DCV) can be used to control the operation of a single acting cylinder. In the spring-offset
Department of Mechanical Engineering, Page 65
Atria Institute of Technology
Computer Integrated Manufacturing Lab 18MEL76
mode, full pump flow goes to the tank via the pressure relief valve. The spring in the rod end of the
cylinder retracts the piston as oil from the blank end drains back to the tank. When the valve is
manually actuated into its left envelope flow path configuration, pump flow extends the cylinder. At
full extension, pump flow goes through the relief valve. Deactivation of the DCV allows the cylinder
to retract as the DCV shifts into -its spring-offset mode.
Figure 5.2 gives a circuit used to control a double acting hydraulic cylinder. The operation is
described as follows:
1) When the four-way valve is in its spring-centered position, the cylinder is hydraulically locked.
Also the pump is unloaded back to the tank at essentially atmospheric pressure.
2) When the four-way valve is actuated into the flow path configuration of the left envelope, the
cylinder is extended against its load force Fload as oil flows from port P through port A. Also, oil in
the rod end of the cylinder is-free to flow back to
the tank via the four-way valve from port B through port T. Note that the cylinder could not extend
if this oil were not allowed to leave the rod end of the cylinder.
3) When the four-way valve is deactivated, the spring-centered envelope prevails, and the cylinder is
once again hydraulically locked.
4) When the four-way valve is actuated into the right envelope configuration, the cylinder retracts as
oil flows from port P through port B. Oil in the blank end is returned to the tank via the flow path
from port A to port T.
5) At the end of the stroke, there is no system demand for oil. Thus, the pump flow goes through the
relief valve at its pressure-level setting unless the four way valve is deactivated. In any event, the
system is protected from any cylinder overloads.
A pneumatic system
Figure shows the components of a pneumatic system. The basic actuator is again a cylinder, with
maximum force on the shaft being determined by air pressure and piston cross sectional area.
Operating pressures in pneumatic systems are generally much lower than those in a hydraulic
systems; 10 bar being typical which will lift 10 kg cm-2 of piston area, so a 16 cm diameter piston is
required to lift the 2000 kg load specified in the previous section. Pneumatic systems therefore require
larger actuators than hydraulic systems for the same load. The valve delivering air to the cylinder
operates in a similar way to its hydraulic equivalent. One notable difference arises out of the simple
fact that air is free; return air is simply vented to atmosphere.
Chapter-7
VIVA QUESTIONS