karpagam academy of higher education (under section 3 of
TRANSCRIPT
KARPAGAM UNIVERSITY Karpagam Academy of Higher Education
(Under Section 3 of UGC Act 1956) Coimbatore – 641 021.
Faculty of Engineering Department of Mechanical Engineering
COMPUTER AIDED MANUFACTURING (CAM)
LABORATORY MANUAL
Name : ------------------------------------------------------------
Register No: -------------------------------------------------------------
1
www.Vidyarthiplus.com
KARPAGAM UNIVERSITY
COIMBATORE – 641 021.
Department of Mechanical Engineering
This is to certify that this -----------------------------------------------------
record work done by Mr. /Ms. --------------------------------------------------------------------------------------------
for the course B.E. Mechanical Engineering during III Year / V Semester of
Academic year 2012 – 2013 is bonafide.
Staff in-charge H.O.D.
REGISTER No. : ----------------------------------------------------------------
This record is submitted for V Semester B.E. Practical Examination
of Karpagam University conducted on -----------------------------
Internal Examiner External Examiner
www.Vidyarthiplus.com
LIST OF EXERCISES
1. MANUAL PART PROGRAMMING (Using G and M Codes) in CNC
lathe
1.1 Part programming for Linear and Circular interpolation, Chamfering
and Grooving
1.2 Part programming using standard canned cycles for Turning, Facing,
Taper turning and Thread cutting
2. MANUAL PART PROGRAMMING (using G and M codes) in CNC milling
2.1 Part programming for Linear and Circular interpolation and Contour
motions.
2.2 Part programming involving canned cycles for Drilling, Peck drilling,
and Boring.
3. SIMULATION AND NC CODE GENERATION
NC code generation using CAD / CAM software‟s - Post processing
for standard CNC Controls like FANUC, Hiedenhain etc.
www.Vidyarthiplus.com
List of Experiments
Expt.
No. Name of the Experiment
Page
No
Marks signature
1
2
3
4
5
6
7
8
9
www.Vidyarthiplus.com
Requirements for safe operation of a cnc lathe, milling machine
PERSONAL SAFETY: A) Safety glasses must be worn at all times when in the area of the milling machine! Sharp fragments of metal
may fly off at high velocity. Protect your eyes at all times. Failure to comply may result in revocation of shop
privileges.
B) An attendant must be at the control panel and at or aml supervisor must be in the immediate area at all times
during cnc operation. Furthermore, each student is responsible to know how to emergency stop the milling
machine before starting the machine. Software glitches can cause the cutting head to veer off unexpectedly
resulting in severe damage to the machine.
C) Warning!! Loose clothing, long hair, personal stereo wires, jewelry, and gloves may become entangled in
rotating equipment leading to serious injury or death! Make certain that such articles are removed or securely
fastened to avoid entanglement.
D) Warning!! Milling cutters can be extremely sharp. When changing tools, always wrap the cutter in a rag. Do
not touch the cutting edges with your bare hands. Never touch a rotating tool bit.
E) The chips produced in the milling process can also be razor sharp. Always use a brush to clean a machine. Do
not use compressed air to blow the chips off of the machine or your clothes. Blown chips may get into eyes
or puncture skin.
F) Never reach over the machine while the cutter is rotating and never attempt to measure parts or clean the
machine while the milling cutter is rotating.
G) Warning!! Make certain that the work piece is securely fixture and that all components of the fixture are
securely fastened to the table. Because of the enormous forces involved in milling, failure to check security
may result in items being flung from the setup causing bodily injury. If you are not sure if your setup is safe,
have at a or staff member check it out before you begin cutting. Pay extra attention to the position and angle
of toe clamps.
H) Apply all coolants to the tool bit in a safe manner. Use extreme care when adjusting spray nozzles! The
magnetic bases holding the spray nozzles may slip. Therefore, hold the base while adjusting the nozzle. If a
base falls into the cutter, personal injury or machine damage may result. It is recommended that the spindle
be placed on hold before adjusting spray direction.
I) Report all oil and grease spills immediately! These are an extreme slip hazard!!
J) If the work piece begins to vibrate, or the cutter makes excessive noise, stop cutting immediately.
K) Before powering up the spindle, make certain that the milling cutter, its tool holder, and the spindle, are free
of the work piece and will not run into any of the fix Turing components. Also, make certain all loose tools,
spindle wrenches, chuck keys, and measuring tools have been removed from the machine and put in the
proper location.
www.Vidyarthiplus.com
MACHINE SAFETY:
A) The spindle must be completely stopped before attempting to change from low gear to high gear or vice
versa. Conversely, speed selection within a gear range should only be done with the spindle running.
B) Calculate the proper spindle speed and table feed rate before beginning a cut. Do not attempt to take a heavier
cut than the cutter or the work piece setup can handle. Make certain to use a proper safety factor for the
rigidity of the set up and the condition of the tooling. If you are not sure about your calculations, ask!
C) Make certain that the milling cutter is rotating in the proper direction before beginning a cut, otherwise the
milling cutter will burn up.
D) Check that table or spindle locks are off before engaging the associated power feed. If you do not know
how to operate a machine or do not fully understand the instructions you have been given, ask a
supervisor until you are certain about what is required. If you don‟t
CNC LATHE MACHINE
www.Vidyarthiplus.com
STUDY OF CNC LATHE MACHINE
CNC Lathe machines are the major machine tools used for the production of rotating parts. They are
available with multiple tooling, flexible automation equipment and rotary tooling. The operations such as
milling, drilling, tapping and other operation scan beper formed with the same set up.
Types of CNC Lathe Machines
1. Horizontal CNC Lathe machines.
2. Vertical CNC Lathe machines.
Classification of CNC Horizontal lathe machines
1. Chucking machines
2. Shaft machines
3. Universal machines
1. Chucking machines
Chucking machines usually have shorter beds and a single saddle with a single drum type turret
which accommodates both I.D and O.D tools.
2. Shaft machines
Shaft machines are used mainly for between centre works. They have hydraulic (or) pneumatic tail
stock for the work piece.
3. Universal machines
Universal machines are suitable for both chucking and for bar work 4 or 5 axis
machines. Some machines have rotating tools in the turrets to facilitate off - axis machining such as drilling,
milling, reaming, tapping, boring etc. These machines have in addition to the conventional X and Z-axis.
CNC control of the spindle rotation i.e. C - axis such machines are known as CNC turning centers.
Vertical CNC Lathe machines
Vertical CNC Lathe machines are widely used for machining heavy components.
www.Vidyarthiplus.com
LMW – Smart Junior CNC Lathe Machine
Technical Specifications:
SPECIFICATIONS UNIT SMART JUNIOR
CAPACITY
Swing Over Bed mm 480
Swing Over Carriage mm 260
Acimit Between Center mm 345
Maximum Turning Length mm 275*
Maximum Turning Diameter mm 200
Chuck Size mm 130(5‟)
SPINDLE
Spindle Nose Flat○115
Spindle Nose Taper 1/20
Hole Through Spindle mm 53
Maximum Bar Capacity mm 30
Spindle Speed Range rpm 60-6000
Motor Power (Cont/30 Min) kw 5.5/7
Maximum Torque In Spindle nm 47
Spindle Front Bearing (Id) mm 80
Max Load (With Chuck) Opposite End Free kg 150
Max Weight Of Load (Indexing Chuck) kg 200
TURRET
Number Of Stations 8
Tool Shank Size mm 20 X 20
Maximum Boring Bar Diameter mm 32
Indexing Bi-Directional
Indexing Time (Per Station) sec 1.0
TAIL STOCK
Quill Dia / Stroke mm 65/80
Quill Taper Mt-4
Tailstock Base Stroke mm 185
www.Vidyarthiplus.com
SPECIFICATIONS UNIT SMART JUNIOR
FEED SYSTEM
Cross Travel (X Axis) mm 105
Longitudinal Travel (Z Axis) mm 320
Rapid Traverse (X/Z Axis) m/min 20-20
X Axis Motor Torque nm 6.0
Z Axis Motor Torque nm 6.0
X Axis Motor Torque Power kw 1.48
Z Axis Motor Torque Power kw 1.48
Ball Screw – X Axis (Dia X Pitch) mm 25 X 10
Ball Screw – Z Axis (Dia X Pitch) mm 32 X 10
Feedback Element Type Absolute Encoder
Guide Way On All Axis Type Lm Guide Ways
GENERAL
Maximum Size (Length X Breadth X Height) mm 2275 X 2003 X 1915
Floor Space Required (App) m2 4.0
Weight (Approx.) kg 2300
Air Requirement (At Ntp) Basic Machine lpm Nil
Air Requirement (At Ntp) For Option lpm Nil
Lubrication For Slide ways And Ball Screw Type Automatic Pressure Lubrication With Fault
Detection
Lubrication For Spindle Bearing Type Grease Packed
Coolant Tank Capacity Ltr 80
Coolant Pump Motor kw 0.25
POWER SUPPLY
Voltage v Ac 415±10%
Frequency hz 50±1
Power kva 13
ACCURACY
Positioning Of Slides: X - Axis mm 0.015
Positioning Of Slides: Z - Axis mm 0.025
Repeatability mm ±0.003
CNC System Siemens 802d
www.Vidyarthiplus.com
ADDRESS CHARACTERS
Alphabet Meaning / used in
ANG Angular dimension (used in direct drawing dimension programming)
CHR Chamfering amount (automatic insertion of chamfers)
F Feed function
Dwell time with G04
G Preparatory function
K Lead of thread in G33
I Thread taper angle in G33
M Miscellaneous function
N Sequence number /block number
RND Radius in between two angles
D Offset page number
CR Radius of arc in G02 & G03
S Speed function
T Tool function
X Absolute dimension in X-axis, diametrical value(with G90)
z Absolute dimension in Z-axis, distances from job zero (with G90)
www.Vidyarthiplus.com
Miscellaneous functions: [M □□] PREPARTORY FUNCTIONS: {G□□}
G00 Rapid positioning
G01 Linear interpolation
G02 Circular interpolation CW
G03 Circular interpolation CCW
G04 Dwell
G09 Exact stop
G70 Inch input
G71 Metric input
G75 Zero return
G33 Thread cutting
G40 Toll nose radius compensation cancel
G41 Toll nose radius compensation left
G42 Toll nose radius compensation right
G96 Constant surface speed command
G97 Spindle speed command
G94 Feed per minute
G95 Feed per revolution
CYCLES: {G□□}
M00 Temporary program stop
M01 Optional stop
M02 Program end
M03 CW spindle rotation
M04 CCW spindle rotation
M05 Spindle stop
M08 Coolant pump on
M09 Coolant pump off
M10 Chuck clamp
M11 Chuck unclamp
M12 Tailstock quill out / (M25)
M13 Tailstock quill in /(M26)
M19 Spindle orientation on
M20 Spindle orientation off
M30 Program end and rewind
M41 Spindle speed low
M42 Spindle speed high
M82 Chuck pressure 1
M83 Chuck pressure 2
M85 Auto door open
M86 Auto door close
M17 Sub-program end
Cycle 82 Center-Drilling
Cycle 83 Deep Hole-Drilling
Cycle 84 Rigid Tapping
Cycle 85 Reaming
Cycle 95 Stock Removal
Cycle 97 Thread cutting cycle
Cycle 93 Grooving Cycle
www.Vidyarthiplus.com
INTRODUCTION TO PROGRAMMING
Program
Program is the series of instruction statements containing the contents of works written in
conformity with the rule according to the processing schedule. A program is necessary when operating the
cnc machine tool. It is specified by inputting an alphabet and numerical succeeding to it.
supposing we have to machine a component as shown adjacent, starting from point a passing
through points b,c,d,e,f and ending at point a, the program is as follows.
PROGRAM DESRIPTION
4567 Program number
N1; Sequence Number
MSG (“FINISHING) Comment indicating operation
T04D1; Selecting turret station no .4
G96 S200 LIMS=3000 M03; Rotating spindle clock wise at 200m/mm & Limiting maximum spindle speed
G00 X70 Z1 Rapid approaching up to point b
G01 Z-20 F0.2: Cutting up to at feed 0.2mm/rev.
X90. Cutting up to point d
Z-75. Cutting up to point e.
X150. Cutting up to point f.
G00 X200 Z120. Rapid returning to point a
M01; Optional stop.
M30; Advising end of program
www.Vidyarthiplus.com
CENTER DRILLING CYCLE -82 DEEP HOLE DRILLING CYCLE -83
STOCK REMOVAL IN TURNING CYCL95
RTP Retraction plane
RFP Reference plane
SDIS Safety distance
DP Drill depth
DPR Drill depth from reference plane(with out
Sign)
DTB Dwell time
RTP Retraction plane
RFP Reference plane
SDIS Safety distance
DP Final drill depth
DPR Final drill depth from reference
plane(with out sign)
FDEP First Drill Depth
FDPR First drilling depth relative to
reference plane(without sign)
DAM Amount of degression(with out sign)
DTB Dwell time at final drilling depth
DTS Dwell time at starting point
FRE Feed rate for first drilling depth
VARI Machining type(chip breaking=0,swarf
removal=1)
NPP Name of start block & end block
MID Depth of cut
FAL Z Finishing allowance in z
FAL X Finishing allowance in x
FAL Finishing allowance in contour
FF1 Feed rate fop rough
FF2 Feed rate fop undercut
FF3 Feed rate for finishing
VERI Maching type according to operation
DT Dwell time for chip breaking
DAM Path length for dwell time
VRT Retraction
www.Vidyarthiplus.com
THREAD CUTTING CYCLE -97 RIGID TAPPING -CYCLE -84
PIT Thread pitch
MPIT Thread pitches a thread size range
of values:3 (for m3)..60 (for m60)
SPL Thread starting point in z axis
FPL Thread end point
DM1 Thread diameter at the starting
point
DM2 Thread diameter at the end point
APP Start distance from job zero
TDEP Height of thread(thread depth)
FAL Finishing allowance
IANG In feed angle
NSP Starting point offset for the first
thread
NRC Number of roughing cuts
NID Number of idle passes
VARI Machining type (range value:1….4)
NUMT Number of threads starts
RTP Retraction plane
RFP Reference plane
SDIS Safety distance
DP Final drill depth
DPR Final drill depth from reference
plane(with out sign)
DTB Dwell time at thread depth
SDAC Direction of rotation after end of
cycle
MPIT For standard metric threads (select
direct value) range m3 to m48
PIT Pitch
POSS Spindle position
SST Speed for tapping
SST1 Speed for retraction
www.Vidyarthiplus.com
STUDY OF CNC MACHINING CENTER (MILLING MACHINE)
These are very important types of CNC machine tools. These are multifunction machine equipped
with automatic tool changers and are capable of carrying out milling, drilling, reaming, tapping, boring,
counter boring and allied operations.
Classification of Machining Center
Machining centers are classified according to the spindle configuration as
1. Vertical Machining Centre
2. Horizontal Machining Centre
3. Universal Machining Centre
1. Vertical Machining Center (VMC)
Vertical spindle machining centre are bed type machines with single spindle automatic tool
changers. The structural configuration is as follows X-axis traverse is provided
by table or column. Y-axis traverse is provided by the saddle (or) the column (or) ram. Z–axis traverse is
provided by the saddle (or) head stock (or) spindle head.
2. Horizontal Machining Center (HMC)
Horizontal spindle machining centre are generally single spindle machines with automatic tool
changers. Horizontal spindle machining centre generally bed type. In this type of machines X-axis traverse
is provided by table (or) column and Y-axis is provided by spindle head. The Z-axis traverse is provided by
the saddle (or) head stock (or) spindle head.
3. Universal Machining Center (UMC)
These are similar to horizontal machining centre but with the spindle axis capable
of tilting from horizontal to the vertical position continuously under computer control. This
constitutes the fifth axis of the machine. In some cases this movement is provided by tilting
of the head of the spindle.
OVER ALL VIEW OF VERTICAL MACHINING CENTRE Beds and Columns:
The way that the machining forces are directly into the bed of the machine can be considerable influence on accuracy. Cutting forces are transmitted in a loop from the spindle to the work piece and bed and back towards the spindle. Automatic Tool Changer (ATC):
Automatic tool changer is an important part of a machining center for holding the tools. The time for tool change varies between 3 to 7 seconds.
www.Vidyarthiplus.com
Work tables (Pallet):-
Work table is a simply a pallet which is provided with holes (or) slots to clamping of the work pieces. The work clamp table (or) the pallet is usually of square type with rounded corners. The maximum table load depends on the size of the machine.
Automatic Pallet Changer (APC): The function of the pallet changers is to interchange the pallet on the machine
which has the finished component and the other pallet with newly loaded component.
Flexible Manufacturing system (FMS):
Flexible Manufacturing System used in complete computer integrated factories with very little direct human supervision.
BFW – Sahaj Vertical Machining Center
Technical Specification:
01 Clamping Area 350mm X 600mm
02 No. I Width I CD Of T -Slots 3 / 14 / 125
03 Maximum Safe Load On Table 250 Kg
04 Distance From Table To Spindle Face 150 - 500mm
05 Distance From Spindle Center To Column Face 150 - 500mm
06 Distance From Floor To Table Top 750mm
Traverse
07 X-Axis 750 mm
08 Y-Axis 300 mm
09 Z-Axis 350 mm
Axis Drive
10 Feed Rates 1-10000 m/min
11 Rapid Feed Rate X/Y/Z Axis 36/36/36 m/min
Spindle
12 Power (Cont./ 30 Min. Rating) 3.7/5.5 kw
5.5/7.5 kw
13 Spindle 8000 rpm
10000 rpm
14 Taper BT 40
Auto Tool Changer
www.Vidyarthiplus.com
15 No. Of Tools 12
16 Maximum Tool Diameter With Adj. Pocket Empty 80/125
17 Maximum Tool Length 150 mm
18 Maximum Tool Weight 8 kg
19 Tool Change Time (Tool To Tool) 2.2 sec
Accuracy
20 Positioning ±0.005 mm
21 Repeatability ±0.003 mm
Installation Data
22 Machine Weight (Approx.) 2500 kg approx.
- 23 Total Connected Load 20 kva
24 Pneumatic Supply 6 bar
25 Power Supply 415V, 50 Hz, 3 Phase
26 CNC System Fanuc Oimc
* - Optional features
ADDRESS IN PROGRAM
Alphabet Character Use To Control The Functions Of a Machine Tool Is Called Address.
Address Function & Meaning
O Program Number
N Sequence Number
G Preparatory Function Selection Of Traveling Mode (Linear,Circular,Atc)
X,Y,Z Axis Travel Command
A,B,C,U,V,W Additional Axis Travel Command
R Arc Radius
I,J,K Arc Center Coordinate
F Specifying Federate
S Specifying Spindle Rotation Speed
T Specifying Tool Number
M Miscellaneous Function On/ Off Control For Machine Function
H Specifying Tool Length Offset Number
www.Vidyarthiplus.com
D Specifying Cutter Radius Offset Number
P(Or) X Specifying Dwell Time
P Specifying Sub-Program Number
L Specifying Number Of Repeats In Sub- Program (Or) In Canned Cycle
P,Q,R Parameter For Canned Cycle
G – CODES (PREPARATORY FUNCTION)
G-Code Includes An Address “G” And Numerical Letter.
G00 Rapid Positioning
G01 Linear Interpolation
G02 Circular Interpolation Cw
G03 Circular Interpolation Cww
G04 Dwell
G20 Inches Data Input
G21 Metric Data Input
G28 First Reference Point Return
G30 Second Reference Point Return
G40 Cutter Radius Compensation Cancel
G41 Cutter Radius Compensation Left
G42 Cutter Radius Compensation Right
G43 Tool Length Compensation(+)
G44 Tool Length Compensation(-)
G49 Tool Length Compensation Cancel
G52 Local Co- Ordinate System
G53 Machine Co-Ordinate System
G54 Work Co-Ordinate System Selection
G55 Work Co-Ordinate System Selection
www.Vidyarthiplus.com
G56 Work Co-Ordinate System Selection
G57 Work Co-Ordinate System Selection
G58 Work Co-Ordinate System Selection
G59 Work Co-Ordinate System Selection
G73 High Speed Peck Drilling Cycle
G74 Left Hand Tapping Cycle
G76 Fine Boring Cycle
G80 Canned Cycle Cancel
G81 Drilling (Or) Spot Drilling Cycle
G82 Dwell (Or) Counter Boring Cycle
G83 Peck Drilling Cycle
G84 Right Hand Tapping Cycle
G85 Reaming (Or) Rough Boring Cycle
G86 Rough Boring Cycle
G90 Absolute Input
G91 Incremental Input
G94 Feed In Mm/Min
G95 Feed In Mm/Rev
G98 Initial Point Return
G99 “R” Point Return`
M – Codes (Miscellaneous Function)
M- Code Includes An Address “M” And Numerical Letter. M –Code Is Also Known As Machine Code. It Is
Related To Auxiliary Or Switching Information Such As Spindle On/Off, Coolant On/Off And Other Machine
Functions. It Is Not Related To The Movement Of The Machine.
M00 Program Stop
M01 Optional Stop
M02 Program End
M03 Spindle Rotates Clockwise Direction
M04 Spindle Rotates Anticlockwise Direction
www.Vidyarthiplus.com
M05 Spindle Stop
M06 Tool Change
M07 Low Pressure Coolant On
M08 High Pressure Coolant On
M09 Coolant Off
M19 Spindle Orientation
M30 Programmed End And Rewind
M98 Sub Program Call
M99 Sub Program End
Preparatory function
G00 – Rapid Traverse or Positioning
The Cutter Moves at A Rapid (Fast) Traverse Rate With Linear Interpolation. The Rapid Traverse Rate
Depends upon the Machine Type (For Example Maximum Speed in a Two Wheeler Is 80- 120 Km/Hr Depends on
Type of Make).This Can Be Used in Air Movement like Positioning Relieving, Non Contact with Work Piece.
Format
1. G00 X--- Y---;
2. G00 Z---;
G01 –Linear Interpolation
Function F
The feed rate are used to move the cutter from one point to another point with constant feed rate. Feed
is normally is given in mm/min or mm/rev. The maximum feed in the most of the present machines are
1000-20,000 mm/min.The Rapid traverse rate and feed rate both are control by feed override switches in the
machine panel.
Example:
F {□□□□} : Four digits number following the address F
G01 X50.0 Y50.0 F100: X- axis & Y-axis move with feed 100 mm/min.
www.Vidyarthiplus.com
AXES CONTROL AND DIRECTION IN CNC MILLING MACHINES
Consider Bed Is Moving and Tool (Spindle) Constant
X Axis Moving Left (Towards Your Left Side) : X + Ve
X Axis Moving Right (Towards Your Right Side) : X- Ve
Y Axis Moving Away From the Machine : Y+ Ve
Y Axis Moving Towards the Machine : Y- Ve
Z Axis (Spindle) Moving Downward : Z - Ve
Z Axis (Spindle) Moving Upward : Z + Ve
www.Vidyarthiplus.com
CANNED CYCLE
The canned cycle can be also be called as „Hole drilling cycle‟. Machining cycle such as boring, drilling
and tapping are specified with affixed format which is shortened and performed easily.
Canned cycle programming format:
G98: Initial level return
G99: Reference (R point) in axis.
G : Cycle mode
X : Position point in X-axis.
Y : Position point in Y-axis.
R : R point position.
Z : Hole bottom level (Z point).
P : Dwell time at bottom.
Q : Cutting amount or shift amount.
F : Cutting federate.
L : Number of repeat.
G73 – High speed peck drilling cycle G74 – Left hand tapping cycle
G73 X – Y – R – Z – P –F- ; G74 X – Y – R – Z – P –F-;
X: Position point in X-axis. X: Position point in X-axis.
Y: Position point in Y-axis. Y: Position point in Y-axis.
R: R point position. R: R point position.
Z: Hole bottom level (Z point). Z: Hole bottom level (Z point).
P: Dwell time at bottom. P: Dwell time at bottom.
Q: Cutting amount or shift amount. F: Number of revolutions (RPM) X pitch (mm)
F: Cutting feed rate.
www.Vidyarthiplus.com
G76 –Fine boring cycle G83 –Peck drilling cycle
G76 X – Y – R – Z – Q –F-; G83 X – Y – R – Z – Q –F-;
X : Position point in X-axis. X : Position point in X-axis
Y : Position point in Y-axis. Y : Position point in Y-axis.
R : R point position. R : R point position.
Z : Hole bottom level (Z point). Z : Hole bottom level (Z point).
Q : Shift amount. Q : Depth of cut per pass.
F : Cutting feed rate. F : Cutting feed rate.
G84 –Fine boring cycle G85 –Boring or reaming cycle
G84 X – Y – R – Z –F-; G85 X – Y – R – Z –F--;
X : Position point in X-axis. X : Position point in X-axis
Y : Position point in Y-axis. Y : Position point in Y-axis.
R : R point position. R : R point position.
Z : Hole bottom level (Z point). Z : Hole bottom level (Z point).
P : Dwell time at bottom F : Cutting feed rate
F : Cu Number of revolutions (RPM) X pitch (mm)
. G86 –Fine boring cycle
G86 X – Y – R – Z –F-;
X : Position point in X-axis.
Y : Position point in Y-axis.
R : R point position.
Z : Hole bottom level (Z point).
F : Cutting federate
www.Vidyarthiplus.com
SUP PROGRAM
A sub program is a Child program which comes from a main progam.it is converenient to program a
repeating routine as a sub program
Main program Sub program;
O001; O002;
; ;
; ;
M98 PO002 L--;
; ;
M30; M99;
Format
M98 P- - - - - L- - -;
M98; Subprogram calling command
P ; Subprogram number (specify desired O number with address P)
L ; Number of repeats
Example; M98 PO001 L003;
In the above example program number O001 repeat three times
Note.
When L is omitted the program is repeated once,
Permissible range of L is up to 9999.
Command M99 ends the subprogram
www.Vidyarthiplus.com
EX. No: Simulation And Machining Of Simple Step Turning And
Facing Using Cnc Machine DATE:
AIM:
To write the manual part program to the given dimensions and execute in CNC lathe
MATERIAL SPECIFICATION:
Size - mm X mm
Material-
TOOLS AND EQUIPMENTS REQUIRED:
1 Vernier Caliper
2 Micrometer
3 Chuck
4. Turning tool
PROGRAM:
www.Vidyarthiplus.com
PROCEDURE: 1. The given geometry is studied and a part program is written using G-Codes and M-Codes.
2. The CNC machining control unit is switched on.
3. Now it enters into the simulation mode.
4 .The part program that has been written already is entered into the system.
5. For verifying the simulation is pressed and the machining process is verified.
6. The appropriate tool is selected from the tool magazine.
7. The tool offset is obtained by moving the tool.
8. Using AUTO and CYCLE START buttons the program is executed and actual machining is done on the
given work piece.
Result: Thus the manual part program was written to the given dimensions and executed in CNC LATHE. The
part manufactured was inspected using Vernier Caliper and the results were tabulated as follows.
www.Vidyarthiplus.com
Viva Voce
1. Write the main functions of CNC?
2. What is the difference between linear interpolation and circular interpolation?
3. The code G00 is used?
4. The code G41 is used?
www.Vidyarthiplus.com
AIM:
To write the manual part program to the given dimensions and execute in CNC lathe
MATERIAL SPECIFICATION:
Size - mm X mm
Material-
TOOLS AND EQUIPMENTS REQUIRED Vernier Caliper
Micrometer
Chuck
Turning tool
PROGRAM:
EX. No: Simulation And Machining Of Tapper Turning And
Chamfering Using Cnc Machine DATE:
www.Vidyarthiplus.com
PROCEDURE: The given geometry is studied and a part program is written using G-Codes and M-Codes.
The CNC machining control unit is switched on.
Now it enters into the simulation mode.
The part program that has been written already is entered into the system.
For verifying the simulation is pressed and the machining process is verified.
The appropriate tool is selected from the tool magazine.
The tool offset is obtained by moving the tool.
Using AUTO and CYCLE START buttons the program is executed and actual machining is done
on the given work piece
Result: Thus the manual part program was written to the given dimensions and executed in CNC
LATHE. The part manufactured was inspected using Vernier Caliper and the results were tabulated as
follows.
www.Vidyarthiplus.com
Viva Voce
1. What does ISO stand for?
2. Which G-code is used for anticlockwise?
3. The code M09 is used to?
4. What are G and M codes? Give examples.
www.Vidyarthiplus.com
EX. No: Simulation And Machining Of Simple Turning,
Chamfering And Fillet Using Cnc Machine DATE:
AIM:
To write the manual part program to the given dimensions and execute in CNC lathe
MATERIAL SPECIFICATION:
Size - mm X mm
Material-
TOOLS AND EQUIPMENTS REQUIRED
Vernier Caliper
Micrometer
Chuck
Turning tool
PROGRAM:
www.Vidyarthiplus.com
PROCEDURE: The given geometry is studied and a part program is written using G-Codes and M-Codes.
The CNC machining control unit is switched on.
Now it enters into the simulation mode.
The part program that has been written already is entered into the system.
For verifying the simulation is pressed and the machining process is verified.
The appropriate tool is selected from the tool magazine.
The tool offset is obtained by moving the tool.
Using AUTO and CYCLE START buttons the program is executed and actual machining is done on
the given work piece
Result: Thus the manual part program was written to the given dimensions and executed in CNC LATHE.
The part manufactured was inspected using Vernier Caliper and the results were tabulated as follows:
www.Vidyarthiplus.com
Viva Voce
1. The code M30 is used?
2. Expand –CNC?
3. Write the meaning of following codes:-
a) M01 b) M05 c) M06 d) M03
4. List two cutting tool material for CNC turning and state their applications
www.Vidyarthiplus.com
DRAWING
Threading calculation
Miner dia,d=D-(2h)
h=0.649 X P,for metric thread
h= 0.649 X 1.5 =0.974mm
d= 20-(1.5 X 0.974)
=18.539
www.Vidyarthiplus.com
EX. No: Simulation And Machining Of Simple Turning And
Threading Cycle Using Cnc Machine DATE:
AIM:
To write the manual part program to the given dimensions and execute in CNC lathe
MATERIAL SPECIFICATION:
Size - mm X mm
Material-
TOOLS AND EQUIPMENTS REQUIRED
Vernier Caliper
Micrometer
Chuck
Turning tool
Grooving tool 3mm
PROGRAM: THREAD CUTTING CYCLE -97
PIT Thread pitch
MPIT Thread pitchas a thread size range of
values:3 (for m3)..60 (for m60)
SPL Thread starting point in z axis
FPL Thread end point
DM1 Thread diameter at the starting point
DM2 Thread diameter at the end point
APP Start distance from job zero
TDEP Height of thread(thread depth)
FAL Finishing allowance
IANG Infeed angle
NSP Staring point offset for the first thread
NRC Number of roughing cuts
NID Number of idle passes
VARI Machining type (range value:1….4)
NUMT Number of threads starts
www.Vidyarthiplus.com
PROCEDURE:
The given geometry is studied and a part program is written using G-Codes and M-Codes.
The CNC machining control unit is switched on.
Now it enters into the simulation mode.
The part program that has been written already is entered into the system.
For verifying the simulation is pressed and the machining process is verified.
The appropriate tool is selected from the tool magazine.
The tool offset is obtained by moving the tool.
Using AUTO and CYCLE START buttons the program is executed and actual machining is done
on the given work piece
Result: Thus the manual part program was written to the given dimensions and executed in CNC LATHE.
The part manufactured was inspected using Vernier Caliper and the results were tabulated as follows
www.Vidyarthiplus.com
Viva Voce
1. Describe machining efficiency factor for calculating cycle time?
2. State the applications of P and K type of carbide inserts?
3. What are the controls available in the cnc machine?
4. List any two advantages and disadvantages of CNC Machines?
5. Write the meaning of following codes:-
a) G03 b) G96 c) G00 d) G75
www.Vidyarthiplus.com
EX. No: Simulation And Machining Of Contour Milling Using
VMC Machine DATE:
AIM:
To write the manual part program to the given dimensions and execute in CNC milling
MATERIAL SPECIFICATION:
Size - mm X mm
Material-
TOOLS AND EQUIPMENTS REQUIRED
Vernier Caliper
Plain vice
Hammer
End milling cutter dia 20mm
PROGRAM:
MAIN PROGRAM:
www.Vidyarthiplus.com
PROCEDURE: The given geometry is studied and a part program is written using G-Codes and M-Codes.
The CNC machining control unit is switched on.
Now it enters into the simulation mode.
The part program that has been written already is entered into the system.
For verifying the simulation is pressed and the machining process is verified.
The appropriate tool is selected from the tool magazine.
The tool offset is obtained by moving the tool.
Using AUTO and CYCLE START buttons the program is executed and actual machining is done on
the given work piece
Result: Thus the manual part program was written to the given dimensions and executed in CNC
MILLING. The part manufactured was inspected using Vernier Caliper and the results were tabulated as
follows:
www.Vidyarthiplus.com