507,923 active members
3,632 visitors online
Register for free
Login
IndustryArena Forum > CNC Electronics > Leadshine > Leadshine MX4660: How does a pair of digitial outputs work?
Page 1 of 3 123
Results 1 to 12 of 28
  1. #1
    Registered
    Join Date
    Dec 2016
    Posts
    4

    Leadshine MX4660: How does a pair of digitial outputs work?

    I am trying to control a small 12vdc relay via a digital output to control a SPDT logic switch. The relay's nominal power is 360 mW. I have tried wiring per manual with no success. To solve my problem, I need to understand what is going on between the + and - digital output terminals. When the pin is high or low, I don't measure any voltage across the leads, nor any continuity? Any helpful explanation or suggestions would be much appreciated!

  2. #2
    Registered
    Join Date
    Mar 2008
    Posts
    1738

    Re: Leadshine MX4660: How does a pair of digitial outputs work?

    Tom..
    Connect "+12vdc out" to "Output 1+"
    Connect Positive side of relay coil to "Output 1-"
    Connect Negative side of relay coil to "GND"

    If using >12vdc from another source, use appropriate current liming resistors.
    Gary Campbell CNC Technology & Training
    GCnC411 (at) gmail.com www.youtube.com/user/Islaww1/videos

  3. #3
    Registered
    Join Date
    Sep 2005
    Posts
    1093

    Re: Leadshine MX4660: How does a pair of digitial outputs work?

    Hello Gary,
    How about if the relay using 24 DC ? or 220 VAC ? How to wire ?

  4. #4
    Registered
    Join Date
    Mar 2008
    Posts
    1738

    Re: Leadshine MX4660: How does a pair of digitial outputs work?

    Tom...
    The info is shown pretty clearly in the manual. Up to 24vdc with a resistor. 220vac, no, use the relay for that
    Gary Campbell CNC Technology & Training
    GCnC411 (at) gmail.com www.youtube.com/user/Islaww1/videos

  5. #5
    Registered
    Join Date
    Dec 2016
    Posts
    4

    Re: Leadshine MX4660: How does a pair of digitial outputs work?


  6. #6
    Registered
    Join Date
    Dec 2016
    Posts
    4

    Re: Leadshine MX4660: How does a pair of digitial outputs work?

    The image I posted shows the two configurations I've tried with no success. Using islaww's method, I measure 11.8v between GND and Output 1- and 10.9v between GND and Output 1+. No change in measurements with pin 17 hi or low.

    Using the configuration described on page 16, last paragraph of the manual, I measure 1.25v between Output 1+ and GND with no voltage change when Pin 17 hi or Lo.

    I have also tried using other Output terminal pairs with no success. Any more suggestions?

  7. #7

    Re: Leadshine MX4660: How does a pair of digitial outputs work?

    Quote Originally Posted by Tomboardman View Post
    The image I posted shows the two configurations I've tried with no success. Using islaww's method, I measure 11.8v between GND and Output 1- and 10.9v between GND and Output 1+. No change in measurements with pin 17 hi or low.

    Using the configuration described on page 16, last paragraph of the manual, I measure 1.25v between Output 1+ and GND with no voltage change when Pin 17 hi or Lo.

    I have also tried using other Output terminal pairs with no success. Any more suggestions?

    I'm having the exact same issue. Did you ever solve it?

  8. #8
    Registered
    Join Date
    Dec 2016
    Posts
    4

    Re: Leadshine MX4660: How does a pair of digitial outputs work?

    No, I finally gave up. So, I continue to manually switch my spindle to run mode until I, some day, resolve the issue. Let me know if you ever find an answer!

  9. #9
    Registered
    Join Date
    Mar 2008
    Posts
    1738

    Re: Leadshine MX4660: How does a pair of digitial outputs work?

    I do a bunch of these. The VFD will require a mechanical relay to trigger FWD rotation. I'm using a 24vdc relay and small power supply to do this. Wired as follows:

    24v+ to Output1+
    24v- to relay coil negative (A2)
    Output 1 - to relay coil positive (A1)
    Gary Campbell CNC Technology & Training
    GCnC411 (at) gmail.com www.youtube.com/user/Islaww1/videos

  10. #10

    Re: Leadshine MX4660: How does a pair of digitial outputs work?

    Thanks for the reply islaww.

    That is how I believe I have it connected. I'm using the SainSmart 4 channel relay board. In1 (5v from relay) to Output+, Output- to ground.

    Here is my understanding of how it works: When the opto is on it should complete the circuit and activate the relay and when the opto is off it breaks the circuit and the relay is off.

    My issue is that the output appear to always be ON. The only way I can get the relay to be off is by disconnecting the DB25 connector from the leadshine.

    Note: I am using a Mesa 7i92M as my motion controller from Linuxcnc.

  11. #11
    Registered
    Join Date
    Mar 2008
    Posts
    1738

    Re: Leadshine MX4660: How does a pair of digitial outputs work?

    Sorry...
    I am not familiar with those components, so I cant help there. The output + and- terminals are a simple ttl switch. They should switch 3-32vdc as long as the polarity is correct.
    Gary Campbell CNC Technology & Training
    GCnC411 (at) gmail.com www.youtube.com/user/Islaww1/videos

  12. #12

    Exclamation Re: Leadshine MX4660: How does a pair of digitial outputs work?

    I solved my issue last night. For me it was an issue with the actual output signal from the Mesa 7i92 controller, not the Leadshine.

    I was using only the following hal command assuming it would set that GPIO to an output:
    net signal-name => hm2_7i92.0.gpio.000.out

    I needed to add the follow so the GPIO is treated as an output. The default appears to be an input:
    setp hm2_7i92.0.gpio.000.is_output true

    My only remaining issue is the Mesa appears to initially start high (or true) so when I first power up the mesa and leadshine the relay will activate. Once I start Linuxcnc the mesa .is_output is read and the relay turns off. After that the relay control works as expected. I am using this relay for spindle control so if I power the spindle VFD before starting Linuxcnc the spindle would start spinning.

    Any ideas to fix this?

Page 1 of 3 123

Similar Threads

  1. Motors don't run - Mach3- Leadshine MX4660 - UC100 USB
    By pilotarix in forum Mach Software (ArtSoft software)
    Replies: 4
    Last Post: 09-29-2018, 05:26 PM
  2. Replies: 8
    Last Post: 04-13-2018, 08:48 PM
  3. Replies: 9
    Last Post: 04-15-2016, 03:34 PM
  4. Replies: 9
    Last Post: 08-30-2015, 01:23 AM
  5. Nema34 electronic for a 48x60 build with Leadshine MX4660 and KL34H260-60-4A
    By javabugz in forum DIY CNC Router Table Machines
    Replies: 0
    Last Post: 10-16-2014, 04:21 PM

Tags for this Thread

Posting Permissions

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