Hello Guest it is April 10, 2021, 10:24:37 PM

Author Topic: Stepping problem  (Read 3267 times)

0 Members and 1 Guest are viewing this topic.

Stepping problem
« 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
« Last Edit: February 10, 2011, 10:36:44 AM by Larsson »

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Stepping problem
« Reply #1 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
Re: Stepping problem
« Reply #2 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?
« Last Edit: February 10, 2011, 02:03:33 PM by Larsson »

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Stepping problem
« Reply #3 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
Re: Stepping problem
« Reply #4 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

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Stepping problem
« Reply #5 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
Re: Stepping problem
« Reply #6 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)

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Stepping problem
« Reply #7 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
Re: Stepping problem
« Reply #8 on: February 10, 2011, 04:46:35 PM »
I know but tested both pins as dir