• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Dual Z Wiring Again

Scheduled Pinned Locked Moved
Duet Hardware and wiring
4
10
1.8k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    irondesk40
    last edited by irondesk40 29 Nov 2018, 19:36

    From studying the Duet3d Ethernet i have ordered i understand the board has two rows of connectors that can be used to control two Z motors and they behave identical.
    My questions is what if you use the Duet Expansion Breakout Board which i will have to do after testing in the lab due to fact the machine we are retrofitting has very large Nema 34 motors and already has Automation Direct STP-DRV-6575 Drives and management says to use them. I have a little understanding when it gets to that point that you have to remap the drives etc. but how would you wire the board so that two Z axis motors would behave exactly the same. The carriage on this machine is very larger, about 60 by 60 inches and has two stepper motors on each side to control the Z movement.
    Could you parallel the wiring that you would use for E4 on the Breakout board that will be wired into one of the external Stepper Drives to the second Stepper Drive?
    Thanks

    1 Reply Last reply Reply Quote 0
    • undefined
      irondesk40
      last edited by 29 Nov 2018, 19:42

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • undefined
        bot
        last edited by bot 29 Nov 2018, 19:49

        If you want two stepper motors to be connected to external drivers in the same manner as the z connectors on the duet's internal driver, you should connect them in series to one single driver output.

        *not actually a robot

        1 Reply Last reply Reply Quote 0
        • undefined
          irondesk40
          last edited by 29 Nov 2018, 19:51

          Bot
          Thanks, could you explain in a little more detail. The wires coming of the Step, Direction etc. from E4 on the breakout board would go to the external stepper controller #1, how would you connect to stepper controller #2

          1 Reply Last reply Reply Quote 0
          • undefined
            bot
            last edited by bot 29 Nov 2018, 19:55

            You only connect one set of inputs from the breakout board to the external stepper. Then, from that external stepper driver, you will wire two stepper motors in series. You will only need one stepper driver to control two motors, if you want them to behave the same way as the Z connector on the duet.

            Bear in mind, the drivers themselves will be different than the internal ones, so they won't behave the same... but the connection will be the same.

            *not actually a robot

            1 Reply Last reply Reply Quote 0
            • undefined
              SupraGuy
              last edited by SupraGuy 29 Nov 2018, 20:48

              If it's the series or parallel wiring that you don't understand, this is going to be difficult for you to do well.

              As stated, you only use one driver. For parallel wiring, each motor will only get half of the current, but see full voltage that goes through your driver. For series wiring, each motor will get the full current, but see half of the voltage. The drivers limit voltage in order to regulate current, so this is okay, so long as your driver has enough voltage going to it to have spare.

              RAMPS boards, are typically used with 12V, and so they wire two Z motors in parallel, in order to maximize the avaialable voltage. The Duet by default operates those motors in series, as it is better designed to take advantage of 24V power input, though it can also operate at 12V.

              The outputs from your stepper driver determine which it is. Call the motors Z1 and Z2. each of these has 2 coils, A and B, each coil has 2 terminals, 1 and 2.

              Your stepper driver has 4 outputs, A2(out) A1(out) B1(out) B2(out) named for the coils and terminals.

              0_1543525283618_seriesparallel.png
              In parallel wiring:
              A2(out) goes to both Z1A2 and Z2A2
              A1(out) goes to both Z1A1 and Z2A1
              B1(out) goes to both Z1B1 and Z2B1
              B2(out) goes to both Z1B2 and Z2B2

              In this way, whatever the driver puts out gets split between both motors

              In series wiring:
              A2(out) goes to Z1A2
              Z1A1 goes to Z2A2
              Z2A1 goes to A1(out)
              B1(out) goes to Z1B1
              Z1B2 goes to Z2B1
              Z1B2 goes to B2(out)

              If there is no motor connected to the Z2 connector, then you must jumper Z2A2/Z2A1 and Z2B1/Z2B2 or else the whole thing becomes an open circuit and the other motor will not turn at all. (You will get the exact same situation by swapping the jumpers to the Z1 connector and the motor to the Z2 connector.)

              I was going to do up a diagram, but I'm not sure that what I could do quickly would be any clearer.

              It is also possible to use multiple stepper drivers with each connected to an individual Z motor, but in this case, you would use a different step/direction channel. Unless you are looking to run stepper motors that require more power, and a single driver cannot handle more than one motor's voltage/current needs, in which case, you might want to reconsider component selection. The duet firmware can deal with multiple motors for any given axis.

              Lead screw driven printer, powered by Duet 2 Wifi
              MPCNC powered by Duet 2 Wifi
              CoreXY printer driven by Duet 3 6HC
              LowRider CNC powered by Duet 2 Wifi

              1 Reply Last reply Reply Quote 1
              • undefined
                irondesk40
                last edited by 29 Nov 2018, 21:03

                Thanks, will read in more detail but it appears your description, which is a great write up is explaining how to wire the output side of the stepper drive to two motors. What i was wondering is, is there a way to wire from the A4 terminal of the breakout board Step+, Step -, etc. to the input of both external stepper driver controllers? Or like on the main Duet board there are two connectors labeled Z and one has a jumper that if i understand correctly you remove to add another Z motor and both Z motors are then controlled identical through the connections of the main Duet board. Hope i can explain without being too confusing.
                Thanks

                1 Reply Last reply Reply Quote 0
                • undefined
                  SupraGuy
                  last edited by 29 Nov 2018, 21:27

                  The Duet's 2 Z motor ports are wired in series to a single driver, which is why they have the jumpers on the second connector.

                  It may be possible to wire multiple drivers to a single step/dir output, however I don't think that there is much advantage to this. It would be better to choose the stepper drivers that are capable of driving the intended load.

                  Lead screw driven printer, powered by Duet 2 Wifi
                  MPCNC powered by Duet 2 Wifi
                  CoreXY printer driven by Duet 3 6HC
                  LowRider CNC powered by Duet 2 Wifi

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    dc42 administrators
                    last edited by 29 Nov 2018, 21:48

                    Easiest IMO would be to wire the 2 external drivers to separate outputs on the expansion breakout board, and use the M584 command to map Z to both of them.

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      irondesk40
                      last edited by 29 Nov 2018, 22:00

                      Thanks to everyone. I realized on the drive home after getting off work that i was wrong in my previous post.
                      Spoke before i fully thought. As soon as i got in the car i realized that dummy, the two connectors on the board as SupraGuy said are wired in series to a single driver and then realized as DC42 said, just remap both to be a Z, which is why i chose the Duet over others in first place. Not that great with the G code but hope to get a lot better .
                      Thanks to everyone, learned to read and think about it a little longer before rushing to ask.
                      Have a great weekend.

                      1 Reply Last reply Reply Quote 0
                      3 out of 10
                      • First post
                        3/10
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA