Wiring digital driver to BOB?


Page 1 of 4 1234 LastLast
Results 1 to 20 of 72

Thread: Wiring digital driver to BOB?

  1. #1
    Registered
    Join Date
    Sep 2011
    Location
    United States
    Posts
    474
    Downloads
    0
    Uploads
    0

    Default Wiring digital driver to BOB?

    Im converting (yet another) LMS mini mill to CNC. Trying to, at least. Im very new to this and having trouble finding a diagram on how to wire these digital drivers to the BOB. Im not sure why, but I thought I just be able to look it up and move forward. This hasnt been the case, and im worried I might screw something up and fry a driver/motor or something. Any help from you gurus would be much appreciated!

    This is the kit I have:

    eBay - New & used electronics, cars, apparel, collectibles, sporting goods & more at low prices

    I came across this, but it didnt help:
    CNC breakout board: DB-25 and DB-9 pin assignment

    Here's where I am now. The power supply is 48V.


    Similar Threads:


  2. #2
    Member
    Join Date
    Feb 2006
    Location
    USA
    Posts
    7063
    Downloads
    0
    Uploads
    0

    Default

    Connect your BOB Step output to PUL+, DIR output to DIR+, ENABLE to ENA+. PUL-, DIR-, ENA- all go to BOB Ground. If you don't have an ENABLE output, you can leave ENA+/ENA- not connected.

    Regards,
    Ray L.



  3. #3
    Registered
    Join Date
    Sep 2011
    Location
    United States
    Posts
    474
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by HimyKabibble View Post
    Connect your BOB Step output to PUL+, DIR output to DIR+, ENABLE to ENA+. PUL-, DIR-, ENA- all go to BOB Ground. If you don't have an ENABLE output, you can leave ENA+/ENA- not connected.

    Regards,
    Ray L.
    Alrighty, so which is the step output? The DIR output?

    Edit: Here's a good shot of the board:
    http://www.cnczone.com/forums/attach...2&d=1299105524



  4. #4
    Registered
    Join Date
    Aug 2010
    Location
    USA
    Posts
    34
    Downloads
    0
    Uploads
    0

    Default

    One concern I see is that the current specifications of the motor (4.2 Amps)
    "Part No.: WT57STH115-4204A single shaft
    Frame Size: NEMA23
    Step Angle: 1.8 degree
    Voltage: 3.78VDC
    Current: 4.2 A/phase
    Resistance: 0.9 Ohm/phase"

    exceed the specifications of the driver's current.
    "...VDC. It is designed for use with 2-phase hybrid stepper motor of all kinds with 42mm to 86mm outside diameter and less than 4.0A phase current. This circuit..."

    It will probably work, but would worry me. I like a little more wiggle room. Joe



  5. #5
    Member
    Join Date
    Feb 2006
    Location
    USA
    Posts
    7063
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by SwampDonkey View Post
    Alrighty, so which is the step output? The DIR output?[/url]
    Which BOB output is used for which function is determined by how YOU configure Mach3. And since that BOB does not seem label many of the terminals, I can't help you with that. I assume that top row is pins 2-9, with grounds between each pair, but no way to know for sure. That's the problem with buying Brand X Chinese parts.... You'll have to contact the seller and ask them.

    Regards,
    Ray L.



  6. #6
    Registered
    Join Date
    Sep 2011
    Location
    United States
    Posts
    474
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by toughtool View Post
    One concern I see is that the current specifications of the motor (4.2 Amps)
    "Part No.: WT57STH115-4204A single shaft
    Frame Size: NEMA23
    Step Angle: 1.8 degree
    Voltage: 3.78VDC
    Current: 4.2 A/phase
    Resistance: 0.9 Ohm/phase"

    exceed the specifications of the driver's current.
    "...VDC. It is designed for use with 2-phase hybrid stepper motor of all kinds with 42mm to 86mm outside diameter and less than 4.0A phase current. This circuit..."

    It will probably work, but would worry me. I like a little more wiggle room. Joe

    I thought the same thing and mentioned it in an email to them before buying. They said it was likely a mistake, and the "42" in the DQ542MA designation denotes 4.2A. Livin on the edge!

    I came across this on the Yahoo group. Its how another guy wired his identical BOB:

    Stepper controllers are wired to breakout board as below.

    X =

    P2 Puls (-)

    P3 Dir (-)



    Y =



    P4 Puls (-)



    P5 Dir (-)
    Im thinking he omitted quite a bit as he leaves out the ground wiring.



  7. #7
    Member
    Join Date
    Feb 2006
    Location
    USA
    Posts
    7063
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by toughtool View Post
    One concern I see is that the current specifications of the motor (4.2 Amps)
    "Part No.: WT57STH115-4204A single shaft
    Frame Size: NEMA23
    Step Angle: 1.8 degree
    Voltage: 3.78VDC
    Current: 4.2 A/phase
    Resistance: 0.9 Ohm/phase"

    exceed the specifications of the driver's current.
    "...VDC. It is designed for use with 2-phase hybrid stepper motor of all kinds with 42mm to 86mm outside diameter and less than 4.0A phase current. This circuit..."

    It will probably work, but would worry me. I like a little more wiggle room. Joe
    That's not a problem at all. He just has to set the current limit to 4A, and he'll be getting slightly less than rated torque from the motors. There is NO risk to the drivers at all.

    Regards,
    Ray L.



  8. #8
    Registered
    Join Date
    Aug 2010
    Location
    USA
    Posts
    34
    Downloads
    0
    Uploads
    0

    Default

    swampdonkey
    ,
    When running a job, the computer outputs a series of pulses for each motor, one for direction (forward or reverse, called DIR), and one for steps, to rotate the motor so many steps. If you want the X axis to travel 100 units in the positive direction, the DIR = +, and STEP will get 100 pulses to turn the X axis motor 100 steps. Travel distance will be determined by the pitch of a leadscrew or ratio for a gear/belt or gear driven rack and pinion system. The "G" code commands [lines] contain the information as to which motor, how many steps, and what direction the motor needs to be turned. Like basic programming, each "G" code line is executed in order, unless sent to a different (like a subroutine) line. The other inputs and outputs (i.e. ENA+) are sensing inputs for limit and or emergency stop switch devices and other things. Joe



  9. #9
    Registered
    Join Date
    Aug 2010
    Location
    USA
    Posts
    34
    Downloads
    0
    Uploads
    0

    Default

    Ray, It would be my luck to turn it on and it already be set for full current and smoke it before I could adjust it. I'm running old IBM unipolar motors so I built my own drivers using a MOSFET that can handle 45 amps, driven with a CMOS gate. I even manged to smoke one of them once, but at $1.50 each, wasn't much of a problem. I use a current limiting resistor for each winding and not driving them with pulses to regulate the current. Can't tell any temperature change from off to full current after fifteen minutes. So no heatsinks needed. the DQ542MA unit does look simple and small. Joe



  10. #10
    Registered
    Join Date
    Sep 2011
    Location
    United States
    Posts
    474
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by toughtool View Post
    swampdonkey
    ,
    When running a job, the computer outputs a series of pulses for each motor, one for direction (forward or reverse, called DIR), and one for steps, to rotate the motor so many steps. If you want the X axis to travel 100 units in the positive direction, the DIR = +, and STEP will get 100 pulses to turn the X axis motor 100 steps. Travel distance will be determined by the pitch of a leadscrew or ratio for a gear/belt or gear driven rack and pinion system. The "G" code commands [lines] contain the information as to which motor, how many steps, and what direction the motor needs to be turned. Like basic programming, each "G" code line is executed in order, unless sent to a different (like a subroutine) line. The other inputs and outputs (i.e. ENA+) are sensing inputs for limit and or emergency stop switch devices and other things. Joe
    Thanks for the info. I set up mach 3 according to the tutorial (assigned pins and such) and now the motor will turn when jogged....in one direction. I can hit the x+ and x- buttons and it spins in the same direction regardless. Once again, im stumped. I tried different pin combinations and it doesnt work at all. Could the e-stop have something to do with this? I saw iy mentioned while doing research on the problem but they didnt go into much detail. Thanks!



  11. #11
    Gold Member doorknob's Avatar
    Join Date
    Jan 2010
    Location
    USA
    Posts
    2141
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by SwampDonkey View Post
    I thought the same thing and mentioned it in an email to them before buying. They said it was likely a mistake, and the "42" in the DQ542MA designation denotes 4.2A. Livin on the edge!

    I came across this on the Yahoo group. Its how another guy wired his identical BOB:

    Stepper controllers are wired to breakout board as below.

    X =

    P2 Puls (-)

    P3 Dir (-)



    Y =



    P4 Puls (-)



    P5 Dir (-)


    Im thinking he omitted quite a bit as he leaves out the ground wiring.

    There are (at least) two ways to hook up the breakout board to the driver.

    The way that was recommended earlier will work if your breakout board outputs can source enough current to drive the LEDs in the driver's input circuit.

    Some breakout boards do better at sinking current than at sourcing current. The description that you quoted from the Yahoo group sounds like that user has wired up the breakout board to sink the driver's optoisolator currents, which is why the hookup is to the minus (-) puls and dir terminals. In such a hookup, the puls+ and dir+ terminals would be connected to a positive voltage (such as +5 volts). [similar for enable, or leave enable disconnected]

    As for your problem with the axis going in the same direction no matter which direction you jog it, some of the most likely causes would be either incorrectly configuring the axis direction pin in Mach3, or using the wrong cable between the PC and the breakout board, or a bad connection to the dir terminal on the breakout board (or the wrong terminal chosen on the breakout board, or an incorrect jumper setting on the breakout board).

    It is unlikely that the E-stop would have anything to do with that symptom, because Mach3 should not be sending step pulses to the driver if the E-stop has been tripped.

    One more note - it looks like your breakout board has built-in optoisolators, which means that you will be driving the optoisolators in your drivers through the optoisolators in your breakout board. That is generally a "bad idea" - you might want to get a different breakout board.



  12. #12
    Registered
    Join Date
    Sep 2011
    Location
    United States
    Posts
    474
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by doorknob View Post
    There are (at least) two ways to hook up the breakout board to the driver.

    The way that was recommended earlier will work if your breakout board outputs can source enough current to drive the LEDs in the driver's input circuit.

    Some breakout boards do better at sinking current than at sourcing current. The description that you quoted from the Yahoo group sounds like that user has wired up the breakout board to sink the driver's optoisolator currents, which is why the hookup is to the minus (-) puls and dir terminals. In such a hookup, the puls+ and dir+ terminals would be connected to a positive voltage (such as +5 volts). [similar for enable, or leave enable disconnected]

    As for your problem with the axis going in the same direction no matter which direction you jog it, some of the most likely causes would be either incorrectly configuring the axis direction pin in Mach3, or using the wrong cable between the PC and the breakout board, or a bad connection to the dir terminal on the breakout board (or the wrong terminal chosen on the breakout board, or an incorrect jumper setting on the breakout board).

    It is unlikely that the E-stop would have anything to do with that symptom, because Mach3 should not be sending step pulses to the driver if the E-stop has been tripped.

    One more note - it looks like your breakout board has built-in optoisolators, which means that you will be driving the optoisolators in your drivers through the optoisolators in your breakout board. That is generally a "bad idea" - you might want to get a different breakout board.
    Ah, thanks. I'll look into getting a new board as well. Others have had this exact set up working and I'd like to get a sort of proof-of-concept to plan out the wire routing.
    Currently I have:
    Step Pin at p2
    Dir Pin at p3

    P2 to PUL-(PUL)
    P3 to DIR-(DIR)

    And 5V+ connected to PUL+ (+5V)
    DIR+(+5V)
    ENBL+(+5V)

    I also have both "LowActive" buttons clicked on this axis.

    The motor still turns very slowly in one direction.



  13. #13
    Gold Member doorknob's Avatar
    Join Date
    Jan 2010
    Location
    USA
    Posts
    2141
    Downloads
    0
    Uploads
    0

    Default

    Check the voltage (with a multimeter) between Dir- and board ground.

    It should be "high" when jogging in one direction, and "low" when jogging in the other direction. What are the exact voltage readings that you see for each direction?

    If no change is noticed, the first thing that I would check would be the cable from the parallel port to the breakout board. Do all pins go "straight through"? Can you see the voltage on pin 3 of the cable change when you change jogging directions?



  14. #14
    Registered Mad Welder's Avatar
    Join Date
    Jun 2011
    Location
    Ireland
    Posts
    914
    Downloads
    0
    Uploads
    0

    Default

    Hi there again SwampDonkey have a look here at this guy's series of CNC electronics he has 9 videos in his series http://www.youtube.com/watch?v=Lu0eNoP0zIg&feature=relmfu]CNC Electronics 4 - Mounting the Breakout board.wmv - YouTube but one thing to not do is daisy chain the power to the drivers, other than that it's a good basis for reference....

    Eoin


  15. #15
    Registered
    Join Date
    Sep 2011
    Location
    United States
    Posts
    474
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Mad Welder View Post
    Hi there again SwampDonkey have a look here at this guy's series of CNC electronics he has 9 videos in his series but one thing to not do is daisy chain the power to the drivers, other than that it's a good basis for reference....
    Ah, thanks. I think ive got it for the most part. Figuring out Mach 3 is on my plate for now. The steppers are moving VERY slowly but working. Ive toyed with the acceleration and IPM settings but they still move in slow motion. they also get really hot when left on for a while. Im sure ive got something wrong but need to hunt it down.



  16. #16
    Registered Mad Welder's Avatar
    Join Date
    Jun 2011
    Location
    Ireland
    Posts
    914
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by SwampDonkey View Post
    ........ they also get really hot when left on for a while. Im sure ive got something wrong but need to hunt it down.
    Have your drivers got a dip switch to set to half power when not moving?
    the keling drivers I have, also have that feature..!http://www.kelinginc.com/KL-8056D.pdf check out page 6 in the manual...

    Eoin


  17. #17
    Registered
    Join Date
    Sep 2011
    Location
    United States
    Posts
    474
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Mad Welder View Post
    Have your drivers got a dip switch to set to half power when not moving?
    the keling drivers I have, also have that feature..!http://www.kelinginc.com/KL-8056D.pdf check out page 6 in the manual...
    Nope, not that I can find. Are the motors supposed to get hot enough to burn your hand? Also, the motors are very slow. Much slower than ive seen others running. Ijust turned mach 3 back on and now it refuses to run without an e-stop. Any way for me to get it to ignore this? It did before but apparently changed its mind. The steppers are not on the machine, I just want to get them working before taking that step.

    Edit: Weird stuff happening here. It turned the e-stop requirement back on and changed the stepper output ports on me. I was just messing with it last night and am sure they were set up correctly, now they're different. Any reason this would happen?



  18. #18
    Member Fastest1's Avatar
    Join Date
    Nov 2009
    Location
    USA
    Posts
    4415
    Downloads
    0
    Uploads
    0

    Default

    Hit the "Tab" key. There will be an MPG flyout. Within that flyout there will be a % of speed setting. What happens if you hit "shift" and the directional hotkey? Does it go much faster?



  19. #19
    Member Fastest1's Avatar
    Join Date
    Nov 2009
    Location
    USA
    Posts
    4415
    Downloads
    0
    Uploads
    0

    Default

    Steppers do get hot. They shouldnt be hot enough to burn your hand however their heat can startle you. Are they really that hot? Uncomfortable for sure. If they are really hot, your amperage setting on your driver is too high.



  20. #20
    Registered
    Join Date
    Sep 2011
    Location
    United States
    Posts
    474
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Fastest1 View Post
    Hit the "Tab" key. There will be an MPG flyout. Within that flyout there will be a % of speed setting. What happens if you hit "shift" and the directional hotkey? Does it go much faster?
    Yeah, thats what ive been using to test the motors. No, the very fastest it will go is still painfully slow.



Page 1 of 4 1234 LastLast

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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Wiring digital driver to BOB?

Wiring digital driver to BOB?