Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Join Date
    Feb 2012
    Location
    Hoddles Creek
    Posts
    65

    Default Wiring between stepper motors and the drivers

    Hey folks. I have a Pacific Tooling PT6012 Router. I would have liked a wiring diagram when I bought it but they said it wasn't available. Hence, I have been slowly creating one for my machine.
    During this process, I have noticed what seems to be an inconsistency. All of my stepper motors (I have a 4 axis machine) have red, green, blue and yellow wires.
    For the Y & Z axes, yellow goes to the B+ terminal on the (Leadshine M542-05) drivers and the blue goes to the B- terminal. However, for my X & A axes, this is reversed i.e. yellow to B- and blue to B+.
    My question is this, does this reversal matter? If it does, why are they reversed? The machine works fine like this but I'd still like to know (I'm like that )

    Thanks in advance for any info.

    Cheers
    Doug

  2. # ADS
    Google Adsense Advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many





     
  3. #2
    Join Date
    Jan 2014
    Location
    Sydney Upper North Shore
    Posts
    4,470

    Default

    As far as i’m aware, swapping just the two wires will change the direction of rotation. You don’t have to swap all four. I can try it out if you like as I have one in the shed that’s easy to rewire.

  4. #3
    Join Date
    Feb 2012
    Location
    Hoddles Creek
    Posts
    65

    Default

    Quote Originally Posted by Lappa View Post
    As far as i’m aware, swapping just the two wires will change the direction of rotation. You don’t have to swap all four. I can try it out if you like as I have one in the shed that’s easy to rewire.
    Thanks heaps, that would be great. However, wouldn't that mean that the jog buttons (keyboard arrow keys) in Mach3 would be in the wrong direction in particular for the X axis? There's probably a setting in Mach3 to change this if needed. Certainly, my keyboard arrow keys jog each axis in the correct direction. Your thoughts?

  5. #4
    Join Date
    Jan 2014
    Location
    Sydney Upper North Shore
    Posts
    4,470

    Default

    Just confirmed. Mine is wired A+ red, A- blue. B+ green, B- Black. Router moves UP.

    Swap the Red and Blue wires only and the router moves down.

  6. #5
    Join Date
    Jan 2014
    Location
    Sydney Upper North Shore
    Posts
    4,470

    Default

    Controlling the direction it just a matter of controlling the voltage on the DIR pin so if they changed from a positive voltage (high) to a ground (Low) it would change the direction. Easy to do in the software.

  7. #6
    Join Date
    Feb 2012
    Location
    Hoddles Creek
    Posts
    65

    Default

    Quote Originally Posted by Lappa View Post
    Just confirmed. Mine is wired A+ red, A- blue. B+ green, B- Black. Router moves UP.

    Swap the Red and Blue wires only and the router moves down.
    Well it seems your motor is different to mine because of the wires being different colours. However, the principle is the same. But you have swapped the A+ & A- whereas on mine it is the B+ & B- that are swapped. Would you mind testing them instead? Btw, what driver are you using?

  8. #7
    Join Date
    Feb 2012
    Location
    Hoddles Creek
    Posts
    65

    Default

    Quote Originally Posted by Lappa View Post
    Controlling the direction it just a matter of controlling the voltage on the DIR pin so if they changed from a positive voltage (high) to a ground (Low) it would change the direction. Easy to do in the software.
    I'm not sure if this helps me. What I'm trying to sort out is why two of my axes have the B+ & B- swapped compared to the other two. My motors all work in the right direction. I just don't understand why the wiring varies on two drivers.

  9. #8
    Join Date
    Jan 2014
    Location
    Sydney Upper North Shore
    Posts
    4,470

    Default

    I did swap B+ and B- wires as well and that also caused the stepper to change direction.

    Wire colours can vary between manufacturers and even during production runs but they are usually one of three combinations for bi polar steppers, as shown here. The colours on mine are the most common.

    https://www.linengineering.com/resou...g-connections/

    I have used a number of different drivers; a H298 Low current, a TB6600 derivative ( HY-Div248-5A - which is not all that flash) and a DM542T which is brilliant.

    Both do the same thing if you swap two wires.

    Do all your steppers turn in the same direction ie CW OR ACW? I can easily change the direction of mine from a menu selection.

  10. #9
    Join Date
    Feb 2012
    Location
    Hoddles Creek
    Posts
    65

    Default

    Quote Originally Posted by Lappa View Post
    I did swap B+ and B- wires as well and that also caused the stepper to change direction.

    Wire colours can vary between manufacturers but they are one of three combinations for bi polar steppers, as shown here. The colours on mine are the most common.

    https://www.linengineering.com/resou...g-connections/

    I have used a number of different drivers; a H298 Low current, a TB6600 derivative ( HY-Div248-5A - which is not all that flash) and a DM542T which is brilliant.

    Both do the same thing if you swap two wires.

    Do all your steppers turn in the same direction ie CW OR ACW? I can easily change the direction of mine from a menu selection.
    Thanks for confirming this. Between your responses and a couple I got on CNC Zone, it's confirmed for me that the reverse wiring is just a matter of motor direction. I can't confirm the CW or ACW because the machine is in a state of partial disassembly. I'm also installing a second hard limit switch on the X, Y and Z axes as the machine only came with one on each.

    Thanks again for your help
    PS I had a lookat the link you provided and the colour code of my wiring is different again.....red, yellow, blue and green
    Last edited by Dougsshed; 12th October 2018 at 08:41 PM. Reason: Additional info available

  11. #10
    Join Date
    Jan 2014
    Location
    Sydney Upper North Shore
    Posts
    4,470

    Default

    Seems they sure do vary.

    8CECE6F4-6B3D-4F23-BD6E-F80978A4AF77.jpg

    What brand and are the steppers ?

  12. #11
    Join Date
    Feb 2012
    Location
    Hoddles Creek
    Posts
    65

    Default

    Quote Originally Posted by Lappa View Post
    Seems they sure do vary.

    8CECE6F4-6B3D-4F23-BD6E-F80978A4AF77.jpg

    What brand and are the steppers ?
    Stepper Motor.jpg Sorry, I can't read Chinese

  13. #12
    Join Date
    Feb 2012
    Location
    Hoddles Creek
    Posts
    65

    Default

    Quote Originally Posted by Lappa View Post
    Seems they sure do vary.

    8CECE6F4-6B3D-4F23-BD6E-F80978A4AF77.jpg

    What brand and are the steppers ?
    While we're on the subject, do you know what the 8 switches on the drivers do? All 4 of my drivers have switches 1,7 & 8 ON but only the Z driver has switch 2 on.

  14. #13
    Join Date
    Dec 2017
    Location
    Aldinga Beach
    Posts
    478

    Default

    They usually have information on the side of the drive indicating the dip switch info

  15. #14
    Join Date
    Feb 2012
    Location
    Hoddles Creek
    Posts
    65

    Default

    Quote Originally Posted by ericks2 View Post
    They usually have information on the side of the drive indicating the dip switch info
    Indeed they do! It's amazing how blind one can be to the obvious Not that I understand how to interpret the info. Time to chat to Mr. Google.

  16. #15
    Join Date
    Jan 2014
    Location
    Sydney Upper North Shore
    Posts
    4,470

    Default

    These are the switch settings on my 542T driver, It has 8 switches.

    BC361701-6911-4ACF-AF7F-B2A274F5FD85.jpg

    My Tb6600 knock off only has 6 switches.
    First 3 are for current limiting setting ; Last 3 are for divisions of steps eg. 1; 1/2; 1/4; 1/8; 1/16 etc.

    They vary so you would need to be specific for your driver

Page 1 of 2 12 LastLast

Similar Threads

  1. Stepper Motor drivers
    By KBs PensNmore in forum CNC Machines
    Replies: 2
    Last Post: 30th August 2016, 10:31 PM
  2. Very hot stepper motors
    By Woodlake in forum CNC Machines
    Replies: 4
    Last Post: 3rd January 2012, 02:30 AM
  3. Stepper motors
    By benupton in forum CNC Machines
    Replies: 8
    Last Post: 5th June 2010, 10:02 AM
  4. FREE: Stepper motor drivers
    By snowyskiesau in forum CNC Machines
    Replies: 1
    Last Post: 11th April 2010, 09:53 PM
  5. stepper motors
    By eggo in forum CNC Machines
    Replies: 2
    Last Post: 7th February 2010, 06:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •