You are on page 1of 28

Exp: 08 - Toolpath Generation for Turning Operations

Experiment No: 08

Experiment Name:

Toolpath Generation for Turning Operations : Roughing, Finishing,


Grooving Threading etc.

Experiment Aim:
Genearating G - code and M – codes to perform Turning operation for the given
geometry

Problem Image:

Procedure:

Step No 1 . Create rectangle


Activate anchor point
Create a rectangle at reqiured dimensions

Select line Command Draw a geometry as per the given dimensions


Create First Vertical line in Second Quadrant

Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

Create Second Horizontal line in Second Quadrant

Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

Create Third Vertical line in Second Quadrant

Create Fourth Horizontal line in Second Quadrant

Create Fifth Vertical line in Second Quadrant

Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

Create Sixth Horizontal line in Second Quadrant

Create Seventh Vertical line in Second Quadrant


Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

Create Eighth Horizontal line in Second Quadrant. Complete the loop of


geometry.

Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

Do chamfer and fillet on geomtry as per the given problem statement

Select Rectangle Command draw on geometry where you would like to perform
grooving operation

Using Trim/ Break command delete unwanted lines.


Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

The geometry will appear like as follows

Selection of Machine Type

Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

Select Lathe Machine > Default

Stock Set Up

Spindle Set Up

From Operation Manager select Properties in Machine Goup . The following


window will appear

Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

Geometry in second quodrant so solect left spindle properties. The following


window will appear

Chuck Set Up
Select Left spindle click on properties . The following window will appear

Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

Select From Stock in position . enter the value where you would to fix the chuck

The holding of chuck will be appear as follows.

Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

Performing Operations

Roughing
Select rough form Toolpath

Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

Select the starting point to perform as shown in following image

Select the final point to perform the operation

Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

Select default tool to perform operation . Click on OK

Roughing operation Performed .

Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

Perform Finishing Operation


Select Finish From Tool path. Follow the same steps of Roughing .

Select first point of roughing

Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

Select the tool . Perform

Perform Grooving Operation

Select Groove form Toolpath . The following window will appear

Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

Select 2 points .

Select any side two points diagonally as shown in figure .

Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

Select the tool . Say yes

Perform Threading Operation

Select Thread from Toolpath . The following window will appaear

Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

Select the tool . Say yes

Select the Minor Diameter, Major Diameter, Start Position and End position of
threading from Thread Shape Parameter .

Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

Threaded Geometry will appear as follows

FINAL PRODUCT SIMULATION

Step no 1. Goto>verified selected operations>ok>generate simulation


Step no 2. Play simulation and obtain final product
So, we can work from for lathe on master cam

 To obtain G and M code


Just select option “verify selected operation”
There is option G
So we can obtain G and M codes just open saved file T notepad and get
posted the program

Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

CONCLUSION

We have studied mastercam in which we can generate toolpath for


any operation on any workpiece by use of imported from any other software
(i.e CATIA,Auto CAD etc).

With help of MASTER CAM, we can generate operation and G and M code
for Lathe, Milling etc

Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

CNC PROGRAM

%
O0000
(PROGRAM NAME - T)
(DATE=DD-MM-YY - 23-04-17 TIME=HH:MM - 23:42)
(MCX FILE - T)
(NC FILE - C:\USERS\STUDENT\DOCUMENTS\MY
MCAMX5\LATHE\NC\T.NC)
(MATERIAL - STEEL INCH - 1030 - 200 BHN)
G20
(TOOL - 1 OFFSET - 1)
(OD ROUGH RIGHT - 80 DEG. INSERT - CNMG-432)
G0T0101
G18
G97S91M03
G0G54X8.3963Z.2
G50S3600
G96S200
G99G1Z.1F.01
Z-6.4898
X8.5901
X8.7315Z-6.4191
G0Z.2
X8.2025
G1Z.1
Z-6.4898
X8.4163
X8.5577Z-6.4191
G0Z.2
X8.0087
G1Z.1
Z-6.4898
X8.2225
X8.3639Z-6.4191
G0Z.2
X7.8149
G1Z.1
Z-6.4898
X8.0287
Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

X8.1701Z-6.4191
G0Z.2
X7.6211
G1Z.1
Z-6.4898
X7.8349
X7.9763Z-6.4191
G0Z.2
X7.4273
G1Z.1
Z-6.4898
X7.6411
X7.7825Z-6.4191
G0Z.2
X7.2335
G1Z.1
Z-6.4898
X7.4473
X7.5887Z-6.4191
G0Z.2
X7.0397
G1Z.1
Z-6.4898
X7.2535
X7.3949Z-6.4191
G0Z.2
X6.8459
G1Z.1
Z-6.4898
X7.0597
X7.2011Z-6.4191
G0Z.2
X6.6521
G1Z.1
Z-6.4898
X6.8659
X7.0073Z-6.4191
G0Z.2
X6.4583
G1Z.1
Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

Z-6.4898
X6.6721
X6.8135Z-6.4191
G0Z.2
X6.2645
G1Z.1
Z-6.4897
G18G2X6.2771I.0063K.2087
G1X6.4783Z-6.4898
X6.6197Z-6.4191
G0Z.2
X6.0707
G1Z.1
Z-6.4625
G2X6.2771Z-6.4897I.1032K.1815
G1X6.2845Z-6.4898
X6.4259Z-6.4191
G0Z.2
X5.8769
G1Z.1
Z-6.3405
G2X6.0907Z-6.4678I.2001K.0595
G1X6.2321Z-6.3971
G0Z.2
X5.6831
G1Z.1
Z-3.043
X5.8354Z-3.1191
G3X5.8596Z-3.1483I-.0292K-.0292
G1Z-3.6825
Z-5.6048
Z-6.281
G2X5.8969Z-6.3673I.2087
G1X6.0383Z-6.2966
G0Z.2
X5.4893
G1Z.1
Z-2.9461
X5.7031Z-3.053
X5.8445Z-2.9822
Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

G0Z.2
X5.2955
G1Z.1
Z-2.8581
G3X5.3354Z-2.8691I-.0092K-.0402
G1X5.5093Z-2.9561
X5.6507Z-2.8853
G0Z.2
X5.1017
G1Z.1
Z-2.857
X5.2771
G3X5.3155Z-2.8618K-.0412
G1X5.4569Z-2.7911
G0Z.2
X4.9079
G1Z.1
Z-2.857
X5.1217
X5.2631Z-2.7863
G0Z.2
X4.7141
G1Z.1
Z-2.857
X4.9279
X5.0693Z-2.7863
G0Z.2
X4.5203
G1Z.1
Z-2.857
X4.7341
X4.8756Z-2.7863
G0Z.2
X4.3265
G1Z.1
Z-2.857
X4.5403
X4.6818Z-2.7863
G0Z.2
X4.1327
Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

G1Z.1
Z-2.857
X4.3465
X4.488Z-2.7863
G0Z.2
X3.9389
G1Z.1
Z-2.857
X4.1527
X4.2942Z-2.7863
G0Z.2
X3.7452
G1Z.1
Z-2.857
X3.9589
X4.1004Z-2.7863
G0Z.2
X3.5514
G1Z.1
Z-2.825
X3.6154Z-2.857
X3.7652
X3.9066Z-2.7863
G0Z.2
X3.3576
G1Z.1
Z-2.7281
X3.5714Z-2.835
X3.7128Z-2.7643
G0Z.2
X3.1638
G1Z.1
Z-2.6312
X3.3776Z-2.7381
X3.519Z-2.6674
G18
G0Z.1
X3.1438
G1Z0.
Z-2.6353
Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

X3.6072Z-2.867
X5.2771
G18G3X5.3213Z-2.8762K-.0313
G1X5.8213Z-3.1262
G3X5.8396Z-3.1483I-.0221K-.0221
G1Z-3.6825
Z-5.6048
Z-6.281
G2X6.2771Z-6.4997I.2188
G1X8.4651Z-6.4998
X8.6065Z-6.4291
G28 U0. V0. W0. M05
T0100
M01
(TOOL - 42 OFFSET - 42)
(OD GROOVE CENTER - MEDIUM INSERT - GCP-4250)
G0T4242
G18
G97S126M03
G0G54X6.0396Z-4.8297
G50S3600
G96S200
G1X5.4775F.002
G0X6.0396
Z-4.645
G1X5.4775F.004
X5.5514Z-4.682
G0X6.0396
Z-5.0144
G1X5.4775
X5.5514Z-4.9775
G0X6.0396
Z-4.4603
G1X5.4775
X5.5514Z-4.4973
G0X6.0396
Z-5.1991
G1X5.4775
X5.5514Z-5.1622
G0X6.0396
Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

Z-4.2756
G1X5.4775
X5.5514Z-4.3126
G0X6.0396
Z-5.3838
G1X5.4775
X5.5514Z-5.3469
G0X6.0396
Z-4.0909
G1X5.4775
X5.5514Z-4.1279
G0X6.0396
Z-5.5685
G1X5.4775
X5.5514Z-5.5316
G0X6.0396
Z-3.9062
G1X5.4775
X5.5514Z-3.9432
G0X6.0396
G97S200
Z-3.8305
X5.981
G1X5.8396Z-3.9012F.002
X5.4675
X5.4925Z-3.9137
G0X5.981
Z-5.6443
G1X5.8396Z-5.5735
X5.4675
Z-4.1312
G0X5.981
G28 U0. V0. W0. M05
T4200
M01
(TOOL - 97 OFFSET - 97)
(OD THREAD RIGHT INSERT - NONE)
G0T9797
G18
G97S200M03
Santosh Hiremath
M.Tech (9766053793)
Exp: 08 - Toolpath Generation for Turning Operations

G0G54X3.3438Z.331
G76 P010029 Q0. R0.
G76X2.3026Z-2.617 P4206 Q1861 R0. E.05
G28 U0. V0. W0. M05
T9700
M30
%

Santosh Hiremath
M.Tech (9766053793)

You might also like