Screenshot 2024-08-02 at 1.47.02 PM
Screenshot 2024-08-02 at 1.47.02 PM
Screenshot 2024-08-02 at 1.47.02 PM
Manual
JSS ACADEMY OF TECHNICAL EDUCATION
BENGALURU - 560060
DEPARTMENT OF MECHANICAL ENGINEERING
VII Semester
Laboratory Manual
18MEL76
In-charge Faculty Member of the Laboratory:
Dr./Mr./Ms.
Technical Staff:
Mr./Ms. _
Vision
Be amongst the top Mechanical Engineering Department in the region by sculpting competent
engineers through education and research.
Mission
M1: Build strong foundation in Mechanical Engineering domain complemented with
interdisciplinary skills.
M2: Develop state-of-the-art facilities with emphasis on industry interaction, consultancy,
research, and innovation.
M3: Enable to seek professional employment, pursue higher studies and promote
entrepreneurship.
PSO1: Apply the acquired knowledge in design, thermal, manufacturing and interdisciplinary
areas for solving industry related problems.
PSO2: Solve complex Mechanical Engineering problems using appropriate software tools.
Course Outcomes
CO1. Demonstrate the knowledge of CNC part programming with suitable prerequisites such as
knowledge of cutting tools, machine tools, materials, etc., leading to tool path verification
using appropriate part programming software tool.
CO2. Use appropriate CAM software tool for simulating turning, drilling and milling operations
thereby generating the NC program, cycle time sheet, tool list, tool layout,etc. and
estimating the power required.
CO3. Illustrate the working of an automated storage and retrieval system in an FMS.
CO4. Demonstrate the knowledge of robot programming for simple robot operations, and the
working principles of hydraulics and pneumatics.
COs/POs/ PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2
PSOs
CO1 3 2 … 2 3 … … … 2 … … 2 1 2
CO2 3 2 … 2 3 … … … 2 … … 2 1 2
CO3 2 2 … 2 2 … … … 1 … … 2 1 2
CO4 2 2 … 2 3 … … … 1 … … 2 1 2
Average 2.5 2 … 2 2.75 … … … 1.5 … … 2 1 2
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, CAM
Lab-Pro, MasterCAM, etc.
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
(Only for Demo/Viva voce)
PART - C
(Only for Demo/Viva voce)
Robot programming: Using Teach Pendent & Offline programming to perform pick and place,
stacking of objects, 2 programs.
Scheme of Examinations
Do:
Don’t:
1. Bring Pen drives / Mobile / CDs inside the lab. In case they are found, they will be
confiscated.
2. Change any setting on the computer.
3. Leave the lab without the permission of the staff concerned / instructor.
4. Start the computer system / machine until you are asked to do so.
CNC PROGRAMMING
MANUAL PART PROGRAMMING: MPP involves writing programs with a set of alphabets,
numbers and symbols. The commonly used part programming formats are:
1. Fixed sequential format
2. Tab sequential format
3. Word address format
Word address format is the most commonly used one.
N_ G_ X_ Y_ Z_ R_ F_ S_ T_ M_
N is the Sequence number. Each block or line starts with a sequence number which
identifies the block. It gives an identifying number for each block of information. It is generally
good practice to increment each block number by 5 or 10 to allow additional blocks to beinserted
if future changes are required.
G is the Preparatory function by which the MCU instructs the machine tool as to what to
next. In other words, various machine tool movements such as linear movement, circular
movement, rapid traverse of the tool, etc. are controlled by G words. Preparatory functions prepare
the controller to carry the instructions that are to follow after the G letter.
seeNC TURN
seeNC turn is special purpose CNC part program verification software used for the turning
center programs. Turning centers typically use only X and Z axis as shown in the fig below. The
X-axis denotes the axis perpendicular to the spindle and controls the diameter of the part. The Z-
axis denotes the movement of the tool parallel to the spindle axis and controls the length of the
part.
The main screen of the See NC turn consists of three screens namely
1. Program editor screen: Wherein the program enters the part programs.
2. Syntax error message screen: Where in the errors in the part program are displayed.
3. Tool path simulation screen: Where in the specified path of the tool can be observed.
PROCEDURE
The G01 command is mainly used for the linear removal of material from a work piece. Any
combination of the X or Z axes can be used. The machine tool will follow a linear trajectory from
the current position to the target position. The tool moves along a straight line in one or two axis
simultaneously at a programmed linear speed, the feed rate.
Circular Interpolation is defined by the G02 command. It executes all circular or radial cuts in a
clockwise motion. The G02 command requires an endpoint for the move, the radius, and a feedrate.
G04 DWELL
N_ G04 P_
The G04 command is a nonmodal dwell command that halts all axis movement for a specified
time while the spindle continues revolving at the specified rpm. A dwell is sometimes used to
allow for the clearance of chips.
Thread cutting is done by moving the tool along the thread repeatedly at different depths till the
final thread profile is formed. Each cut must start at the same angular position on the part. The
spindle has an encoder, which generates a pulse at exactly the same angular position in every
revolution. When a threading motion is programmed, the linear motion of the tool starts when
this pulse is detected. This ensures that every cut starts at the same angular position. Thread cutting
must be done at constant spindle speed.
Block format
N G33 X Z F
X, Z are the end point of the thread and F is the pitch of the thread.
CANNED CYCLES:
A canned cycle simplifies a program by using a few blocks containing G-codes functions to specify
the machining operations usually specified in several blocks.
N (n) _ _ _ _
_______
_______
N (n)_ _ _ _
U = Reference point
R = Retraction of the tool
P = Starting block number
Q = Ending block number
d = Depth of cut
e = Retract amount
n = Number of the first block of the shape
n = Number of the last block of the shape
u = Finishing allowance in X
w =Finishing allowance in Z
f = Feed rate
The G71 command automatically generates roughing passes to turn a work piece to a specified
profile leaving an allowance for finishing. It reads a program segment specified by the P and Q
letter addresses and determines the number of passes, the depth of cut for each pass, and the number
of repeat passes for the cycle.
N (n) _ _ _ _
_______
_______
N (n) _ _ _ _
d = Depth of cut
e = Retract amount
The G72 command automatically faces off a part to a predefined profile, with preset offsets and
federates leaving an allowance for finishing. It reads a program segment specified by the P and Q
letter addresses and determines the number of passes, the depth of cut for each pass, and the
number of repeat passes for the cycle.
M-codes Function
M00 Optional program stop automatic
M01 Optional program stop request
M02 Program end
M03 Spindle ON clock wise (CW)
M04 Spindle ON counter clock wise (CCW)
M05 Spindle stop
M06 Tool change
M07 Mist coolant ON (coolant 1 ON)
M08 Flood coolant ON (coolant 2 ON)
M09 Coolant OFF
M30 End of program, Reset to start
M98 Sub program call
M99 Sub program end
PROBLEM 1:
O 02
BILLET DIA 42 LENGTH 60 START Z 0
BILLET DIA 42 L 85
BILLET DIA 22 L 75
PROBLEM 9:
G21 G98
G28 U0 W0
M06 T0101
G50 S2500
G96 S250
M03 S800
G00 X0 Z1
G74 R1
G74 X0 Z-5 Q500 F30
G28 U0 W0
M06 T0202
M03 S600
G00 X0 Z1
G74 R1
G74 X0 Z-75 Q500 F30
G28 U0 W0
M06 T0303
M03 S1500
G00 X0 Z1
G74 R1
G74 X0 Z-75 Q500 I20
G28 U0 W0
M06 T0404
M03 S1500
G00 X12 Z1
G71 U0.5 R1
G71 P01 Q10 U0.1 W0.1 F50
N01 G01 X50
N02 G01 Z0
N03 GO1 X50 Z-15
N04 G01 X47 Z-30
N05 G02 X42 Z-35 R5
N06 G03 X38 Z-39 R4
N07 G01 X35 Z-45
N08 G01 X35
N09 G01 Z-60
N10 GO1 X12
G28 U0 W0
[THREADING CYCLE]
M06 T0606
M03 S600
G00 X49 Z1
G76 P020060 Q10 R50
G76 X51.836 Z-8 P940 Q363 F1.5
GO1 X 48 F 30
GO0 Z2
G28 U0 W0
M05
M30
seeNC MILL
seeNC mill is special purpose CNC part program verification software used for the machining
center programs. Milling machines uses all the three axes as shown in the figure below. In the
vertical milling machine, the Z-axis denotes the movement parallel to the spindle axis i.e., the up
and down movement of the spindle. The X-axis moves to the operators left and right. The Y axis
moves towards and away from the operator.
Axis convention
The tool can be moved to any position in a 3 dimensional cartesian co-ordinate system.
The Z axis is along the spindle axis. The X and Y axes are perpendicular to Z.
LIST OF G-CODES
G-code Function
G00 Positioning rapid traverse
G01 Linear interpolation (feed)
G02 Circular interpolation CW
G03 Circular interpolation CCW
G04 Dwell
G20 Inch unit
G21 Metric unit
G28 Automatic zero return
G40 Tool nose radius compensation cancel
G41 Tool nose radius compensation left
G42 Tool nose radius compensation right
G43 Tool length compensation
G80 Canned cycle cancel
G81 Drilling cycle
G82 Drilling cycle with dwell
G83 Peck drilling cycle / deep drill
G84 Tapping cycle
G85 Boring / Reaming cycle
G86 Boring cycle
G90 Absolute command
G91 Incremental command
G94 Feed per minute
G95 Feed per revolution
G98 Return to initial point in canned cycle
G99 Return to R point in canned cycle
N G01 G41/42 X Y D F
CANNED CYCLES
Canned or fixed cycles are programming aids that simplify programming. Canned cycles combine
many programming operations and are designed to shorten the program length, minimize
mathematical calculations, and use minimal tool motions.
PROBLEM NO. 1:
O01
BILLET 120 X 120 X 30 MM
PROBLEM NO 2:
O02
BILLET 150 X 150 X 30 MM
PROBLEM NO 3:
O03
BILLET 200 X 150 X 30 MM
O04
BILLET 100 X 100 X 30 MM
O05
BILLET 120 X 120 X 30 MM
O06
BILLET 350 X 250 X 30 MM
O55
G00 X10 Y40
G01 Z-5.0 F100
X40 Y10
X10. Y10.0
X10 Y40
G00 Z5
M99
PROBLEM NO 8:
[RECTANGULAR POCKETING]
G91 G28 X0 Y0 Z0
M06 T1
M03 S1500
G90 G00 X0 Y0
G01 X20 Y20 Z-5 F30
G01 X20 Y40
G01 X40 Y40
G01 X40 Y20
G01 X20 Y20
G01 X0 Y0 Z5000
G91 G28 X0 Y0 Z0
M05
M30
CAPS turn and CAPS mill are the CADEM’S application software tools available to
simulate turning & milling related operations by creating complex designs and models. It can also
be utilized as a tool to generate a part and in turn to generate the NC part program for the part
generated. Writing a manual part program requires the knowledge of the part (drawing) to be
produced, the syntax of the program, the knowledge of preparatory and miscellaneous codes for
various control models, etc. But, by using CAPSturn & CAPSmill, the part program will generate
by itself for the part drawn by the operator. It is also possible to interface this software directly to
a CNC machine where in the part designed can be machined.
The programming process of CAPSturn & CAPSmill includes the following 8 steps
Check if you are using the available spindle power to the maximum. Check if
you are over-using the spindle.
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
9. Documents
Power
Tool list
Time Study Sheet
R
2,
R
2,
30
8
6
6
BLANK
1.Facing
2.contour turn
3.Grooving
4. Threading
Draw>Multiline>0,0>6,0>8,-2,>8,-12> done
Draw>Groove>Base width=5>depth=2>external>OK>8,-12
Draw Multiline>8,-17>8,-22>12,-27
Draw Arc>Start-End-Radius>12,-27>17,-32>5>Ok
Draw Arc>Start-End-Radius>22,-37>17,-32>5>Ok
Draw Multiline>22,-37>30,-37>30,-50>done
Drawn>Define Part>Select the drawn Object>Yes
Drawn>Multiline>0,2>35,2>35,-80>done
Drawn>Defind Blank>Length=80, dia=35, Start Z=2>Ok
Machining:
Turning Operation
Plain Face>New tool>Select tool>Ok>Select 35,2> 35,0>Depth of Cut=0.5
Contour Turn>New Tool>Select Suitalbe Tool>OK>0,0>30,-50>Depth of Cut=0.5
Groove>Radial>New tool>Select suitable tool>Select the groove>OK
Thread>New tool>Suitable tool>Select line of thread>No of cutting pass=4>Thread
Pitch=1>Thread Depth=0.613 >OK
Tool Path:
Simulation Starts
NC Program:
Edit your name and USN Number
Save in Suitable folder
OK
Documents
Power
Tool list
Time Study Sheet
Internal Machining:
20
24
60
12
Operations
1.Facing
2.Centre Drill
3.Peck Drill
4.Drill
5.Boring
6.Tapping
Machining:
Hole Operation
Centre Drill>New tool> Select Suitable tool>OK
Tool Tip depth=1>OK
Peck Drilling>New tool>Select Suitable Tool>OK
Hole Depth=70>Peck Depth=5>OK
Drilling>New Tool>Drill >Twist Drill>Select 12.5 drill>OK
Hole depth=70>OK
Finish Boring
New tool>Select Suitable boring tool>OK
Hole depth=50>Bore diameter=20>OK
Finish boring
New>Select suitable boring tool>Ok
Hope depth=50>Bore Diamter=20>Ok
Finish Boring>New tool>Select suitable boring tool>OK
Finish Boring>Hole Depth=30>Bore Diameter 24>OK
Tapping>New Tool>Tap Metric>Select suitable tapping tool=M24X3 tap>Ok
Hole depth=20>OK
Tool Path:
Simulate
NC Program:
Edit your name and USN Number
Save in Suitable folder
OK
Documents
Power
Tool list
Time Study Sheet
CAPSMILL
5 5
O
50
15
R
100
O
62,5
62,5
37,5
5 5
Geometry:
Machining:
Milling Operation:
Face milling>New tool>Select suitable tool;>Ok>Select a contour>Material
thickness=3>OK>Select machine starting point suitably
Side mill>New tool>Select suitable tool>Ok>Select a contour>Select starting point of
machining>Mill the whole contour=Yes>Select the side of milling outside>Material width=5,
Material depth=12>OK
Circular Pocketing:
New tool>Select suitable tool>OK>Select circular contour>Pocket depth=12>OK
Hole Operation:
Centre drill>Select new tool> Select suitable tool>OK> Select 25, 37.5>done>Select 50,
37.5>done>No.
Drilling:
Drill> Select new tool>tool dia 5 >depth 12> OK> Select 25, 37.5>done>Select 50,
37.5>done>OK
Counter Boring:
Select new tool> tool dia 7.5 > Ok> Select 25, 37.5>done>Select 50, 37.5>done>No>hole
depth=5>Ok
Tapping:
Select new tool>M5.0*0.80 tap metric>Ok> Select 25, 37.5>done>Select 50, 37.5>done>hole
depth=12>Ok
Tool Path:
Simulate
NC Program:
Edit your name and USN Number
Save in Suitable folder
OK
Documents
Power
Tool list
Time Study Sheet
A single-machine cell consists of one CNC machining center combined with a parts-storage
system for unattended operation (fig. next slide)
A flexible manufacturing cell (FMC) consists of two or three processing workstations (typically
CNC machining centers or turning centers) plus a parts-handling system. The parts- handling
system is connected to a load/unload station.
A flexible manufacturing system (FMS) has four or more processing stations connected
mechanically by a common parts-handling system and electronically by a distributed computer
system.
Components of an AS/RS:
Virtually all of the automated storage/retrieval systems consist of the following components: (1)
storage structure, (2) S/R machine, (3) storage modules (e.g., pallets for unit loads), and (4) one or
more pickup-and-deposit stations. In addition, a control system is required to operate the AS/RS.
Basic components in a (i) fixed aisle AS/RS, (ii) carousel type AS/RS
Many applications of AS/RS technology have been associated with warehousing and distribution
operations. An AS/RS can also be used to store raw materials and work-in-process in
manufacturing. Three application areas can be distinguished for automated storage/retrieval
systems: (1) unit load storage and handling, (2) order picking, and (3) work-in-process storage
systems.
Automated storage/retrieval systems are also used in high-production operations. Examples are
found in the automobile industry, where some final assembly plants use large capacity AS/R
systems to temporarily store car and small truck bodies between major assembly steps. The AS/RS
can be used for staging and sequencing the work units according to the most efficient production
schedule.
Robot Programming
To do useful work, a robot must be programmed to perform its motion cycle. A robot program can
be defined as a path in space to be followed by the manipulator, combined with peripheral actions
that support the work cycle. Examples of the peripheral actions include opening and closing the
gripper, performing logical decision making, and communicating with other pieces of equipment
in the robot cell. A robot is programmed by entering the programming commands into its controller
memory. Different robots use
different methods of entering the commands.
Today, nearly all industrial robots have digital
computers as their controllers, together with
compatible storage devices as their memory units.
For such robots, the following programming
methods are in use:
The lead through method makes use of a teach pendant to power drive the robot through its motion
sequence. The teach pendant is usually a small hand held device with switches and dials to control
the robots physical movements. Each motion is recorded into memory for future playback during
work cycle. The lead through method is very popular among robot programming methods because
of its ease and convenience.
Computer-like (robot) programming languages
The use of textual programming languages became an appropriate programming method as digital
computers took over the control function in robotics. Their use has been stimulated by the
increasing complexity of the tasks that robots are called on to perform, with the concomitant need
to imbed logical decisions into the robot work cycle. These computer-like programming languages
are really on-line/off-fine methods of programming, because the robot must still be taught its
locations using the lead-through method.
Motions
The following sub-sections describe the task commands available in Robo CIM 5150.
1. Channel
2. Delay
3. Do
4. Else
5. End
6. End if
7. Go sub
8. Grip
9. Grip close
10. Grip open
11. Home
12. Input
13. Message
14. Move to
15. Output
16. R channel
17. Relay
18. Repeat
In industries, three methods are used for transmitting power from one point to another. Mechanical
transmission is through shafts, gears, chains, belts, etc. Electrical transmission is through wires,
transformers, etc. Fluid power is through liquids or gas in a confined space.
The terms Pneumatics (pneuma meaning air in Greek) and Hydraulics (hydra meaning water in
Greek) are used to signify the applications of fluid power. Pneumatics uses an easily compressible
gas such as air or a suitable pure gas - while hydraulics uses relatively incompressible liquid media
such as oil (petroleum and synthetic oils). Fluid power is the use of fluids under pressure to
generate, control, and transmit power.
Fluid power systems perform work by a pressurized fluid bearing directly on a piston in a cylinder
or in a fluid motor. A fluid cylinder produces a force resulting in linear motion, whereas a fluid
motor produces torque resulting in rotary motion. Within a fluid power system, cylinders and
motors (also called actuators) do the desired work. Control components such as valves regulate
the system.
Mobile hydraulics: Mobile hydraulic systems move on wheels or tracks such as a tower crane
or excavator truck to operate in many different locations or while moving. A characteristic
feature of mobile hydraulics is that the valves are frequently manually operated. The applications
of mobile hydraulics are as follows:
Pneumatic systems are used in automation equipment such as transfer lines, robots, etc.; in
brake system of automobiles, railway coaches, etc.; material handling equipment, medical
equipment, power hammers and nut runners, etc.
[3]. Shivanand, H.K., Benal, M.M. and Koti, V. Flexible Manufacturing Systems, New Age
International (P) Ltd., 2006
[4]. https://nptel.ac.in/courses/112106175/Module%201/Lecture%201.pdf
[5]. https://nptel.ac.in/courses/112106175/Module%204/Lecture%2041.pdf