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

    X and Y motors not moving

    Scheduled Pinned Locked Moved
    General Discussion
    motor not running
    4
    27
    2.5k
    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.
    • samlogan87undefined
      samlogan87
      last edited by

      I have done some more troubleshooting. When I remap the extruder to one of the x and y drivers it works as it should. I can use the extrude and retract buttons to make the x and y axis to move. When I remap it back, I can not get it to home. The Z axis moves as it should, but the x or y won't move

      Custom Core-XY

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        How are you trying to move the motors?

        If you send this does the motor move?

        G91
        G1 S2 X10 F3000

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • samlogan87undefined
          samlogan87
          last edited by

          Currently I have just been trying to get it to home the axis. I have the homing g code files from the configurator and when I run it, the Z axis shifts up (down in my case being a corexy) and then nothing for the x and y until I push the end stops in. Once I do this, the z axis then moves again. It says that the axis have homed and when I try and shift it, nothing happens.

          I will give that a try and let you know.

          Custom Core-XY

          1 Reply Last reply Reply Quote 0
          • samlogan87undefined
            samlogan87
            last edited by

            I gave that a go and it doesn't move.

            Custom Core-XY

            1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators @samlogan87
              last edited by dc42

              @samlogan87 said in X and Y motors not moving:

              this is what I have in there

              M584 X3 Y4 Z2 P3 ; Driver 0 For X, 1 for Y, Z=2:3:4 U3 V4, Extruder 5 :0:1 U3 V4 E5
              M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation :16:16 U16 V16
              M92 X80 Y80 Z400 E420 ; Set steps per mm :400:400 U400 V400
              M566 X150 Y150 Z12 E120 ; Set maximum instantaneous speed changes (mm/min) :12:12 U12 V12
              M203 X150 Y150 Z180 E1200 ; Set maximum speeds (mm/min) :180:180 U180 V180
              M201 X250 Y250 Z250 E250 ; Set accelerations (mm/s^2) :250:250 U250 V250
              M906 X850 Y850 Z1850 E800 I50 ; Set motor currents (mA) and motor idle factor in per cent :1850:1850 U1850 V1850
              M84 S30 ; Set idle timeout

              Does it look correct?

              1. Please clarify: do you have X and Y mapped to drivers 3 and 4 as here, or mapped to drivers 0 and 1 as in the config.g file you listed in your first post?

              2. You can send following commands to test the X motor individually:

              G91 ; relative movement
              G1 S2 X10 F1000 ; move the X motor forward 10mm
              G1 S2 X-10 F1000 ; move the X motor back 10mm

              Similarly for the Y motor.

              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
              • samlogan87undefined
                samlogan87
                last edited by

                @dc42 said in X and Y motors not moving:

                G1 S2 X-10 F1000

                Hi there,

                Yes sorry it is as the above configuration. I was just making sure in that bit, that it was not a motor issue by mapping it to other drivers. Turns out the motors are fine.

                I tried that and nothing. They do not move at all.

                I am very confused as they turn when I set them up as extruders and use the retract button on the UI

                Custom Core-XY

                1 Reply Last reply Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator
                  last edited by

                  Just on a lark, can you delete the entire line and type it out again from scratch?

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • samlogan87undefined
                    samlogan87
                    last edited by

                    Yeap I did that.

                    G1 S2 X100 F1000 and it did not move at all

                    Custom Core-XY

                    1 Reply Last reply Reply Quote 0
                    • Phaedruxundefined
                      Phaedrux Moderator
                      last edited by

                      Sorry, I meant the M584 command

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator
                        last edited by

                        Also, are you sure the x and y steps per mm are 80?
                        You said when you switched them to be extruders they worked but the extruder steps are 400.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • samlogan87undefined
                          samlogan87
                          last edited by

                          Sorry I typed M584 and got

                          M584
                          Driver assignments: X0 Y1 Z2:3:4 U3 V4 E5, 5 axes visible

                          I tried changing the steps per mm to 800 and it just sits there and hums

                          Custom Core-XY

                          1 Reply Last reply Reply Quote 0
                          • Phaedruxundefined
                            Phaedrux Moderator
                            last edited by

                            If you replace your m584 command in config.g with just M584 X0 Y1 and nothing else do they work then?

                            Z-Bot CoreXY Build | Thingiverse Profile

                            1 Reply Last reply Reply Quote 0
                            • samlogan87undefined
                              samlogan87
                              last edited by

                              Tried that and still nothing. Sounds like it wants to move but it doesn't do anything unfortunately

                              Custom Core-XY

                              1 Reply Last reply Reply Quote 0
                              • Phaedruxundefined
                                Phaedrux Moderator
                                last edited by

                                Can you send M906 and verify that the motor currents are being accepted?

                                Z-Bot CoreXY Build | Thingiverse Profile

                                1 Reply Last reply Reply Quote 0
                                • samlogan87undefined
                                  samlogan87
                                  last edited by

                                  Sure can.

                                  Here they are

                                  M906
                                  Motor current (mA) - X:850, Y:850, Z:1850, U:1850, V:1850, E:800, idle factor 50%

                                  Custom Core-XY

                                  1 Reply Last reply Reply Quote 0
                                  • Phaedruxundefined
                                    Phaedrux Moderator @samlogan87
                                    last edited by

                                    This is why

                                    ; Automatic power saving

                                    M911 S10 R11 P"
                                    M913 X0 Y0

                                    M913 is dropping current to 0%

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    1 Reply Last reply Reply Quote 2
                                    • samlogan87undefined
                                      samlogan87
                                      last edited by

                                      You are an absolute genius. It works.

                                      Thank you so much. I really love this forum

                                      Custom Core-XY

                                      1 Reply Last reply Reply Quote 0
                                      • Phaedruxundefined
                                        Phaedrux Moderator
                                        last edited by

                                        Aww shucks.

                                        Now maybe I can sleep because that was bugging me.

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        1 Reply Last reply Reply Quote 0
                                        • whosrdaddyundefined
                                          whosrdaddy
                                          last edited by

                                          Nice catch!
                                          This one was bugging me too 🙂

                                          1 Reply Last reply Reply Quote 0
                                          • samlogan87undefined
                                            samlogan87
                                            last edited by

                                            Yeah I have no idea why that line was in there. I copied the restart on power fail from somewhere and it must have been in there. Oh well I am really happy you guys have sorted it for me. I was starting to get a bit deflated.

                                            Custom Core-XY

                                            dc42undefined 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA