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

Having trouble connecting motors to Duex5

Scheduled Pinned Locked Moved
Duet Hardware and wiring
3
6
583
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
    p40whk
    last edited by 18 Jun 2019, 21:12

    I've got a Duex5 connected to my Duet WiFi2 and am using Drive 5 and 9 for my X and Y motors and drives 6,7,and 8 for a three leadscrew Z-axis on the Duex5. Everytime I try to home either axis using home all or individually the Z-Axis moves (only drive 7) and I get no movement out of my other drives.

    This is how they are setup in my config.g:

    ; Drives
    M569 P0 S1 ; Physical drive 0 goes forwards
    M569 P1 S1 ; Physical drive 1 goes forwards
    M569 P2 S1 ; Physical drive 2 goes forwards
    M569 P3 S1 ; Physical drive 3 goes forwards
    M569 P4 S1 ; Physical drive 4 goes forwards (Extruder)
    M569 P5 S1 ; Physical drive 5 goes forwards (Y-Axis)
    M569 P6 S0 ; Physical drive 6 goes backwards (Z-Axis)
    M569 P7 S0 ; Physical drive 7 goes backwards (Z-Axis)
    M569 P8 S0 ; Physical drive 8 goes backwards (Z-Axis)
    M569 P9 S1 ; Physical drive 9 goes forwards (X-Axis)
    M584 X9 Y5 Z6:7:8 E4 ; Three Z motors connected to driver outputs 6,7,8 Drive 5 controls X, Drive 9 Controls Y, Drive 4 controls E
    ; Motor order: Left (1), Right (2)

    I am also getting the following error:

    Warning: motor phase A may be disconnected reported by driver(s) 6 7 8
    Warning: motor phase B may be disconnected reported by driver(s) 6 7 8

    I am using the standard cables that came with the steppers so not sure if the wiring is correct for the Duet as I haven't put a meter on them.

    Just wondering where I should begin troubleshooting as I'm not sure what is causing this, any help would be appreciated,

    Thanks

    undefined 1 Reply Last reply 18 Jun 2019, 21:35 Reply Quote 0
    • undefined
      deckingman @p40whk
      last edited by 18 Jun 2019, 21:35

      @p40whk You need to explicitly assign all drivers - see the warning here https://duet3d.dozuki.com/Wiki/Gcode#Section_M584_Set_drive_mapping

      So if you are not using drivers 0,1 ,2 and 3, make them extruders. i.e. M584 X9 Y5 Z6:7:8 E4:0:1:2:3.

      Just out of curiosity, what is the reason for not using drivers 0 to 3?

      Ian
      https://somei3deas.wordpress.com/
      https://www.youtube.com/@deckingman

      1 Reply Last reply Reply Quote 0
      • undefined
        p40whk
        last edited by 18 Jun 2019, 21:42

        Thanks Deckingham, I did not realize I had to assign the unused drivers.

        The reason I was not using 1-3 was more of a location and wire routing decision. Most of the stepper motors are close to the Duex5 so I have shorter wire runs and cleaner wiring. I also planto add additional extruders in the future so I will use those at a later time.

        I did put a meter on my motors and verify that they are wired right, I also ran the check stepper motor test here [https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors#Section_Checking_connected_stepper_motors](link url) And it is definitely the Z motors that are giving me the trouble.

        I try assigning the other motors and see what that does,

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 19 Jun 2019, 06:02

          Actually, you should not need go assign unused drivers. What you do need to do is reassign the extruders because drivers 5 to 9 default to being extruders; but you were already doing that.

          I suggest you use your multimeter to check the resistance between pairs of motor pins at the Duet end of the motor cables.

          Make sure that your M350 and M906 commands are later in config.g than the M584 command.

          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
            p40whk
            last edited by 19 Jun 2019, 11:13

            Thanks dc42, I went back in and did the reassignment of the drives and it seems to be working however I could not get the X or Y axis to home. It was late and I was falling asleep so I didn't get a chance to troubleshoot.

            I did use a multimeter and checked the resistance of motor pairs and that wasn't an issue, and my M350 and M906 commands do come after the M584.

            Just need to figure out why the X an Y axis won't home and I'll be happy. Using the procedure linked above, X and Y both move in the correct directions but there must be something wrong with my Home files preventing them from working right.

            undefined 1 Reply Last reply 19 Jun 2019, 11:15 Reply Quote 0
            • undefined
              deckingman @p40whk
              last edited by 19 Jun 2019, 11:15

              @p40whk Glad you are making progress. If you are still stuck, post your entire config.g and homing files here.

              Ian
              https://somei3deas.wordpress.com/
              https://www.youtube.com/@deckingman

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