Results 1 to 3 of 3

Thread: How did you wire your Mesa 7i37 Limit Switches??

  1. #1
    Registered
    Join Date
    Sep 2010
    Location
    Canada
    Posts
    119
    Downloads
    0
    Uploads
    0

    How did you wire your Mesa 7i37 Limit Switches??

    Hey guys,

    After weeks and weeks of research, accumulating parts, building an enclosure, and wiring the whole mess together, I finally tuned and moved my z-axis up and down at 225 ipm! It's a beautiful thing! (I still have a following error when I let go of the mouse, but that's a different story.)

    Anyway, I'm having a helluva time getting my Mesa 7i37 IO card to detect a change in the limit switches (or any circuit closure for that matter), and I would like to know how you wired your 7i37 to cause your limit switches to work.

    I know the card is working because when I apply a +5V signal, for example from my amplifiers' fault lines, I get the reading as one would expect.

    I even went so far as to try to force the GPIO as an input using the is_output false directive with no change.

    Anyway, what I'm trying to do is wire the switches in a normally closed (NC) configuration so that they ground (pull the signal low) until tripped. When the switch is tripped at its limit, the circuit will open allowing the 5i20's weak pullup to raise the signal to +5V, in turn causing EMC to detect the limit.

    The really odd part here is that when I close the switch, nothing happens. I've confimed it several times with a DMM and have even installed a jumper between the two pins with no change in the outcome.

    I'm sure I'm doing something wrong, and I'll figure it out eventually, but I would really like to confirm this one thing:

    --> If I put a wire, or close a switch across the IBIT0+ and IBIT0- pins, should it not pull the signal low??

    Thanks, everyone... anyone...


    Torin...


  2. #2
    Registered
    Join Date
    Jun 2003
    Location
    Boalsburg PA
    Posts
    840
    Downloads
    0
    Uploads
    0
    I haven't done this yet, I'm about to get started on my mill again so I'll be able to help you in a week or so. You would think that shorting the two pins would be enough. However, it looks to me that you have to supply your own voltage. It would make no sense to supply an internal voltage to an isolated input. As I read the manual, the resistor is in series with the optoisolator to provide over-current protection, not as a pull-up.

    Now that I read your post again, this is your problem. You need to supply a voltage (through a resistor to protect the power supply) to pull the optoisolator high.


  3. #3
    Registered
    Join Date
    Sep 2010
    Location
    Canada
    Posts
    119
    Downloads
    0
    Uploads
    0
    I originally got the idea from a variety of posts that shorting these pins would pull the signal low. You are correct. I should have read the manual a little more closely. Peter Wallace from Mesa set me straight this morning.

    I am now wiring 5V to the common of all switches and returning each NO output through a separate line to the IBITx+ input, then routing the IBITx- back to the ground pin from whence the 5V+ signal came. I'll then then use the in_not value from the mesa card to feed to each limit/home switch.

    Hopefully, I'll have the limits wired by this evening, then I'll continue tuning PID and servo loops throughout the week. By the weekend, it's homing time.


Similar Threads

  1. Need Help!- How to wire E-Stop Buttons and Limit Switches which Pin in Printer Port
    By guy2b1 in forum General Electronics Discussion
    Replies: 7
    Last Post: 06-09-2009, 08:36 AM
  2. Assigning pins on mesa 7i37
    By ozturbo in forum LinuxCNC (formerly EMC2)
    Replies: 6
    Last Post: 07-23-2008, 10:51 PM
  3. Mesa 7i37 output wiring
    By 123CNC in forum LinuxCNC (formerly EMC2)
    Replies: 3
    Last Post: 03-05-2008, 01:49 PM
  4. How to wire three limit switches
    By bgolash in forum General Electronics Discussion
    Replies: 1
    Last Post: 02-16-2006, 01:38 PM
  5. The relationship of limit switches to home switches.
    By MikeAber in forum General Electronics Discussion
    Replies: 4
    Last Post: 11-04-2004, 02:28 PM

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.