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 > LinuxCNC (formerly EMC2)


LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-09-2010, 06:10 AM
greybeard's Avatar  
Join Date: Jun 2005
Location: UK
Age: 73
Posts: 1,368
greybeard is on a distinguished road
Understanding RS274/NGC overview....(not)

In the RS274/NGC language view, a machining center has an absolute coordinate system and nine program coordinate systems.
...from the NIST pages, which I'm reading as a prelude to understanding how to write Gcode !

Can anyone tell me why a machine should need nine program coordinate systems with a real world example ?
Or any number of them, come to that !

John
__________________
It's like doing jigsaw puzzles in the dark.
Enjoy today's problems, for tomorrow's may be worse.
Reply With Quote

  #2   Ban this user!
Old 02-09-2010, 06:42 AM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

9 vise locations? I use 2 when I make circuit boards - on for the front and one for the back (2 different zero locations on my vacuum table)

sam

Last edited by samco; 02-09-2010 at 08:49 AM. Reason: plural to singular
Reply With Quote

  #3   Ban this user!
Old 02-09-2010, 08:59 AM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

like this - then you can have a zero point or such at each vice...

Reply With Quote

  #4   Ban this user!
Old 02-09-2010, 03:57 PM
vlmarshall's Avatar  
Join Date: Mar 2006
Location: usa
Posts: 474
vlmarshall is on a distinguished road

Good question! Here's a few more examples:

Just like Samco posted... I've got 4 vises in a machine at work right now, two of them with a single work offset, and two with two offsets, all set around the parts in them.

In another machine, I've almost always got 4 or 6 of the System 3R clamping blocks set up, as well as a work stop in a single vise.

When I've got a 4th axis set up, I'll usually leave a work offset with the Y axis set for that, even between jobs.

At home, I've machined the first operation of a few parts in a vise, and the second operation on a fixture plate nearby, each with it's own coordinate system.

I've used my mill as a lathe, with tools on the table, each with it's own zero point.

Samco's example gets even more complex with softjaws, holding two parts in each vise, when 9 offsets aren't enough.
__________________
http://www.youtube.com/user/vlmarshall
Reply With Quote

  #5   Ban this user!
Old 02-10-2010, 03:17 AM
greybeard's Avatar  
Join Date: Jun 2005
Location: UK
Age: 73
Posts: 1,368
greybeard is on a distinguished road

So, if I've got it right, the 9 coordinate systems are allowing you to set up multiple jobs on the table, then run one routine on one job, while loading/unloading others. Then having finished job one, the machine can run routine 2 on fixture 2, where routines 1 and 2 could be the same or different, but are within a program that has been set up to run up to nine different jobs.
So you can write routines, store them till needed, then drop them into any program, just giving the coordinates for that fixture in that routine?

Please expand the above if there are other important facilities it gives.
Many thanks
John
__________________
It's like doing jigsaw puzzles in the dark.
Enjoy today's problems, for tomorrow's may be worse.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-11-2010, 04:46 AM
vlmarshall's Avatar  
Join Date: Mar 2006
Location: usa
Posts: 474
vlmarshall is on a distinguished road

Well, I almost never mess around in/on a machine while i's running, but the bit about multiple jobs is correct.
I see you're developing a V-Carve-like program (very impressive, by the way), so I'll use sign engraving as an example. Let's say that you mass-produce wooden wall plaques. Some of them hang vertically, and some with the long dimension horizontal, "landscape", as my printer calls it.

You've got a fixture that locates the upper edge and one corner in the same place every time you put a part on the table, no matter the orientation. Also assume you want to dimension all of your work from the center of the plaque. That center point will be in a different table location for each of the two plaque styles, and you might not want to go back and find the center each time you engrave one. Set G54 for the center of the plaque when sitting vertically, G55 for the center of a horizontal plaque, G56 for the keyhole hanger on the back of the vertical style, and G57 for the hanger location on the "landscape" plaque.

Now you can write one program for the keyhole hanger, which may start:
G56 G00 G90 G17 G21
T1 M6
G43 H1
S5000 M3
X0 Y0 Z1.
etc...
A quick edit of the G56 to G57 will move your entire keyhole-cutting routine to the alternate location.

Likewise for the front side, save two "templates" in your CAD program, or in your case, maybe make your carving program find the center of a block of text, and dimension from there... either way, a switch in the finished g-code between G54 and G55, will move your engraving to the correct pre-set location.

Just an example, one of many. I hope I've made things a little clearer. That's the fun of this trade/hobby, all of this is like a big pile of Lego, Meccano, or such; a huge set of tools, and no single "correct" way to use them.
__________________
http://www.youtube.com/user/vlmarshall
Reply With Quote

  #7   Ban this user!
Old 02-11-2010, 05:30 AM
greybeard's Avatar  
Join Date: Jun 2005
Location: UK
Age: 73
Posts: 1,368
greybeard is on a distinguished road

Many thanks for giving me real world detail.
Just the sort of example that makes all the difference.

I must see if I can convert my coreldraw vector files to something a bit clearer than jpegs, then I can post better diagrams of what I'm trying to do, and any progress I make.
Thanks again for the help.
John
__________________
It's like doing jigsaw puzzles in the dark.
Enjoy today's problems, for tomorrow's may be worse.
Reply With Quote

  #8   Ban this user!
Old 02-12-2010, 08:53 PM
 
Join Date: Mar 2004
Location: St. Louis, MO
Posts: 309
jmelson is on a distinguished road

Originally Posted by greybeard View Post
...from the NIST pages, which I'm reading as a prelude to understanding how to write Gcode !

Can anyone tell me why a machine should need nine program coordinate systems with a real world example ?
Or any number of them, come to that !

John
The machine coordinate system is based on the machine itself. You don't wan to have to write your G-code to know that the corner of your part is at (1.234 , 2.456) inches from the machine home position, you want to be able to set your part to be at (0,0) or some logical coordinates.

There has to be a machine coordinate system because the machine has physical ends of travel, and may have leadscrew error compensation based on the machine position. So, you can't just set the machine coordinates as you please. That's why there is a part coord system that can be arbitrarily set. Well, if you have one system, why not a couple more, for different fixtures on your table? You don't have to use them ALL, I never have. But, I can use a couple for different parts on a multi-part fixture, for instance.

Jon
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
BobCAD-CAM Online System Overview The One General CAM Discussion 0 04-17-2009 08:45 AM
Overview of our Shoptask Experience devinchi Shopmaster/Shoptask 39 03-02-2008 10:16 AM
Viper servo drive overview Larken Viper Servo drives 39 06-30-2007 01:36 PM
Some one Gimme an Overview big_mak Rhino 3D 1 08-01-2006 04:47 AM
Simple Overview Cold Fusion OneCNC 13 01-08-2005 10:48 AM




All times are GMT -5. The time now is 05:16 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