Page 1 of 6 1234 ... LastLast
Results 1 to 12 of 71

Thread: Wiring digital driver to BOB?

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

    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.


  2. #2
    Registered
    Join Date
    Feb 2006
    Location
    USA
    Posts
    3,542
    Downloads
    0
    Uploads
    0
    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
    142
    Downloads
    0
    Uploads
    0
    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
    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
    Registered
    Join Date
    Feb 2006
    Location
    USA
    Posts
    3,542
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Sep 2011
    Location
    United States
    Posts
    142
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Feb 2006
    Location
    USA
    Posts
    3,542
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Aug 2010
    Location
    USA
    Posts
    34
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Aug 2010
    Location
    USA
    Posts
    34
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Sep 2011
    Location
    United States
    Posts
    142
    Downloads
    0
    Uploads
    0
    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
    Registered doorknob's Avatar
    Join Date
    Jan 2010
    Location
    USA
    Posts
    1,742
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Sep 2011
    Location
    United States
    Posts
    142
    Downloads
    0
    Uploads
    0
    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.


  • Page 1 of 6 1234 ... LastLast

    Similar Threads

    1. Digital Stepper Driver
      By kolias in forum Open Source CNC Machine Designs
      Replies: 2
      Last Post: 03-08-2012, 08:03 AM
    2. Can you pulse a digital driver manually?
      By Fastest1 in forum Stepper Motors and Drives
      Replies: 5
      Last Post: 08-18-2011, 01:35 AM
    3. digital stepper motor driver for X2 conversion
      By sabastion in forum X3/SX3/G0619/G0463
      Replies: 4
      Last Post: 08-03-2011, 09:23 AM
    4. Digital Stepper Motor Driver Exprience
      By Kelinginc in forum Automation Technology Products
      Replies: 8
      Last Post: 07-26-2011, 11:04 PM
    5. Digital tool dr902 wiring diagram
      By brockadeau in forum BobCad-Cam
      Replies: 1
      Last Post: 05-16-2007, 12:41 AM

    Tags for this Thread

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.