Page 1 of 13 123411 ... LastLast
Results 1 to 12 of 148

Thread: Why should i use EMC over Mach3

  1. #1
    Registered
    Join Date
    Feb 2006
    Location
    Canada
    Posts
    88
    Downloads
    0
    Uploads
    0

    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.


  2. #2
    Registered
    Join Date
    Nov 2004
    Location
    US
    Posts
    23
    Downloads
    0
    Uploads
    0
    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.


  3. #3
    Registered
    Join Date
    May 2005
    Location
    canada
    Posts
    1,164
    Downloads
    0
    Uploads
    0
    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.


  4. #4
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22,306
    Downloads
    0
    Uploads
    0
    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.

    Quote 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)


  • #5
    Registered
    Join Date
    Nov 2004
    Location
    US
    Posts
    23
    Downloads
    0
    Uploads
    0
    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 04:19 PM.


  • #6
    Gold Member dertsap's Avatar
    Join Date
    Oct 2005
    Location
    canada
    Posts
    3,880
    Downloads
    0
    Uploads
    0
    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://microcarve.microcarve.biz/


  • #7
    Registered
    Join Date
    Jul 2003
    Location
    Holmen, WI
    Posts
    1,193
    Downloads
    0
    Uploads
    0
    (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


  • #8
    Registered
    Join Date
    Jul 2003
    Location
    Holmen, WI
    Posts
    1,193
    Downloads
    0
    Uploads
    0
    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)



  • #9
    Registered
    Join Date
    Feb 2006
    Location
    Canada
    Posts
    88
    Downloads
    0
    Uploads
    0
    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.


  • #10
    Registered
    Join Date
    Jul 2003
    Location
    Holmen, WI
    Posts
    1,193
    Downloads
    0
    Uploads
    0
    Quote 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


  • #11
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    18,964
    Downloads
    0
    Uploads
    0
    Quote 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 Custom Machine Design (Skype Avail).

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  • #12
    Registered
    Join Date
    Feb 2006
    Location
    Canada
    Posts
    88
    Downloads
    0
    Uploads
    0
    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.


  • Page 1 of 13 123411 ... LastLast

    Similar Threads

    1. Newbie- Mach3
      By boggy1995 in forum General CNC (Mill and Lathe) Control Software (NC)
      Replies: 3
      Last Post: 05-02-2012, 05:04 PM
    2. Differences Between Mach3 Mill and Mach3 Plasma?
      By cjjonesarmory in forum Mach Plasma / Laser
      Replies: 0
      Last Post: 11-18-2010, 10:12 AM
    3. Newbie- Using Mach3 with Reprap extruderUsing Mach3 with Reprap extruder
      By router101 in forum General CNC (Mill and Lathe) Control Software (NC)
      Replies: 3
      Last Post: 11-03-2010, 05:46 PM
    4. 4to eje con mach3
      By dansa0561 in forum Spanish CNCzone
      Replies: 3
      Last Post: 07-31-2008, 11:44 AM
    5. Need Help!- Mach3
      By butchw in forum Mach Mill
      Replies: 7
      Last Post: 02-29-2008, 09:50 AM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.