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! > CAM Software > General CAM Discussion


General CAM Discussion Discuss CAD/CAM software and Design software methods here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-06-2003, 08:37 PM
 
Join Date: Sep 2003
Location: Oak Grove, MN USA
Posts: 8
T-bolt is on a distinguished road
Question why G17 G18 G19?

i would like to see a technical article dealing with why standard g-code restricts arcs to the 3 major planes. i realize that with some newer controllers you are able to define custom planes. i just wonder why arcs couldn't have been defined: xyz start, xyz end, xyz center. i work with visualmill and wonder how much smaller my programs would be if the cam system was allowed to fit arcs freely.


thanks,

jeremy hill

(i posted this question at mmsonline a week ago, and no one yet has replied)
__________________
We've got a pool....and a pond....the pond would be good for you.
Reply With Quote

  #2  
Old 10-06-2003, 09:34 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Hi T-bolt,

This would just be a guess, but I suppose the limitation was natural due to the inability of many controllers to be able to perform an interpolation of this type.

In my mind, the stickler on this issue is the feedrate of the three axis during an interpolated movement such as you have postulated. Normal 2 axis circular interpolation has a very predictable relationship between the position and the speed, defined by the trigonometry of an arc. Normal 3 axis linear interpolation also has a simple formula which can calculate the 3 feedrates to move between two points in a straight line.

Now, when I think about crossing planes while doing a circular interpolation in 3 axis, my brain shuts down For example, cutting a vertically oriented arc, while moving from the X+Y+ quadrant to the X-Y- quadrant (a 45 degree plane rotation), the controller needs to generate a feedrate in X and Y that contains both a circular and a linear component to the feedrate. This would be a highly intensive calculation that would have to be "customized" for every conceivable rotation of the plane you want to move in.

It could just be a matter of the raw processing power needed to calculate the continuously varying feedrates to each 3 axis increment. Lots of controllers are still being manufactured with cpus from the early 90's.
__________________
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)
Reply With Quote

  #3   Ban this user!
Old 10-06-2003, 10:10 PM
hardmill's Avatar  
Join Date: Mar 2003
Location: United States
Posts: 499
hardmill is on a distinguished road

Im going to say because it has been a standard for who knows
how long. I do applaude your train of thought.
With current advancements I would'nt be surprised to see
something along this line in the future.
Good job, way to use your melon.

PEACE

Last edited by hardmill; 10-06-2003 at 10:30 PM.
Reply With Quote

  #4  
Old 10-06-2003, 10:54 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Maybe someone could invent a 6 axis machine that has an XY table mounted atop another XY table, and dedicate one table to linear movements, and the other one to circular movements. Combine the two together, and T-bolt would have his dream machine. Mind you, someone would have to write software for it.
__________________
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)
Reply With Quote

  #5   Ban this user!
Old 10-07-2003, 09:11 AM
 
Join Date: May 2003
Location: harbor city, ca
Posts: 37
Bill is on a distinguished road

Hey guys there was a mill that HFD is talking about, when I was working at Rockwell in the jigbore department we had a rotary mill, the table standard xyz, but the head/spindle was a rotary table with xyz movement.

Bill Johansen
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-07-2003, 06:23 PM
 
Join Date: Sep 2003
Location: Oak Grove, MN USA
Posts: 8
T-bolt is on a distinguished road

here's where you guys can maybe straighten me out a little. it seems that it wouldn't have been hard for the controller to establish a cutting plane based on the arc coordinates, since arcs are always planar entities. then the move would be standard circular interpolation. it seems that this would be a very logical development, since the code required to make most contouring passes could be magnitudes smaller, and the block processing speed of the controller wouldn't be nearly as much of a factor(read: hsm).

thanks for the input,

jeremy hill
__________________
We've got a pool....and a pond....the pond would be good for you.
Reply With Quote

  #7  
Old 10-07-2003, 07:07 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

The trouble is Jeremy, that every motion actually has to be factored across the 3 servo amplifiers. Certain simultaneous movements are possible only because the mathematical relationship is well defined.

For example, a 3 axis linear move, has three different feedrates that can be computed for each axis so that they arrive at the endpoint at the same moment. The 3 axis drives are unaware that the other ones exist, only the controller establishes the relationship between them, by factoring the output vector into its components.

For a 2 axis circular interpolation, one axis has a sinusoidal relationship to the feedrate, while the other axis has a cosinusoidal relationship. Again, neither axis "knows" what the other one is doing.

I am not certain how simple it would be to create a feedrate that is not linear and not circular. Essentially, the curves you are describing would be ellipses, parabolas or hyperbolas within the Cartesian coordinate system, so these types of functions would need to be incorporated into the controller software to produce the desired feedrate factor and smoothness. At present, the simplest way to do this is with interpolated segments that are approximately correct in what they represent.

Look at it from another aspect. Suppose you have software that is capable of doing what you want. Then, the problem becomes "how do you prevent infinite programs?" Indeed, if you break free from the Cartesian coordinate system, then there is no limit to the cutting planes, and whether they should be radial, or planar patterns or what. I think that once you have made a choice about what kind of path you intend to cut, that there is not very much functionality in cutting only arcs "across planes" because this would very seldom pan out to be the actual situation.
__________________
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)
Reply With Quote

  #8   Ban this user!
Old 10-07-2003, 07:28 PM
balsaman's Avatar  
Join Date: Mar 2003
Location: Canada
Posts: 2,139
balsaman is on a distinguished road

I just came back from robot programming training. The robots are typically 6 axis. They are able to move the tool in arcs in any plane using all 6 axis simultaiously based on 3 programmed points. Start, middle, end. Quite cool to watch. I think it's done the way it is in CNC because of the limitations of controllers/software back from the 60's when the whole cnc thing was new. The standards were set then, and we are still stuck with them.

Eric
__________________
I wish it wouldn't crash.
Reply With Quote

  #9   Ban this user!
Old 10-07-2003, 07:57 PM
balsaman's Avatar  
Join Date: Mar 2003
Location: Canada
Posts: 2,139
balsaman is on a distinguished road

And don't forget, we have just had software that is capable of doing this kind of 3 axis 3D toolpaths in the last 10 years, and the gcode produced needs to run on 30 year old mills.

Eric
__________________
I wish it wouldn't crash.
Reply With Quote

  #10   Ban this user!
Old 10-09-2003, 01:33 PM
 
Join Date: Aug 2003
Location: Moody, Maine
Posts: 8
coldplugs is on a distinguished road

Originally posted by balsaman
And don't forget, we have just had software that is capable of doing this kind of 3 axis 3D toolpaths in the last 10 years...
This is true for PC based software but mainframe APT/360 and later APT variants had powerful 5-axis capability starting in the late 1960's. The output CL files had enough info to do arcs on any plane, if the postprocessor and machine tool controller were up to it. [I'm very old, so I remember this stuff]

If you were refering to the software in the CNC controller, sorry to butt in.
__________________
John C
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-09-2003, 04:26 PM
balsaman's Avatar  
Join Date: Mar 2003
Location: Canada
Posts: 2,139
balsaman is on a distinguished road

I was refering to CAM software.

Eric
__________________
I wish it wouldn't crash.
Reply With Quote

  #12   Ban this user!
Old 10-10-2003, 10:03 PM
CoolHand's Avatar  
Join Date: Apr 2003
Location: Deep Dark Missouri Woods
Posts: 65
CoolHand is on a distinguished road

OK, correct me if I am wrong here, but isn't cutting an arc from xyz1 to xyz2 possible right now?

My machine will cut helixes in any of the three planes, thus giving 3D arcs in pretty much any direction.

Granted, its only a 3 axis machine, so the tool is always comming from the top, but you can get a path that curves in pretty much any direction.

Am I missing something here, or is this uncommon?
__________________
Ryan Shanks
Logic Industries LLC http://www.logic-industries.com
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
using vmc as a lathe ddwinn General CNC (Mill and Lathe) Control Software (NC) 7 04-25-2005 07:48 AM




All times are GMT -5. The time now is 12:51 AM.





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