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 12-09-2011, 10:54 PM
 
Join Date: Feb 2006
Location: Canada
Posts: 85
dresda is on a distinguished road
Why should i use EMC over Mach3

As the title says, why should i switch mid way through a project and use EMC...
Give me a few good reasons.
Reply With Quote

  #2   Ban this user!
Old 12-10-2011, 05:13 AM
 
Join Date: Nov 2004
Location: US
Posts: 23
galacticroot is on a distinguished road

Well, there are plenty of reasons you might choose EMC over Mach 3, depending on what you are doing.

From what I remember of the last time I used it, Mach 3 is basically a complete hobbyist level controller. It gives most hobbyists with basic machines the features they want right out of the box. It is built from the ground up for this. It may also work well for low end production machines.

EMC is a realtime industrial CNC controller that happens to include some basic UIs and stuff suitable for hobby use. It is based on rcslib and GNU/Linux/RTAI, which are used to control all sorts of robotic equipment, including things that are WAY outside of the typical hobbyist or even professional machine shop range.

So in terms of high end capability and overall flexibility, EMC wins hands down. Mach3 doesn't even really compete with it. If you wanted, you could run a large assembly line with EMC (this is part of what rcslib was originally designed to do). The downside is that you need to do a significant amount of work in these cases.

If you are using a basic 3 axis stepper controlled mill or lathe and don't want to go beyond that configuration, they both work fine. Mach 3 has a fancier UI than any of the ones that currently come with EMC if you care about that.

Since EMC is realtime, you can often run into hardware interrupt issues that cause latency problems. This means it may not run well on many computers. On the other hand, this allows you to close servo loops and stuff on the computer, and get much more accurate timing.

EMC is convenient if you already use Linux. It is libre, which is a very significant benefit to integrators and those who can write software. It is also gratis, though that probably isn't a significant consideration considering the cost of the machines it controls.

EMC2 gets really nice when you have a more complex machine, or want to modify or add to the software. It offers many more possibilities in that respect.

Personally, I use EMC because:
- Except for gaming, I use Linux almost exclusively for work and home use, so I find it easier to use
- I'm interested in building some fairly complex machines in the future and don't want to be limited to specific kinematics or control features
- I use rcslib at work
- I like the modification potential it offers

If you are thinking of switching to EMC, you can download a live CD and try it out. You may find you just like it better.
Reply With Quote

  #3   Ban this user!
Old 12-10-2011, 06:38 AM
 
Join Date: May 2005
Location: canada
Posts: 1,149
cyclestart is on a distinguished road

For a stepper driven machine there may be no compelling reason. Mach3 does the job, the size of the user base is proof enough.

Mach3 and emc2 take a different approach to servos. EMC2 can use what's been described as the 'smart software--dumb hardware' approach. Mach3 itself is step/direction only and passes control over to the hardware ?? Others can explain this fully. I've only begun exploring closed loop systems and possibly mixing up some concepts.
__________________
Anyone who says "It only goes together one way" has no imagination.
Reply With Quote

  #4  
Old 12-10-2011, 07:20 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,456
ger21 is on a distinguished road
Buy me a Beer?

As the title says, why should i switch mid way through a project and use EMC...
Give me a few good reasons.
1) You don't have, or don't want to spend $175
2) You already use Linux. or are one of those that hate Windows and all things microsoft.
3)You need one of the features that EMC has that Mach3 doesn't, like the kinematics or software closed loop.

Originally Posted by galacticroot View Post
So in terms of high end capability and overall flexibility, EMC wins hands down. Mach3 doesn't even really compete with it.

..........................................................
..........................................................

EMC2 gets really nice when you have a more complex machine, or want to modify or add to the software. It offers many more possibilities in that respect.
Unless you're going to give specific examples, this is really not a fair statement.

For a 3 axis mill or router, Mach3 is probably every bit as configurable and customizable as EMC. and in some ways, even more so (custom screens for one).

Sure, if you're building some other type of machine, then EMC may win in some cases, But there are many other types if machines being controlled by Mach3 besides routers and mills.
__________________
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

  #5   Ban this user!
Old 12-10-2011, 01:51 PM
 
Join Date: Nov 2004
Location: US
Posts: 23
galacticroot is on a distinguished road

By more complex machine, I mean something beyond a simple standalone machine tool with cartesian axes.

For a 3 axis mill or router, Mach3 is probably every bit as configurable and customizable as EMC. and in some ways, even more so (custom screens for one).
I would say there are far more options to customize the UI on EMC. You can really create whatever kind of UI you want, including anything Mach3 can do. That's any kind of UI, not just GUI or screen layout. You could have a control panel that mixes 5 different touch screen monitors with a bunch of physical controls if you wanted, all directly connected to EMC (not just a touch screen computer that can send commands to it). Sure, it takes more effort but it is very possible.

With EMC, if it doesn't do something out of the box, you can add that support (or pay someone to).

On a standalone machine tool, this can be very nice, but you can also go far beyond that.

As an arbitrary example of high end capability, lets say I need to build a machine which makes hard drives (this may not reflect the real process). I get the unfinished cast aluminum chassis, cover plate, the circuit boards, the spindle motor, head assembly and related components, and the platters and mounting hardware in on separate conveyors. I can use a 4 axis SCARA arm running EMC and some machine vision software to load the incoming components.

The chassis is painted and dried, then loaded into a 5 axis mill running EMC for finishing.

A VME cage running vxworks and rcslib controls a machine which writes the servo tracks onto the platters using laser interferometer position feedback processed through a custom FPGA card.

One or more 6 axis arms controlled with EMC install the remaining components in the drive and send it on to a testing station. All of these machines communicate with a supervisory controller over NML that coordinates their operations. There may be several hundred GPIO lines and an additional 10+ arbitrary servo controlled axes involved here.

I could then build a single operator console for the whole system with whatever displays I need. I can show the actual status of the whole system with closed loop feedback.

You could use Mach 3 in part of such a system. It could run the 5 axis mill and you can use PLCs and other controllers for everything else. You might be able to force it to work elsewhere, but there wouldn't be much point.

EMC and the underlying rcslib are designed for this type of thing. You can run that entire system with controllers based on EMC, or at least rcslib. There may be several controllers, but it can all run as one coordinated system.

Last edited by galacticroot; 12-10-2011 at 03:19 PM.
Reply With Quote

Sponsored Links
  #6  
Old 12-10-2011, 02:57 PM
dertsap's Avatar
Gold Member
 
Join Date: Oct 2005
Location: canada
Posts: 3,668
dertsap is on a distinguished road
Buy me a Beer?

most guys who have cnc's at home only build 3 or 4 axis machines though there are a number of 5 axis being built as well .
I used emc for a good while , but on the machine that i have now I had to stop using emc because it couldn't push my stepper motors as fast as I could push them with mach , I tried lots of tweaks and the pc would freeze up if i pushed things too far . Ubuntu was far too much of a resource hog which needs a much more powerful pc to run than xp . I use a p4 for my setup but I've run mach on p2 pc's without any problems what so ever , even though it is recommended for a larger pc ,
Mach has a much cleaner interface and more professional look that i find feels closer to using professional machine controls such as fanuc or what ever , especially with the use of my touch screen , plus its dead easy to customize the look and feel to suit my needs .
I'm not knocking emc because its good for what it is but when I used it the documentation was lacking and in my pinion so was the software
__________________
A poet knows no boundary yet he is bound to the boundaries of ones own mind !! http://cnctoybox.org
Reply With Quote

  #7   Ban this user!
Old 12-10-2011, 04:07 PM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

(I am an emc2 advocate...)

I think it really depends on the project. I am sure for a step/direction machine that has a few home/limit switches and spindle control - both work just fine. From what I hear - mach probably can put out a higher pulse frequency than emc. Emc is going to top out at 40 to 50khz on good hardware.

With emc2 though - you have quite a few options. (inexpensive options.) For around $89 you can get an interface card that gives you 48 digital i/o. This will do very fast encoder counting, very fast step generation, high frequency pwm, and i/o. This can also do closed loop servos. (closed loop within emc) (analog interface is a daughter board but still around $100). So if you need faster step generation - hardware step generation is pretty inexpensive.

Emc can also do some pretty cool stuff right out of the box..

-rigid tapping (I have seen rigid tapping done with just printer ports) (not having to use the spindle as an axis - emc gears the axis to the spindle encoder)
-Very accurate lathe threading - you can use a quadrature encoder + index to track the spindle very accurately.
-Realtime OS (very stable timing.)
-Integrated ladder logic

From there you can get as deep as you want. I Converted a Kearney and Trecker NC mill from the late 60's. This machine has a 60 tool chain, pallet system, 16 speed spindle, and all the bells and whistles.

You can read about it here.
Large Kearney & Trecker HMC conversion. - CNCzone.com-The Largest Machinist Community on the net!

I have around $600 in the interface hardware. That gave me 10 analog axis, differential/ttl encoder interfaces plus 96i/o. (mesa hardware) A steel if you ask me. everything is controlled by emc and its ladder logic. I cannot say enough good about it. I now just added spindle temperature compensation. As the spindle heats up - it grows. So I offset the z axis to compinsate.

sam
Reply With Quote

  #8   Ban this user!
Old 12-10-2011, 04:27 PM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

as far as screen editing.. You will have to be a programmer to change the existing screens.

But...

You can add 'panels' that are generated by xml.. (there is also a new way to do it using glade - but I have not played with that.)

You can see the panel on the right that I added (and the spindle temp and offset)

Reply With Quote

  #9   Ban this user!
Old 12-10-2011, 08:59 PM
 
Join Date: Feb 2006
Location: Canada
Posts: 85
dresda is on a distinguished road

Good stuff guys, now here is where I stand. I have been servicing and rebuilding CNC machines for over 35years mainly on the mechanical side, my buddy is a fanuc engineer so he takes care of the electronics although quite a bit has rubbed of on me over the years. All the CNC machines from the 80's would be analog +-10v then later digital, so I started looking for a control to retro-fit onto those old but good drives and motors. I was not to well up on the step/dir or PWM so went ahead with the mach3 anyway. I had a knee mill with a baffed out Fagor, Dc brushed servo motors and drives, kept the servos and motors but now I need a motion control and that was a $1000.00 DSPMC from Vital systems but found and still find there are some conflicts between mach and the motion board. I have spent a lot of time and effort putting it through it's paces and it works great but I just know if it's stable enough to put it out for general use in the industry. Now I'm looking at EMC2 but find it doesn't have +-10v analog for the drives either, but step/dir and PWM, do I still have to buy the motion board? don't want to use steppers and go backwards and don't want to load of money on state of the art drives and motors. I feel like a'm going around in circles.
ray.
Reply With Quote

  #10   Ban this user!
Old 12-10-2011, 09:08 PM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

Originally Posted by dresda View Post
Now I'm looking at EMC2 but find it doesn't have +-10v analog for the drives either, but step/dir and PWM, do I still have to buy the motion board? .
ray.
there are at least 3 suppliers that have +/-10v hardware that work with emc2. Mesa, Pico systems, vital systems.. In that order of popularity IMHO. What sucks is I would guess the motion board you bought from vital systems isn't supported by emc. (emc doesn't want or need a 'motion' board.) but the hardware is quite a bit cheaper because of that.

http://wiki.linuxcnc.org/cgi-bin/emc...orted_Hardware

I am using mesa hardware with their analog daughter boards.

sam
Reply With Quote

Sponsored Links
  #11  
Old 12-10-2011, 09:15 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,542
Al_The_Man is on a distinguished road
Buy me a Beer?

Originally Posted by dresda View Post
Now I'm looking at EMC2 but find it doesn't have +-10v analog for the drives either, but step/dir and PWM, do I still have to buy the motion board? don't want to use steppers and go backwards and don't want to load of money on state of the art drives and motors. I feel like a'm going around in circles.
ray.
Did you look at Dynomotion? it uses USB from the PC, which it uses as just the front end, the whole controller is outboard, it has ±10vdc analogue and it's own front end or has a Mach plug in.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #12   Ban this user!
Old 12-10-2011, 10:14 PM
 
Join Date: Feb 2006
Location: Canada
Posts: 85
dresda is on a distinguished road

Here is where we all get confused, well I do. talked to pico systems and he only supports EMC2 and he said his drives are PWM and will not drive fanuc motos. Vital systems has a motion board for EMC2 for $500.00 so I guess that's PWM.
No Al, i haven't looked at them yet, what do you think Al?
This all started because when I got down to the short strokes testing Mach3 running the wizards, I found when I was running a wizard and then went to look at that wizard screen to check the parameters that I had set, the machine jumped about 1/2" and snapped my 1/2" end mill, when I posted it I got answers like well what do expect from $159.00 software....
Ray.
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
Newbie- Mach3 boggy1995 General CNC (Mill and Lathe) Control Software (NC) 3 05-02-2012 04:04 PM
Differences Between Mach3 Mill and Mach3 Plasma? cjjonesarmory Mach Plasma / Laser 0 11-18-2010 09:12 AM
Newbie- Using Mach3 with Reprap extruderUsing Mach3 with Reprap extruder router101 General CNC (Mill and Lathe) Control Software (NC) 3 11-03-2010 04:46 PM
4to eje con mach3 dansa0561 Spanish CNCzone 3 07-31-2008 10:44 AM
Need Help!- Mach3 butchw Mach Mill 7 02-29-2008 08:50 AM




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