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 07-16-2006, 09:28 AM
 
Join Date: Apr 2006
Location: USA
Posts: 3
gfixler is on a distinguished road
A host of EMC newbie questions - sorry!

(feel free to skip down to QUESTIONS if you're busy/impatient!)

I've been lurking for about a month, wary of posting, as there are something like 132 forums in 15 sections, and I wanted to read as much as possible (here and via Google) before repeating questions asked a million times. Also, it took me a long time to even find the link for making a new post - "Forum Tools" indeed This is one enormous site, and a bit hard for a n00b like me to navigate, but I'm glad it's here, because I'm going to need it.

I've been "inventing" things since I was a kid, always disappointed with hand tools, and budget bench equipment, and unable to get my hands on the big toys. I always wished specifically that someone would make a small, affordable mill for hobbyists like me, and then this year at the Maker Faire, I saw one (actually, it was at the Hobby Engineering booth, being operated by the owner/site manager), and fainted, and ran home to Google for a week straight without sleeping. Now my brain is melting from info overload - everything from woodworking to injection molding - making stuff rules, and the more I read up on, the more there is to read up on. If only I'd known years ago that I had all these options.

I settled on, and now have a Sherline 5400 with their stepper motors, including a 4th on their rotary table. I'm quite happy with it - it's what I need right now. I've been cranking out little tests for weeks, learning about centering and aligning things, and wigglers and handwheels, and making my quota of newbie mistakes, but my latest attempt to make a fairly involved jig for some toy pieces I want to make is the last straw. I'll finish it up, so I have at least *some* material for holding over future generations of slackers who don't know how easy they have it, but I want to get the CNC stuff up and running finally. Furthermore, reading up on the subject extensively now, I've lost faith in my limited electronics and programming background. I've made stepper motors do some fun things, and I've programmed PICS and BASIC Stamps, but I'm able to say finally that all I've done, or probably would do is chicken scratch to what's available. It's time to shell out some money, but to save at least some of my remaining funds, EMC seems a viable option. I'll be going with Ubuntu, and probably getting a new PC, and using my current, small, Shuttle SS51G PC (no parallel ports), should I go this route. Now for the questions, finally!

QUESTIONS:

1) Can EMC handle a serial input? I found one question on the site, but it descended into talk over some ancient computer port formats, and didn't seem to just say that EMC can do serial. If so, what's required?

2) If it can't do serial, has anyone managed a serial to parallel conversion? I would be hoping for something that went from the DB-25 parallel to the 9-pin RS232 connector made famous in part by PC COM ports, and 8-bit video game console controller ports. I bought one of these once, and it came in with a Centronix thing on the parallel end. I'd assume anything that went from parallel to a single serial line would involve a little breakout box with shift registers or somesuch. Honestly, I'm having a hard time even finding something like this - the RS232<->parallel stuff I've seen online has DB-25s on both ends, which is disheartening.

2) Is there anything nice and simple like Sherline's controller that *isn't* $600 dollars (and serial would be nice)? This just doesn't look like the better part of a grand to me. I'm still considering it, as I have 4 Sherline motors, with their DIN connectors, and I know it would just work, but still...

3) Honest opinions about EMC? I'd LOVE to get any kind of pros/cons. I can't seem to stumble upon this hidden info online. What do you wish it had that some/all other CNC apps have? What's holding it back, or making it clunky? What can it do that's unique and special to it, if anything? Is there a lower limit to the PC specs? I feel like all the info is running me in big, time-sinking, infoless circles.

4) If I get the Sherline controller box, will other things be able to talk to it? If I give up on EMC, and go with something like DeskCNC, or this Bob I keep hearing about, do I need to Ebay the Sherline box?

That's a lot for now. I greatly appreciate any info on any of that, eventually becoming more knowledgeable, and then helping future n3wbs with their transition periods.
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 07-16-2006, 01:57 PM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

Originally Posted by gfixler
1) Can EMC handle a serial input?
If you mean for motion, EMC can't handle serial port at this time. If all you were doing is sending out something like step/direction, it would be fairly easy to modify an existing driver. I have written an EMC driver.

Originally Posted by gfixler
2) If it can't do serial, has anyone managed a serial to parallel conversion?
Same problem as above. You have to fit within the EMC framework, which is basically a closed loop motion controller.

Originally Posted by gfixler
2) Is there anything nice and simple like Sherline's controller that *isn't* $600 dollars (and serial would be nice)?
I think that most of the step/direction stepper controllers available are cheaper than Sherline, including a full Gecko system. There are lists of controllers here on CNCZone.

Originally Posted by gfixler
3) Honest opinions about EMC? I'd LOVE to get any kind of pros/cons.
You are moving into areas that border on religious belief, so the following is my biased opinion:
The main argument against EMC is that it doesn't run Windows. There are some neat features to Mach that EMC doesn't have. EMC is more robust. EMC can be much harder to set up. Bill Gates can't download an update to your computer that makes EMC stop running. With any software, the faster the computer the better. EMC will run on a 500MHz computer. In fact, I've run it on a 66 MHz computer, but Linux no longer runs on such computers, so it's not currently workable. I've seen people saying 200 MHz as the lower limit, but I can't imagine it.

Originally Posted by gfixler
4) If I get the Sherline controller box, will other things be able to talk to it? If I give up on EMC, and go with something like DeskCNC, or this Bob I keep hearing about, do I need to Ebay the Sherline box?
I think Mach will work with it, but you would have to verify that.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 07-16-2006, 10:57 PM
 
Join Date: Apr 2006
Location: USA
Posts: 3
gfixler is on a distinguished road

Thanks for all the good info, Unterhaus! I'm glad for a definitive answer to the parallel/serial question. The user's manual didn't even contain the word "serial," but I didn't want to go only by that. The more I think about it, the more I'm realizing that when I swap this computer out for a new one, I can remove both of the PCI cards (only has 2 slots - currently Nvidia and an ATI All-In-Wonder), and use regular onboard video, and then I'll have room for something like this.

And yes, I've been Windows since the beginning, Mac for a year back in the late 90s, but ever since I got pretty majorly hacked through a VNC hole a few weeks back, I've just decided I'm finally tired of all the rampant security holes, and Microsoft's increasingly controlling ways. I have 0, no wait, negative interest in Vista. I'm tired of handing over control and freedom. I'm going to dual-boot my new PC with XP and Ubuntu, and make this old one just Ubuntu over on my workbench, and network them together for sharing things. I'll likely do my modeling in Maya on XP (which I also use at work), generate the G-code, and send it over to the old PC at the mill.

But now I'm just thinking out loud. Thanks again for the info.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 07-17-2006, 04:24 AM
 
Join Date: Apr 2005
Location: finland
Posts: 262
andy55 is on a distinguished road

Originally Posted by gfixler
3) Honest opinions about EMC? I'd LOVE to get any kind of pros/cons. I can't seem to stumble upon this hidden info online. What do you wish it had that some/all other CNC apps have? What's holding it back, or making it clunky? What can it do that's unique and special to it, if anything? Is there a lower limit to the PC specs? I feel like all the info is running me in big, time-sinking, infoless circles.
with some additional hardware EMC can control servos which have encoder feedback. Not many other pc-based controllers can do this.

The lookahead/blending code is still not perfect but has improved quite a lot lately.

The hardware interface (HAL) is very flexible which allows jog-pendants and all kinds of custom IO you might require.

the backplot/preview in AXIS is nice, don't know if other programs have that.

It's open-source so with enough knowledge you can allways improve it or add new features.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 07-17-2006, 11:28 PM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

If you really want to swear off windows and use linux full time, there is no reason why you wouldn't stick with EMC. The main group who don't like EMC are those who don't have any connection to linux, and end up not liking the shortcomings of Linux.

I think people are happier with the support they get for Mach, but that's because there is one guy who always fixes every problem because everyone is his customer. With EMC, there are lots of volunteers, and it's not always obvious to people how to get help. If anyone is serious about using EMC, they should subscribe to the user's mail list. There is also an IRC channel.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-17-2006, 11:59 PM
 
Join Date: Dec 2005
Location: USA
Posts: 3,319
NC Cams is on a distinguished road

Food for thought: Bridgeport ran a full CNC 4 axis machine with their own PLC board and a 133mhz or SLOWER DOS machine in the mid 90's.

The exact same PLC card, albeit with different proms and glue chips, ran a CNC lathe, a CNC mill and a CNC surface grinder. Alas, it isn't supported anymore since BPT went under but Oh what could have been if you had a 1 ghz DOS machine in concert with companion bus/hardware support.

And the nice part is that DOS is essentially FREE as are the computers. Sadly, Windows has been crammed down the throats of the machining community. It has it's problems, especially when it comes to "openness", especially since the inception of Win 2k or above. Ask anone who's had a blue screen in the middle of a program when the uP decides to do something and/or hobbles/bobbles what had once been a perfectly smooth finish cut.

Sorry, but I can't help but feel that Windows is NOT a CNC focused O/S. Yes guys get it to work but you're too dependant on drivers and DLL's and the "plug and play" philosophy of PC's - there simply is no such thing as plug and play in CNC. It is an industrial world where multitasking is NOT necesary or desired for most machine control issues. This is why dedicated controllers are simply more reliable.... Ask Haas, Landis Gardner, Anilam and any other high end machine systems.

Keep in mind that XP is not DOS friendly thus the once easy to use LPT and/or serial ports aren't always supported. USB is catching on but..... And the issue of stuff not working after a security patch is always a possiblity. I contend the WinTel crowd is interested in THEIR well being and have taken the PERSONAL out of PC.

Do you think that Intiel, AMD, TI et al who make processor chips have CNC equipment is Windows based??? That would be intersting to know.

Yes, one has to progress but things that work and reboot QUICKLY after a power out without scrambling files or losing data is something that doesn't always occur with Windows. My DOS machine is up and running while my Win box is still doing its log in crap and the 2 sit right next to each other.

I'm not familair with EMC but ANYTHING that doesn't use Windows that is open source and reliable would be something I could support or get "into" if I were about 25 years younger and had way fewer bad/ingrained habits...

Hmm. Notice how few Macs there are in CNC??? SOme machines simply do some things better than others (as do the O/S's). Ever wonder why???
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 07-18-2006, 12:14 PM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

Originally Posted by NC Cams
Food for thought: Bridgeport ran a full CNC 4 axis machine with their own PLC board and a 133mhz or SLOWER DOS machine in the mid 90's.
I have the same problem. The wasting of cycles and memory is painful. The other thing that is painful is that as we get faster and faster processors, the I/O speed that's available to things like CNC doesn't get any faster. Just doesn't seem right.

Actually, I'm nearly positive that the big companies making almost anything have windows based controllers. Labview is very popular, and you can get a realtime version of Windows.

The cool thing about Linux is that you can program like you program for DOS. Not that hard. And it gives you the modern memory and disk capacity as well as a very robust network. Windows works in a lab environment, but I wouldn't trust it for anything that is potentially dangerous. I cringe thinking about Mach controlling a large machine. My experience with doing things like that is very bad. Of course, step and direction is self limiting, so if Bill Gates decides to take over your computer and doesn't give the CNC any cycles, nothing happens but a small glich.

But if I need to program a graphical interface, I program in Windows. Too much investment in learning how to do that.
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 09-01-2006, 01:01 PM
 
Join Date: Mar 2004
Location: Canada
Posts: 45
Tom Brown is on a distinguished road

Originally Posted by unterhaus View Post
If you really want to swear off windows and use linux full time, there is no reason why you wouldn't stick with EMC. The main group who don't like EMC are those who don't have any connection to linux, and end up not liking the shortcomings of Linux.
I'm a full Linux guy right now and have been for years.

I've been using QCAD on KDE. What's the best way to get to g-code? CAM Expert?
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 12-04-2006, 10:08 PM
 
Join Date: Aug 2004
Location: Brazil
Age: 40
Posts: 170
Ito-Brazil is on a distinguished road

To make codes to EMC, from INKSCAPE, GIMP, QCAD, Whatever... Like ArtCAM (well, or almost like):

http://opencam.sourceforge.net/

Read about: is you have GAMBAS installed, you need just the sources.
If not, just place a line code on terminal and good luck.

See ya dudes!
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 12-05-2006, 01:10 AM
 
Join Date: Mar 2004
Location: Canada
Posts: 45
Tom Brown is on a distinguished road

There are a couple of things I wish to comment on. I apologize in advance for being contradictory. I just think a couple of philosophical items could use another view to enhance the objectivity.


Originally Posted by NC Cams View Post
It has it's problems, especially when it comes to "openness", especially since the inception of Win 2k or above. Ask anone who's had a blue screen in the middle of a program when the uP decides to do something and/or hobbles/bobbles what had once been a perfectly smooth finish cut.
Windows can be rock solid if you exercise careful version control with your device drivers and make sure your hardware is solid. Many BSODs are caused by flakey RAM. I would suggest that a stripped down Windows installation can be as reliable as a stripped down Linux installation. The problem with Windows stems from the tons of devices supported and the quantities of device drivers of varying qualities running at ring 0 level.

A CAM environment really calls for ECC memory but who wants to pop for an Opteron/Zeon to run their machine?




Originally Posted by NC Cams View Post
Do you think that Intiel, AMD, TI et al who make processor chips have CNC equipment is Windows based???
Yes. They do. I was blown away to discover most of AMD's fab floor populated with manufacturing machines run on Windows.

TI dropped their CPU lines long, long ago to focus on DSPs.

Most of AMD's automated precision manufacturing (APM) system is built mostly with Windows boxes. That is changing and they are moving to Linux but it has barely made a dent in their manufacturing technology footprint to date.

I will add that AMD's APM is about as successful of a system as there is on the planet right now.


Originally Posted by NC Cams View Post
Notice how few Macs there are in CNC??? SOme machines simply do some things better than others (as do the O/S's). Ever wonder why???
There is no technical reason a Mac wouldn't make as good or better of a CAM machine than most Linux boxes. Mac is built on BSD Unix which is so closely related to Linux that it's tough to chose one over the other on merit. Pretty much all of the non-graphical apps on OS X were ported from Linux... and by ported, I mean recompiled without change.

I just came from a Cisco security course and the Cisco same security client runs on both Linux and OS X. Once again... a *security client*. Of course, there is also a pretty graphical client for OS X that Linux doesn't have (Linux users scoff at such luxuries as graphical applications or indoor toilets )


Originally Posted by unterhaus View Post
I have the same problem. The wasting of cycles and memory is painful. The other thing that is painful is that as we get faster and faster processors, the I/O speed that's available to things like CNC doesn't get any faster. Just doesn't seem right.
I hessitate to offer so many conflicting points of view but I would suggest that the RS232 serial I knew as a kid is so long obsolete that it's rediculous they still include it on some motherboards. The thing was just barely able to handle 2400 bps modem communcations without dropping characters. It basically broke at higher modem speeds and was upgraded with fifo buffers to keep from dropping bytes. Is anyone old enough to remember the buffered UART evolution?

Centronics parallel was a cadillac point to point connector in it's day but it too has been enhanced a few times and then left for superior architectures.

Small device communication was re-thought in the 90s and a new serial technology was created and developed. The new technology allowed for massive expansion of serial ports, using hubs to allow for the addition of more ports and connection of more devices, and a sliding technology window that would allow for speed improvements with the retention of compatability with previous speed levels. This serial technology is called USB.

RS232... even in it's most evolved specification is pretty much topped out at 115Kbps. USB 2.0 currently hums along at 480Mbps. That makes it roughly 4000 times faster.

I believe USB is of dubious value these days as we enter the age of the IP connected appliance. Everything seems to be going toward ethernet connectivity and device autonomy. I applaud Gecko for creating the G-Rex.

Ethernet currently scales to 10Gbps with a draft specification of 1000Gbps or 1Tbps due for ratification in the relatively near future.

It seems to me inter device communications has improved more than five orders of magnitude while dropping in cost significantly. Does anyone remember the old Digi cards and PORT/S modules to drive more than 4 serial ports? I can assure you those did not come as cheaply as a modern USB hub.

.... just a different perspective on a few items.

It seems to me, one day in the not too distant future, the EMC community is going to have to embrace some of these new technologies and architectures. I would imagine it's already happening and will find it's way into the public distribution at some point.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-03-2007, 05:15 PM
 
Join Date: Dec 2006
Location: United States
Posts: 216
webgeek is on a distinguished road

Originally Posted by unterhaus
I have the same problem. The wasting of cycles and memory is painful. The other thing that is painful is that as we get faster and faster processors, the I/O speed that's available to things like CNC doesn't get any faster. Just doesn't seem right.
I was going to comment on this line as well but Tom Brown beat me to it It seems that the computer industry hasn't had the problem evolving, but our CNC machines. Parallel ports are the Model-T of the I/O systems these days. USB 2 is faster, more reliable, and dramatically more capable with the support for chaining devices. The downside? It isn't fall-off-a-log simply like parallel. You can't hack a USB cable to add a switch to your computer and I think this complexity is what has made adoption so slow for DIY CNC.
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 01-03-2007, 05:18 PM
 
Join Date: Apr 2005
Location: finland
Posts: 262
andy55 is on a distinguished road

realtime is not about throughput, it's about latency.

usb, firewire, gige, etc. might have really good throughput, but latency is unpredictable or very bad.
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On





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