585,926 active members*
4,080 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2004
    Posts
    678

    Limit and home switches EMC and Mach2?

    I'll be using EMC, and would also like to try out Mach2 for my mill.

    Using the parallel port for IO there is a shortage on inputs, so as far as I can see I must wire-or several switches to one input. What is the best way to do it.

    My guess is to wire-or all +limits and -limits, then use separate home inputs.

    My reasoning is that if one axis is sitting on its home switch, the program cannot sense that another axis is tripping it's home switch. I imagine this must be undesirable?

    But the end limits are not supposed to be tripped during execution, and would need operator intervention anyway. Am I right?

    I need inputs for Estop, A axis home (index), drive fault and ready (wire-ored) , ditto for VFD, probe and probably some I didn't figure in yet, so any common use with little compromise will be good. Do you have any experience to share?

    Adding to the fun, I have 2 Z-axes: the knee and the spindle. That's another challenge, if I can let the controller handle both. It should, but I guess it does not know that they both affect the Z position, and handle that intelligently.

    If EMC and Mach2 have different limitations, I can use a printer selector box to reshuffle the pins, but I would rather not unless needed.

  2. #2
    Join Date
    Sep 2003
    Posts
    1113
    ESjaavik

    I haven't tried ot yet - but MACH2 will take (and use) 2 ports - you can set up another by adding a second card to the pc if you've got the slots. The configure lets you get to the second card for more "wire access".
    Maybe with a USB version we'd have more options? HINT HINT - hope you're listening ART! hehehe
    Hope that helps - Cheers - Jim
    Experience is the BEST Teacher. Is that why it usually arrives in a shower of sparks, flash of light, loud bang, a cloud of smoke, AND -- a BILL to pay? You usually get it -- just after you need it.

  3. #3
    Join Date
    Apr 2003
    Posts
    1079
    Also, both pieces of software can be configured to back off of a home switch when it hits it, until the switch opens. I have my homes wired in series, and as long as I home one axis at a time, it works great. But like High Seas said, if you can get a second parallel port (usually to be had on ebay for cheap, but not necessarily in your part of the world), then you have a big increase in inputs.
    Actually, if you can't find one on ebay, I have one here that I can send to you for the cost of postage. It worked fine on Win2000, but when I upgraded the pc motherboard, this pci card stopped the pc from booting. Let me know.

  4. #4
    Join Date
    Apr 2004
    Posts
    678
    Kong: Thanks, I appreciate it. But I'm in Norway, so the postage will probably be more than the $17,50 I have to pay for a new PCI printer card locally. What I'm worried about is it may not be as good for outputs as an old ISA board, but the inputs should work fine. I'll probably try that and see if that leaves me with separate home switch inputs. The outputs should also work fine if I make a buffer board, but I was hoping I could avoid it.

    Since neither of you mentioned any problem with the limit switches wired in parallel (NO switches) or series (NC switches), I assume that works fine?

  5. #5
    Join Date
    Sep 2007
    Posts
    18
    The way I set mine up was pretty simple and used only 6 switches and 4 inputs. 3 switches and inputs are the axis --limit and home. the 4th input is the ++limits and E-stop(wired in series). You can set EMC or Mach to recognize this setup. good luck!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •