CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 01-06-2005, 10:17 PM
 
Join Date: Jan 2004
Location: LaSalle, Illinois
Posts: 7
capitalv is on a distinguished road
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.
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 01-07-2005, 10:56 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

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)
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 01-08-2005, 12:07 AM
 
Join Date: Apr 2003
Posts: 468
gmfoster is on a distinguished road

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
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 01-08-2005, 12:34 AM
Gold Member
 
Join Date: Jun 2003
Location: United States
Age: 26
Posts: 1,387
JFettig is on a distinguished road

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
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 01-08-2005, 01:05 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

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)
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-03-2005, 03:01 PM
 
Join Date: May 2004
Location: United States
Posts: 5
bbailey is on a distinguished road

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.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 02-03-2005, 03:11 PM
Swede's Avatar  
Join Date: Dec 2003
Location: United States
Posts: 383
Swede is on a distinguished road

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.
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 02-03-2005, 06:04 PM
*Registered*
 
Join Date: Apr 2004
Location: Norway
Posts: 678
ESjaavik is on a distinguished road

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.
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.
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 02-04-2005, 05:09 AM
 
Join Date: May 2004
Location: United States
Posts: 5
bbailey is on a distinguished road

Send me your e-mail address to my private message, and I'll send you a copy.
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 02-04-2005, 03:40 PM
 
Join Date: Dec 2004
Location: usa
Posts: 8
mike_lera is on a distinguished road

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
File Type: txt 40 hloes7.5.txt‎ (1.5 KB, 157 views)
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-19-2005, 11:34 AM
oldjohn's Avatar  
Join Date: Feb 2005
Location: Sydney Australia
Posts: 71
oldjohn is on a distinguished road
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
%
Tweet this Post!Share on Facebook
Reply With Quote

  #12  
Old 02-19-2005, 01:55 PM
joecnc2006's Avatar
www.joescnc.com
 
Join Date: Aug 2004
Location: usa
Posts: 3,055
joecnc2006 is on a distinguished road

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.
Tweet this Post!Share on Facebook
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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




All times are GMT -5. The time now is 10:55 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353