Hello Guest it is March 28, 2024, 09:32:07 AM

Author Topic: Controller and drivers  (Read 14954 times)

0 Members and 1 Guest are viewing this topic.

Re: Controller and drivers
« Reply #40 on: November 26, 2018, 07:09:01 PM »
Hey,

I should have clarified that better. I have a DB25 to idc26 ribbon cable connected to the DYN4 driver, and then I insert the jumper wires into the idc26 connector.

XD+/XD- measure 3.5V with a positive axis move and when staying in place. With a negative axis move, they measure 2.9V

The enable pin, measures only 1.6V, so that means the motor doesn't even enable, correct ?

TJoensen
Re: Controller and drivers
« Reply #41 on: November 26, 2018, 07:15:56 PM »
Ok.. I just tried beeping the pins on the ribbon cable, and it's not the same layout as the Driver.. So I've plugged all pins in the wrong places.
Hope I didn't destroy anything by this dumb mistake. I'm gonna try rewiring everything tomorrow.

TJoensen
Re: Controller and drivers
« Reply #42 on: November 26, 2018, 07:29:45 PM »
Hi,
those numbers sound a bit off. I would expect the voltage difference between XD+ and XD- to be 5V when in one direction and 0V in the other

May I suggest leaving the DYN4 unplugged and out of the equation until you have the MB2 under control.
Try that XD+ to XD- again.

If you get sensible results now hook up the DYN4, but just the 24V supply, the 0V return and the Enable signal.

Where are you measuring the Enable voltage?

What I think you have happening is you have 24V supply from the MB2 but you don't have a 0V return.
Connect a 24V output of your MB2 to pin 16 of the DB25 connector AND a 0V output of the MB2 to pin 1 of the DB25.
With the servo enabled there should be 24V between pins 15 and 1.

Now try hooking up the step/direction signals.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Controller and drivers
« Reply #43 on: November 27, 2018, 10:48:40 AM »
Hey,

I tried removing the DYN4 driver from the equation, like you said.
I have connected a multimeter to XD+(poistive pin of multimeter)/XD-(negative pin).

In the Mach4 ESS plugin config, I set motor0 to CW/CCW, and tested the voltage.
When moving X-axis in positive direction I get 2.9V, and 3.5V in negative direction.

Then I tried to set motor0 to Step/Dir, in ESS plugin config, and tested the voltage again.
When moving X-axis in positive direction I get 3.5V, and -3.9V in negative direction.

I tested the Y-axis too, and it's the same.

TJoensen
Re: Controller and drivers
« Reply #44 on: November 27, 2018, 12:11:56 PM »
Hi,

Quote
Then I tried to set motor0 to Step/Dir, in ESS plugin config, and tested the voltage again.
When moving X-axis in positive direction I get 3.5V, and -3.9V in negative direction

Yes, this is what you want. Set the ESS up as step/dir.
Now work through the Enable signal.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Controller and drivers
« Reply #45 on: November 27, 2018, 12:48:07 PM »
Ok,

What am trying to do with the enable signal? Get 24v output?

TJoensen
Re: Controller and drivers
« Reply #46 on: November 27, 2018, 01:01:33 PM »
Hi,
no, it will form a conductive path. You need to supply 24V from the MB2 to pin 16, 0V from the MB2 to pin 1 and then connect
the Enable output of the MB2 to pin 15.

When the DYN4 is enabled pin 15 will be 24V, when disabled 0V.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Controller and drivers
« Reply #47 on: November 27, 2018, 02:33:47 PM »
Hey,

I tried to connect the driver, like you said.
If I'm measuring voltage between pin 15 and pin 1, I get 0V when motor is disabled and 13,78V when motor is enabled.

Tjoensen
Re: Controller and drivers
« Reply #48 on: November 27, 2018, 02:57:40 PM »
Hi,
I'm surprised that the voltage drops that much but it suggests that there is current flowing into the DYN4 and should be
sufficient to turn the opto diode on.

You should now be able to hook up the step/dir signals and the servo should run.

How have you programmed the drive?

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Controller and drivers
« Reply #49 on: November 27, 2018, 02:59:01 PM »
Hey,

Programmed the drive how?

TJoensen