I am using Master 5 on my cnc router. I want to drill a 40 hole bolt circle on a 7.5" radius. Master 5 does not recognize g72, so how would I write the gcode for this operation.
I am using Master 5 on my cnc router. I want to drill a 40 hole bolt circle on a 7.5" radius. Master 5 does not recognize g72, so how would I write the gcode for this operation.
Draw it up in a cad, if you have one, and write down the point locations. Or calculate them with trig.
Does your controller use a G81 or G83 drill cycle? Use those with the list of coordinates is typically all that is required.
First you get good, then you get fast. Then grouchiness sets in.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
There are some programs to generate gcode for specific jobs here. I didn't check to see if the one for bolt holes would go to 41 or what ever you are needing.
http://pico-systems.com/gcode.html
Garry
I always do what huflungdung does or says to do, just draw it up in cad and take my dimentions off the readout thing or something similar.
There is a partially decent free cad program out there that is pretty much an autocad clone, its called a9cad by a9tech.
http://www.a9tech.com/download/
Jon
Hey, my first disciple!Originally Posted by JFettig
Welcome, my son.
![]()
First you get good, then you get fast. Then grouchiness sets in.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Hi,
I wrote a program for the Palm pilot that automatically generates up to 50 boltholes. It also does alot of nice CNC programming features. If interested, let me know. :cheers:
I also programmed (YEARS ago) a super-bare-bones bolt hole calculator, for Windows, that is extremely simple but effective for doing the X,Y coordinate list for bolt circles. It allows one to offset (from 12:00) the starting hole, so the first hole can be at 10 degrees from 12:00, etc. PM me if interested.
I'm interested , especially if it can run on my old Palm III, as I don't want to take my new Palm in the wshop.Originally Posted by bbailey
Can it beam the result to a Linux PC? That would be super as I would not have to punch it into the editor by (greasy) hands.
Send me your e-mail address to my private message, and I'll send you a copy. :banana:
Capitalv give me your e-mail and i will send you the code for a 40 hole 7.5" .5" deep ready to run
G'day
See if you can use this macro. you can use it for any hole circle, just chance variable values and edit start and end of program to comply with your machine control.
O2020 (SAMPLE BOLT CIRCLE B-MACRO)
(MITSUI SEIKI HS3A - FANUC 15M)
#10=8 (NUMBER OF HOLES )
#11=0 (ANGLE OF FIRST HOLE )
#12=80. (BOLT CIRCLE DIAMETER )
#13=0.0 (-X- CENTER OF BOLT CIRCLE )
#14=0.0 (-Y- CENTER OF BOLT CIRCLE )
#15=5.0 (-R- PLANE )
#16=-20.0 (-Z- DEPTH )
#17=150.0 (FEED RATE )
(DO SOME SETUP CALCULATIONS)
#12=#12/2 (BOLT CIRCLE RADIUS)
#20=[360/#10] ( ANGLE BETWEEN HOLES)
#10=#10-1
G0 G28 G91 X0 Y0 Z0
M1
N2 T2
G30 G91 X0 Y0 Z0
G58 G90 X0 Y0 Z0 B0
M10
S2000 M3
G43 H2 Z50. M8
Z10.
(FIRST LOCATION)
G81 X[[COS[#11]*#12]+#13] Y[[SIN[#11]*#12]+#14] R#15 Z#16 F#17 (DRILL CYCLE)
WHILE[#10GT0]DO1 (LOOP)
#11=#11+#20 (POSITION HOLE TO DRILL)
#10=#10-1 (NUMBER OF HOLE DECRIMENT)
#21=[[COS[#11]*#12]+#13]
#22=[[SIN[#11]*#12]+#14]
X #21 Y#22
END1
G80
G0 Z50.
T0
M11 M9
G91 G28 Z0M5
M1
(--------)
G30 G91 X0 Y0 Z0
M6
G28 G91 X0 Y0 Z0
M30
%
has anyone setup a g-code to cut a hole patern on the actual deckin of the router, to be able to place clamps to hold your material down... similar to holes for a vacume table.
You can go to my website and use a free program that I am currently creating. It allows you to do 5 types of hole machining with 6 pattern types. There will be more on the way. the link is http://webcrib.com . I hope it will be useful to you.
Try this:
N0M5
N0G91G28Z0.
N0G28X0.Y0.
N0M01
(Drill 10mm)
N0T1M6
N0G0G90G54X-38.105Y186.65S4100M3
N0G43H1Z10.
N0G99G81Z-10.0F800
N0X-7.671Y190.346
N0X-67.552Y178.121
N0X22.962Y189.111
N0X53.Y182.979
N0X81.666Y172.107
N0X108.216Y156.778
N0X131.964Y137.389
N0X152.294Y114.441
N0X168.679Y88.53
N0X180.696Y60.325
N0X188.033Y30.558
N0X190.5Y0.
N0X188.033Y-30.558
N0X180.696Y-60.325
N0X168.679Y-88.53
N0X152.294Y-114.441
N0X131.964Y-137.389
N0X108.216Y-156.778
N0X81.666Y-172.107
N0X53.Y-182.979
N0X22.962Y-189.111
N0X-7.671Y-190.346
N0X-38.105Y-186.65
N0X-67.552Y-178.121
N0X-95.25Y-164.978
N0X-120.481Y-147.562
N0X-142.591Y-126.325
N0X-161.009Y-101.816
N0X-175.256Y-74.67
N0X-184.964Y-45.59
N0X-189.882Y-15.329
N0Y15.329
N0X-184.964Y45.59
N0X-175.256Y74.67
N0X-161.009Y101.816
N0X-142.591Y126.325
N0X-120.481Y147.562
N0X-95.25Y164.978
G0Z150
N0G80
N0M5
N0G91G28Z0.
N0G28X0.Y0.
N0M30
%
If you had a different program i could help you but i have never heard of that program so sorry dude just like they said try drawing it up on cad and import it in good luck dude.