![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
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. |
|
#2
| ||||
| ||||
| 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) |
|
#3
| |||
| |||
| 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 |
|
#4
| |||
| |||
| 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 |
|
#5
| ||||
| ||||
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) |
| Sponsored Links |
|
#7
| ||||
| ||||
| 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. |
|
#8
| |||
| |||
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. |
|
#11
| ||||
| ||||
| 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 % |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Milling a Circle | rcazwillis | General Metalwork Discussion | 15 | 04-19-2005 09:21 AM |
| Supplier of Plastic Hex Bolt Covers - Where? | creative_mind | CNCzone Club House | 3 | 12-30-2004 10:23 AM |
| Bolt spacing on THK rail? | samualt | DIY-CNC Router Table Machines | 6 | 07-24-2004 07:36 PM |
| Bolt On Quill Drive Unit | Kookaburra | Bridgeport and Hardinge Mills | 11 | 04-01-2004 12:19 AM |
| Find the center of a circle | Hobbiest | WoodWorking | 7 | 01-28-2004 12:24 AM |