Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Larsson on February 10, 2011, 10:33:22 AM

Title: Stepping problem
Post by: Larsson on February 10, 2011, 10:33:22 AM
Hi,

I have this problem with the connection between PC<->Driver. You can se how I hooked up the drivers and BoB in the attachment.
The drivers and Bob are supposed to be wired like this: http://www.brundin.biz/images/datasheets/CW230Elschema1.pdf and i cant find anything wrong with my wiring.
If I short-circuit the P2 and GND the motor will step and If I short-circuit P15 (eStop) to ground the eStop gets triggered so it seems like I have a connection.

Lets get to the problem..
When I jog, the DRO is counting but the motors wont move. I hope anyone here could help me

(I have checked the active low checkbox.)

Thanks in advance
Niclas
Title: Re: Stepping problem
Post by: Hood on February 10, 2011, 01:26:27 PM
Does your BOB require an enable?
Do you have dip switches on the drives and if yes are they maybe set to CW/CCW?
Hood
Title: Re: Stepping problem
Post by: Larsson on February 10, 2011, 01:55:27 PM
I dont think the BoB requires a enable signal. I have the "KL-DB25 Breakout board" from kelinginc.
The dip-switches shouldnt matter though I cant get a pure signal (+5V / +0V at P3, dir-pin), correct me if Im wrong.

With no output signals from mach the voltage over P3 is like 5.13V and when I change jogging-direction in mach3 the voltage lowers to about 4.87V.
Makes no sence, shouldnt it be near 0V?
Title: Re: Stepping problem
Post by: Hood on February 10, 2011, 02:45:21 PM
Disconnect the PP cable and check the voltage directly on the computers port and see what you get.
Hood
Title: Re: Stepping problem
Post by: Larsson on February 10, 2011, 03:12:42 PM
Already done that and its 3.3V. This BoB shouldnt have a problem with it though.
Note that I had  this setup up and running a while ago.

Thx
Niclas
Title: Re: Stepping problem
Post by: Hood on February 10, 2011, 04:02:53 PM
I am meaning test on the Dir port of the pin to see if you get the 3.3v one way and 0V the other. If you do then test on the other end of the cable. If that is fine then test again on the output and if its not correct then there would seem to be a problem with the BOB.
Hood
Title: Re: Stepping problem
Post by: Larsson on February 10, 2011, 04:34:59 PM
If i measure directly at pins on the cable from the parallelport I will get 3.3v and 0v. With the BoB connected I do not have 5v one way and 0v the other (at P2/P3)
Title: Re: Stepping problem
Post by: Hood on February 10, 2011, 04:38:42 PM
That would suggest that Mach is fine, your port is fine, your cable is fine so as long as you have the wiring correct then it looks like the BOB is bad.
BTW you will not get "5v one way and 0v the other (at P2/P3)" it will only be on the Direction pin that you see that.
Hood
Title: Re: Stepping problem
Post by: Larsson on February 10, 2011, 04:46:35 PM
I know but tested both pins as dir