Download presentation

Presentation is loading. Please wait.

Published byGrayson Haselton Modified over 2 years ago

1
بسم الله الرحمن الرحيم (SAMPLE PROGRAM G02EX3) Done by: Omar Al-Shehri Hassan Al-Saqqaf King Saud University College of Engineering Industrial Engineering Department Description of Some MasterCAM Program’s Codes 1427/1428

2
Workpiece Size: X4, Y3, Z1 Tool: Tool #2, 1/4” Slot Drill Tool Start Position: X0, Y0, Z1 % :1003 N5 G90 G20 N10 M06 T2 N15 M03 S1200 N20 G00 X1 Y1 N25 Z0.1 N30 G01 Z-0.1 F5 Start the program The program number Use the absolute positioning Use the Inch’s units Change the tool into the tool number 2 Rotate the spindle in the counter clock wise direction by 1200 rpm Position the tool rapidly into x=1, y=1 and z=1 Position the tool rapidly into x=1, y=1 and z=0.1 The cutting start linearly by a feed rate of 5 ipm “ sign means ( Inch )

3
N35 G02 X2 Y2 I1 J0 F20 Cut linearly up to the point of x=3.5, y=2 z=-0.1 @ 20 ipmN40 G01 X3.5 Cut an arc in the CW direction using IJ technique with radius of I1, J0,from the point x=1, y=1 and z=-0.1upto x=2, y=2 and z=-0.1 @ a feed rate of 20 ipm N45 G02 X3 Y0.5 R2Cut an arc in the CW direction with a radius of 2 in.,up to the point of (3,0.5,-0.1) @ 20 ipm N30 G01 Z-0.1 F5 N25 Z0.1 N20 G00 X1 Y1 N50 X1 Y1 R2Cut an arc with a radius of 2 in.,up to the point of (1,1,-0.1) @20ipm

4
N50 X1 Y1 R2 N55 G00 Z0.1Move rapidly without cutting to the point of (1, 1,.01 ) N60 X2 Y1.5 Move rapidly without cutting to the point of ( 2, 1.5,.01 ) N65 G01 Z-0.25Start cutting linearly up to the point ( 2, 1.5, -0.25 ) (feed = 20 ipm ) N70 G02 X2 Y1.5 I0.25 J-0.25 Complete a circle by cutting with the feed of 20 ipm N75 G00 Z1Move rapidly without cutting to the point of ( 2, 1.5, 1 ) N80 X0 Y0 Move rapidly without cutting to the point of ( 0, 0, 1 ) N85 M05 N90 M30 Spindle off Program end

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google