CIM and Automation Lab: Department of Mechanical Engineering
CIM and Automation Lab: Department of Mechanical Engineering
1 D/F
Name :____________________________________
USN :____________________________________
Approved by:
Dr. Pradeep K Mohan
Dept. of ME
Channabasaveshwara Institute of Technology
(An ISO 9001:2008 Certified Institution)
NH 206 (B.H. Road), Gubbi, Tumkur 572 216.Karnataka.
CNC part programming using CAM packages. Simulation of Turning, Drilling, Milling operations.
3 typical simulations to be carried out using simulation packages like Master- CAM, or any
equivalent software.
PART B
(Only for Demo/Viva voce)
1. FMS (Flexible Manufacturing System): Programming of Automatic storage and Retrieval system
(ASRS) and linear shuttle conveyor Interfacing CNC lathe, milling with loading unloading arm and
ASRS to be carried out on simple components.
2. Robot programming: Using Teach Pendent & Offline programming to perform pick and place,
stacking of objects, 2 programs.
PART C
(Only for Demo/Viva voce)
Scheme of Examination:
Total 50 Marks
i
INDEX PAGE
Record Marks
Manual Marks
(Max . 25)
Date
(Student)
(Max. 10)
Signature
Signature
(Faculty)
Sl.N Name of the
o Experiment
Submission of
Conduction Repetition
Record
Average
Note: If the student fails to attend the regular lab, the experiment has
to be completed in the same week. Then the manual/observation and
record will be evaluated for 50% of maximum marks.
ii
Channabasaveshwara Institute of Technology
(An ISO 9001:2008 Certified Institution)
NH 206 (B.H. Road), Gubbi, Tumkur 572 216.Karnataka.
OBJECTIVES
OUTCOMES
iii
General instruction to Students
iv
Contents
Syllabus i
Index ii
Contents v
Introduction 1
Viva Questions 38
References 44
v
CIM & Automation lab (10MEL78) VII SEM, ME
INTRODUCTION
It can be defined has form of programmable automation in which the process is controlled by
numbers, letters and symbols in NC the numbers forms a program of instructions designed
for a particular work part or job.
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
Numerical control integrated computer control includes one or more microprocessor, mini
computers. The logic function or program the control comprises a program that is stored in
the memory.
It can be defined has a manufacturing system in which a number of machines are controlled
by a computer through direct connection & in real time.
1. Point to Point
2. Straight cut
3. Contouring
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.
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.
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.
Determine the order of machining and the tooling stations.
Determine planned stops for checking dimensional sizes where required by
operator
Determine cutting speeds based on
- Component material, method of driving, rigidity of component
- Tooling selected for roughing and finishing
Determine the depths of cut and feeds for roughing operations
Determine surface finish requirements, the cutter nose radius most suited for
finishing operations and determine feed rates.
Allocates tool offsets as required
Complete planning sheet
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.
Write the part program according to the sequence of operations.
One variation of MDI is a concept called Conversational Programming. CNC machines are
programmed via a question and answer technique whereby a resident software program asks
the operator a series of questions. In response to the operators input, and by accessing a pre-
programmed data file, the computer control can.
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
- Tools and tool detail etc.
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: 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.
Longitudinal.
Transverse.
Each plane is assigned a letter and is referred to as an axis,
Axis X
Axis Z
The two axis are identified by upper case X, Z and the direction of movement along each axis
(+) 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
coordinate system for turning operations is shown in figure below
MACHINE ZERO POINT (M): is specified by the manufacturer of the machine. This is
the zero point for the coordinate systems and reference points in the machine. On turning
lathes, the machine zero point 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 axes point toward the working area as shown in figure below:
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 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 clamping / chucking, setting up and checking, the traverse measuring
system can be effected easily.
For turned parts, the work piece 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
figure. Occasionally the work piece zero point is also called the program zero point.
REFERNCE 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 figure below is accurately predetermined in 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.
G CODES
G00 Positioning (Rapid Transverse)
G04 Dwell
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
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.
MACHINE ZERO POINT (M): This is specified by the manufacturer of the machine. This
is the x\zero point for the coordinate systems and reference points in the machine. The
machine zero point can be the center of the table or a point along the edge of the traverse
range as shown in figure the position of the machine zero point generally varies from
manufacture. The precise position of the machine zero point as well as the axis direction
must therefore be taken from the operating instructions provided for each individual
machine.
REFERENCE POINT (R): this point serves for calibrating and for controlling the
measuring system of the slides as tool traverses. The position of the reference point is
accurately predetermined in 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 systems, 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 work piece coordinate
system in relation to the machine zero point. The work piece zero point is chosen by the
programmer and input into the CNC system when setting up the machine. The position of the
work piece zero point can be freely chosen by the programmer within the work piece
envelope of the machine. It is however, advisable to place the work piece zero point in such a
manner that the dimensions in the work piece drawing can be conveniently converted into
coordinate values and orientation when clamping/ chucking, setting up and checking the
traverse measuring system can be affected easily. For milled parts, it is generally advisable to
use an extreme corner point as the work piece zero point. Occasionally, the work piece
zero point is called the program zero point
1. Absolute Dimension System: Data in absolute dimension system always refer to a fixed
reference point in the drawing as shown in figure A above. This point has the function of a
coordinate zero point as in figure B. The dimension lines run parallel to the coordinate axes
and always start at the reference point. Absolute dimensions are also called as Reference
dimensions.
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
M00 Program stop
M01 Optional stop
M02 Program end
M03 Spindle forward
M04 Spindle reverse
M05 Spindle stop
M06 Tool change
M08 Coolant on
M09 Coolant off
M10 Vice open
M11 Vice close
M13 Coolant, spindle fwd
M14 Coolant, spindle rev
M30 Program stop and rewind
M70 X mirror On
M71 Y mirror On
M80 X mirror off
M81 Y mirror off
M98 Subprogram call
M99 Subprogram exit
CNC TURNING
1. Write a manual part program for Linear Interpolation for the given part and execute.
x
DatumPoint
O 20
O 15
O 10
z
(0,0)
20 20 20
2. Write a manual part program for Taper turning for the given part and execute.
3. Write a manual part program on Chamfering& Step turning for the given part and execute.
4. Write a manual part program on fillet & Step turning for the given part.
5. Write a manual part program for the given profile and execute.
6. Write a manual part program for the given profile and execute.
7. Write a manual part program for the given profile and execute.
8.
9.
10.
CNC MILLING
1) Write a manual part program for Slotting operation for the component as shown in
drawing and execute.
Operation - Slotting
mm
2) Write a manual part program for Drillingoperationfor the component as shown in drawing.
3) Write a manual part program for the profile as shown in the drawing and execute.
5) Write a manual part program for the profile as shown in the drawing and execute.
O1025
G21 G98
G28 X0 Y0 Z0
G42 M06 T0101
M03 S100
G00 X20 Y20 M08
G01 Z-10 F0.2
G03 X60 Y20 R20
G03 X60 Y60 R20
G03 X20 Y60 R20
G03 X20 Y20 R20
G00 Z5
G28 X0 Y0 Z0
M05 M09
M30
6) Write a manual part program for the profile as shown in the drawing and execute.
7) Write a manual part program for the profile as shown in the drawing and execute.
8.
9.
10.
6. Select machine
8. Generate NC program
Or
Setup data is required for machining, and documentation is related to the details of the
program. The work setup data is divided into
Setup data 1,
Documentation.
5. Perform machining
Select appropriate machining operation and define tool details used for that operation
6. Select machine
8. Generate NC program
VIVA QUESTIONS
1. What is CAD?
Computer-aided design (CAD) is the use of computer systems to assist in the creation,
modification, analysis, or optimization of a design.
2. What is CAM?
Computer-aided manufacturing (CAM) is the use of computer software to control machine
tools and related machinery in the manufacturing of work pieces.
3. What is CAE?
Computer-aided engineering (CAE) is the broad usage of computer software to aid
in engineering tasks.
4. What is Automation?
Automation is the use of machines, control systems and information technologies to optimize
productivity in the production of goods and delivery of services.
5. What are the benefits of CAD?
Improved engineering productivity
Reduced engineering personnel requirements
Customer modifications are easier to make
Faster response to requests for quotations
Minimized transcription errors
Improved accuracy of design
Improved productivity in tool design
6. What is design process?
Define the Problem
Do Background Research
Specify Requirements
Create Alternative Solutions
Choose the Best Solution
Do Development Work
Build a Prototype
Test and Redesign
7. What is geometric modeling?
Geometric modeling is a branch of applied mathematics and geometry that studies methods
and algorithms for the mathematical description of shapes.
Dept. of ME, CIT, Gubbi, Tumkur 38
CIM & Automation lab (10MEL78) VII SEM, ME
8. Advantages of CAD/CAM?
Savings in geometry definition.
Immediate visual verification.
Use of automatic programming routines.
One-of-a-kind jobs.
Integration with other related functions.
09. Define NC?
Numerical control (NC) is the automation of machine tools that are operated by abstractly
programmed commands encoded on a storage medium.
10. What are the basic components of NC system?
An operational numerical control system consists of the following three basic components:
1. Program of instructions
2. Controller unit, also called a machine control unit (MCU)
3. Machine tool or other controlled process
11. What is NC procedure?
Process planning.
Part programming
Manual part programming
Computer-assisted part programming
Tape preparation.
Tape verification.
Production.
12. What is cutter offsetcompensation?
An offset used on the mill that accounts for variations in tool diameter. Cutter compensation
is necessary only for tools that travel in the X- or Y-axes.
Highly flexible
Easier programming
Disadvantages
Higher investment cost.
Higher maintenance cost
Finding and/or training NC personnel
19. What does N Word stands for?
N - Sequence number (Used for line identification)
20. What does G word stands for?
G - Preparatory function
21. What does M Word stands for?
M - Miscellaneous function
22. What does T word stands for?
T - Tool Designation
23. Steps in computer assisted part programming?
Typically starts with the receipt (by the manufacturing department) of a
design in the form of a CAD/NC drawing or model
Review of the model by a production planner and then design/selection of the
tools
Selection of cutting process parameters (cutting conditions, direction of cut,
roughing and finishing, etc)
Generation of cutter path
Verification of the cutter path by replaying the path computer assists the
programmer by animating the entire path, showing the location of the cutter
visually and displaying the XYZ coordinates
24. What is robot?
A robot is a mechanical or virtual agent, usually an electro-mechanical machine that is
guided by a computer program or electronic circuitry.
Cylindrical configuration
Polar configuration
Jointed-arm configuration
26. Basic robot motions.
1. Arm and body motions
Vertical traverse
Radial traverse
Rotational traverse
2. Wrist Motion
Wrist swivel
Wrist bend
Wrist yaw
27. Robot programming language.
The VALTM Language
The MCL Language
28. Basic commands for robot
MOVE, HERE, APPROACH, DEPART, MOVE PATH, SPEED, EXECUTE PROGRAM
29. Applications of robot
Hazardous work environment for humans
Repetitive work cycle
Difficult handling task for humans
Multi shift operations
Infrequent changeovers
Part position and orientation are established in the work cell
30.Advantages and disadvantages of robot
Advantages
Robotics and automation can, in many situation, increase productivity, safety,
efficiency, quality, and consistency of Products
Robots can work in hazardous environments
Robots need no environmental comfort
References
1. Automation, Production system & Computer Integrated manufacturing, M. P. Groover
Person India, 2007 2nd edition.