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!
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.
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 ?
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
2 Attachment(s)
Re: Leadshine MX4660: How does a pair of digitial outputs work?
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?
Re: Leadshine MX4660: How does a pair of digitial outputs work?
Quote:
Originally Posted by
Tomboardman
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?
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!
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)
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.
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.
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?