0% found this document useful (0 votes)
4 views3 pages

CNC Milling Program for Various Hole Sizes

The document contains a CNC machining program with multiple sections for milling holes of various diameters, including specific coordinates and tool changes. It includes commands for circular interpolation and conditional statements for program flow. The program concludes with a return to the main program after executing the milling operations.

Uploaded by

ponnarasu Raja
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

CNC Milling Program for Various Hole Sizes

The document contains a CNC machining program with multiple sections for milling holes of various diameters, including specific coordinates and tool changes. It includes commands for circular interpolation and conditional statements for program flow. The program concludes with a return to the main program after executing the milling operations.

Uploaded by

ponnarasu Raja
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

%

O0001
G0G90G171G40G49
N01(31.80 HOLE MILL)
M06T14
M03S800
G0G90G58X0.0Y0.0
G0G43H14Z100
G0Z3.0
(1)
X0.0Y0.0
G01Z-5.0F100
G65P7777A31.80B8.00F80
G0Z3.0

(2)
G0X0.0Y-103.30
G01Z-5.0F100
G65P7777A31.80B8.00F80
G0Z3.0
M01

N02(17.475 HOLE MILL)


G0X-40.50Y-50.90
G01Z-5.0F100
G65P7777A17.475B8.00F80
G0Z3.0
M01

N03(12.70 HOLE MILL)


G0X49.40Y-XX
G01Z-5.0F100
G65P7777A12.70B8.00F80
G0Z3.0
M01

N04(12.90 HOLE MILL)


(1)
G0X0.0Y145.20
G01Z-5.0F100
G65P7777A12.90B8.00F80
G0Z3.0
M01
(2)
G0X196.85Y228.60
G01Z-5.0F100
G65P7777A12.90B8.00F80
G0Z3.0
M01
(3)
G0X-196.85Y228.60
G01Z-5.0F100
G65P7777A12.90B8.00F80
G0Z3.0
M01

N05
(1)(PCD HOLES 47.7)
M06T00
M03S000
G0G90G57X0.0Y0.0
G0G43H00Z50
G0Z3.0
G90G16G17
G81G98X23.85Y0.0Z-5.0R3.0F100
X23.85Y120.0
X23.85Y240.0
G15G80
G0Z50.0
M05
M09
G0G91G28Z0.0
G0G90G28Y0.0
M01

(2)(PCD HOLES 47.7)


M06T00
M03S000
G0G90G57X0.0Y-103.30
G0G43H00Z50
G0Z3.0
G90G16G17
G81G98X23.85Y0.0Z-5.0R3.0F100
X23.85Y120.0
X23.85Y240.0
G15G80
G0Z50.0
M05
M09
G0G91G28Z0.0
G0G90G28Y0.0
M01

NO6(PCD HOLES 25.40)


M06T00
M03S000
G0G90G57X-40.50Y-50.90
G0G43H00Z50
G0Z3.0
G90G16G17
G81G98X12.70Y0.0Z-5.0R3.0F100
X12.70Y120.0
X12.70Y240.0
G15G80
G0Z50.0
M05
M09
G0G91G28Z0.0
G0G90G28Y0.0
M01

M30

O7777
(CIRCULAR INTERPOLATION)
(PON 18.08.2022)
(16.40)
(G65P6666A109.4B63.0F1000)

G17G80G40

N10IF[#1EQ#0]GOTO900
IF[#2EQ#0]GOTO901
IF[#1LE#2]GOTO902
N20#110=#5001
#111=#5002
#120=[#1-#2]/2
#121=#120/2
#112=[#111+#120]
G90
N30G02X#110Y#112I0J#121F#9
N40G02X#110Y#112I0J-#120Z#26F#9
N50G02X#110Y#111I0J-#121F#9
GOTO999
N900#3000=1(A VALUE NOT GIVEN)
N901#3000=1(B VALUE NOT GIVEN)
N902#3000=1(A IS MORE THAN B)
N999
M99
%

You might also like