588,533 active members*
8,743 visitors online*
Register for free
Login
Results 1 to 15 of 15
  1. #1
    Join Date
    Jan 2004
    Posts
    7

    I Need Help G Coding A Bolt Circle

    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. #2
    Join Date
    Mar 2003
    Posts
    4826
    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. #3
    Join Date
    Apr 2003
    Posts
    550
    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. #4
    Join Date
    Jun 2003
    Posts
    1365
    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. #5
    Join Date
    Mar 2003
    Posts
    4826
    Quote Originally Posted by JFettig
    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! 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)

  6. #6
    Join Date
    May 2004
    Posts
    5
    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:

  7. #7
    Join Date
    Dec 2003
    Posts
    383
    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. #8
    Join Date
    Apr 2004
    Posts
    678
    Quote Originally Posted by bbailey
    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'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.

    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.

  9. #9
    Join Date
    May 2004
    Posts
    5
    Send me your e-mail address to my private message, and I'll send you a copy. :banana:

  10. #10
    Join Date
    Dec 2004
    Posts
    10
    Capitalv give me your e-mail and i will send you the code for a 40 hole 7.5" .5" deep ready to run
    Attached Files Attached Files

  11. #11
    Join Date
    Feb 2005
    Posts
    78

    Smile

    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
    %

  12. #12
    Join Date
    Aug 2004
    Posts
    3215
    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.

  13. #13

    CNC hole machining

    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.

  14. #14
    Join Date
    Feb 2007
    Posts
    464
    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

    %

  15. #15
    Join Date
    Feb 2007
    Posts
    33
    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.

Similar Threads

  1. Milling a Circle
    By rcazwillis in forum MetalWork Discussion
    Replies: 15
    Last Post: 04-19-2005, 02:21 PM
  2. Supplier of Plastic Hex Bolt Covers - Where?
    By creative_mind in forum Community Club House
    Replies: 3
    Last Post: 12-30-2004, 04:23 PM
  3. Bolt spacing on THK rail?
    By samualt in forum DIY CNC Router Table Machines
    Replies: 6
    Last Post: 07-25-2004, 12:36 AM
  4. Bolt On Quill Drive Unit
    By Kookaburra in forum Bridgeport / Hardinge Mills
    Replies: 11
    Last Post: 04-01-2004, 06:19 AM
  5. Find the center of a circle
    By Hobbiest in forum WoodWorking Topics
    Replies: 7
    Last Post: 01-28-2004, 06:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •