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
  #13   Ban this user!
Old 01-03-2007, 05:09 PM
 
Join Date: Dec 2006
Location: United States
Posts: 217
webgeek is on a distinguished road

Originally Posted by andy55
realtime is not about throughput, it's about latency.
True enough, the latency of those high throughput technologies is variable (though coming down dramatically with some tweaks to USB) BUT that is no reason for us to assume that signals need to be generated directly from the PC. Gecko's use of a signal generator tied to the PC makes perfect sense. Let the PC do what it does best and let low-level hardware handle generating signals. I'd love to see something like the Gecko controller as an I/O board I can just drop into my computer.
Reply With Quote

  #14   Ban this user!
Old 01-03-2007, 05:16 PM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

The point Tom Brown and webgeek are missing is that with a 66 MHz pc and a parallel port I can successfully run a milling machine including a pretty decent GUI. Of course, I better firewall it pretty good because it will be rooted in about 10 minutes. Now they've increased the processing power 50 times, and I need to run a cable from the back of my 4GHz computer to another processor that has roughly the same power as a 66MHz Pc. So I'm replicating my PC only with a proprietary device. It will be so much easier for the entire software/hardware industry when those pesky device drivers are all gone. What's happening is that there are now tons of proprietary designs like the Intel Stargate and the gumstix that are popping up where a pc alone could have gone. I really don't know why the parallel port is still around, but the serial port is incredibly useful for a lot of things, so I expect to see the Tiawanese Mobo manufacturers keep that around for a while longer. A realtime system I built was synchronized with 115kbaud serial, and it works extremely well, but my method is pretty specialized to the one problem. The canbus that makes new cars work is just a fast serial port, and that is very useful. Too bad it wasn't invented by IBM for the orignial pc.

As far as latency goes, the ISA bus still rules the world of serial and parallel ports. They just don't have the ISA bus connectors. But that latency is deterministic. Ethernet can be made deterministic, but USB can't. Firewire also is fairly deterministic, but IMHO, it's a goner. There is a $500 ethernet card for gamers which is low latency.

I'm not a big fan of step/direction control, but it works ok for a stepper system. I wouldn't run my giant VNC with it though.

Actually, connecting to the USB bus is trivial if you have $14. Or you can have remote intelligence and usb for $20-$30. It just doesn't do real-time unless you need tons of data at a 1Hz rate. I'm sure there are problems like that, but most people don't have the guts to sample that slow.
Reply With Quote

  #15   Ban this user!
Old 01-04-2007, 01:41 AM
 
Join Date: Apr 2005
Location: finland
Posts: 262
andy55 is on a distinguished road

moving all of the RT of motion-control into dedicated hardware is not as easy as it seems. If you look at the RT part of EMC you will see that it includes trajectory control (acceleration/jerk limited velocity profiles), blending in G64 mode etc.
Those require a lot of processing and not just a simple step/dir generator...
Reply With Quote

Sponsored Links
  #16   Ban this user!
Old 01-04-2007, 09:08 AM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

Originally Posted by andy55 View Post
moving all of the RT of motion-control into dedicated hardware is not as easy as it seems.
And it's silly when the computer can do the work. The only reason the work is being forced off of the computer is because Microsoft doesn't want to do real-time processing. The generic Linux kernel is actually moving towards real-time capabilities, so it makes sense to keep it on the cheap high-performance hardware. I can buy a low-end computer for what a GRex costs. I don't know which is going to be obsolete first, a cheap computer I buy today or a GRex, but I'm guessing the computer is going to be around much longer.
Reply With Quote

  #17   Ban this user!
Old 01-04-2007, 09:34 AM
 
Join Date: Dec 2006
Location: United States
Posts: 217
webgeek is on a distinguished road

Ha ha, my comments started more discussion then I intended. I didn't mean to be argumentative I just don't like that parallel ports are the interface of choice for CNC yet becoming increasingly less common on PCs. My latest PC doesn't even have one and this is starting to be happen more and more on high-end motherboards. Sadly, none of my laptops do either. So now I have to purchase a parallel port expansion board (and burn a rare PCI slot) for my latest machine just to control an external device when I already have "newer" external ports (USB, Firewire, eSATA, ethernet, etc) coming out of my ears. Now I agree with you that parallel ports appears to be the ideal way to control CNC equipment, but a guy can hope can't he?

The point Tom Brown and webgeek are missing is that with a 66 MHz pc and a parallel port I can successfully run a milling machine including a pretty decent GUI.
Is that TurboCNC? I didn't know of anything that could run on a machine that slow. Heck, I can't get a 500MHz machine to properly run any controller software as it's border-line for EMC according to the docs.

Thanks!
Reply With Quote

  #18   Ban this user!
Old 01-04-2007, 09:44 AM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

I didn't really want to be argumentative either, but I know it came across that way. The whole idea of EMC and realtime linuxes is that you can develop a realtime system without going into embedded systems.

My point about the 66MHz computer is that you can go back to old versions of linux and EMC and run those. It would take work at this time, but the hardware is capable of doing the job. It would be silly too, because you can have a modern linux on a much faster cheap computer for very little money.

One thing people have done is run EMC over the network, with one computer just doing the realtime stuff, and the display working on another computer. You could even do the display on a windows computer. I'm basically doing the same thing right now, there is a big cluster of linux computers in the back room doing calculations and I'm running them from this windows computer.
Reply With Quote

  #19   Ban this user!
Old 01-05-2007, 04:13 AM
 
Join Date: Dec 2006
Location: United States
Posts: 217
webgeek is on a distinguished road

One thing people have done is run EMC over the network, with one computer just doing the realtime stuff, and the display working on another computer. You could even do the display on a windows computer. I'm basically doing the same thing right now, there is a big cluster of linux computers in the back room doing calculations and I'm running them from this windows computer.
I'm very interested in this. My latest machine will be running Linux in a multi-boot scenario already so this might be a good option. How do you run EMC remotely? I probably missed it in the docs somewhere. Thanks!
Reply With Quote

  #20   Ban this user!
Old 01-05-2007, 08:31 AM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

I've never run EMC remotely. It may be as simple as logging in using ssh with x enabled, and then exporting your display export DISPLAY=xxx.xxx.xxx.xxx:0 where xxx.xxx.xxx.xxx is the ip address where you want the display
and then running EMC the normal way. I don't know why that wouldn't work.
Reply With Quote

Sponsored Links
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





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