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 04-20-2006, 10:17 AM
 
Join Date: Jan 2006
Location: United States
Posts: 15
GTmike400 is on a distinguished road
Code with Vertical Arcs, and 3 axis travel help

Im not sure if this is the right place to post this, so feel free to move it if its not.

I need to machine some spindles for my street rod model out of aluminum. Im having a very difficult time writing the code by hand since the finishing moves are moving on all three axes at once. I can write the linear motions pretty easily since its from one point to another, but writing the codes for the arcs (the XYZ coordinates for the start point and end point are completely different) is where I'm having troble since they use relative positioning. Any suggestions?

I had thought about taking my AutoCAD drawings and importing them into MasterCAM but I have no experience what so ever doing that, so Im stuck there. What would I need to import into MasterCAM, and write it into a G-Code for a Fanuc?

Heres a basic wireframe I drew in CAD in 3D, but its not a solid model yet.


Can anyone help? Any assistance would be appreciated.
Reply With Quote

  #2   Ban this user!
Old 04-20-2006, 01:25 PM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

normal gcode can only do arcs in the xy xz and yz planes. xy is by default (g17)
G17 – XY plane, X and Y [offsets I, J] [linear Z axis]
G18 – ZX plane, X and Z [offsets I, K] [linear Y axis]
G19 – ZY plane, Y and Z [offsets J, K] [linear X axis]

if your arc are not perfectly allinged to those plane they will have to be converted to short line segments. (can't imagine doing that by hand )

sam

edit add. You may be able to add the linear movement in the 3rd axis to get what you want (so you would be creating a section of a helical cut) - but I am not sure that would work for what you want.
Reply With Quote

  #3   Ban this user!
Old 04-20-2006, 01:45 PM
Paul_S's Avatar  
Join Date: Mar 2003
Location: Mira Loma, California
Posts: 147
Paul_S is on a distinguished road

G17 default XY plane
G18 is ZX plane cw (G02) and ccw (G03) is looking from the back of the machine to the front.
(some controls allow XZ format cw (G02) and ccw (G03) looking from the operators view)
G19 is YZ plane.
__________________
Safety - Quality - Production.
Reply With Quote

  #4   Ban this user!
Old 04-20-2006, 01:57 PM
Paul_S's Avatar  
Join Date: Mar 2003
Location: Mira Loma, California
Posts: 147
Paul_S is on a distinguished road

". . . is where I'm having troble since they use relative positioning." I assume G91 format.
The J, K and/or I, K are the signed distance from the start point to center. (Fanuc style format)(others, rare, from the center to to the start point.)
In quarter quadrant format (old NC type controls) the distance is unsigned.
__________________
Safety - Quality - Production.
Reply With Quote

  #5   Ban this user!
Old 04-20-2006, 03:14 PM
 
Join Date: Jan 2006
Location: United States
Posts: 15
GTmike400 is on a distinguished road

Originally Posted by samco
if your arc are not perfectly allinged to those plane they will have to be converted to short line segments. (can't imagine doing that by hand )
Well, the arcs aren't aligned to any of the axes. So this poses a rather large problem.

I need this part machined soon, so how hard would it be to take the 3D AutoCAD file in MasterCAM to write the code? I've never used MasterCAM before, I've only opened the software at school to see if it can import dwg's.
Reply With Quote

Sponsored Links
  #6  
Old 04-20-2006, 07:16 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,454
ger21 is on a distinguished road
Buy me a Beer?

You might want to look at the demo of MeshCAM, www.meshcam.com Just export a solid model from AutoCAD as an .stl, and MeshCAM can do it very quickly and easily.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #7   Ban this user!
Old 04-21-2006, 03:55 AM
Paul_S's Avatar  
Join Date: Mar 2003
Location: Mira Loma, California
Posts: 147
Paul_S is on a distinguished road

Originally Posted by GTmike400
Well, the arcs aren't aligned to any of the axes. So this poses a rather large problem.

I need this part machined soon, so how hard would it be to take the 3D AutoCAD file in MasterCAM to write the code? I've never used MasterCAM before, I've only opened the software at school to see if it can import dwg's.
If you are going to use MasterCAM to machine those off angled arcs, use the finishing "scallop" feature for the best results (my opinion). Use .054 x the sqr(tool radius) x sqr(desired finish / 125) to get your scallop width. Then use the filter feature to get the file size down.
__________________
Safety - Quality - Production.
Reply With Quote

  #8   Ban this user!
Old 04-21-2006, 08:53 AM
wjbzone's Avatar  
Join Date: Apr 2003
Location: United States
Posts: 396
wjbzone is on a distinguished road

GTmike400,
If you are familiar with Autocad you might be interested in this:
http://www.wjbzone.com/wjbzone-mdt-gcode.html

Especially if you have MDT.

Bill
Reply With Quote

  #9   Ban this user!
Old 04-21-2006, 05:06 PM
 
Join Date: Apr 2005
Location: US
Posts: 14
Goat is on a distinguished road

In MasterCAM you are going to have to import your autocad dwg, then turn those arcs into a surface feature. The you machine it by using a suface toolpath. MasterCAM's help library is pretty good if you are not afraid to play with it.
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





All times are GMT -5. The time now is 08:09 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 354 355 356 357 358 359 360 361