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

    Motors not moving

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    27
    1.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.
    • A Former User?
      A Former User @Benji
      last edited by A Former User

      @benji said in Motors not moving:

      M566 X80?5 Y80.5 Z405.6 E644.81

      could be the ? in there is tripping your config up?

      (edit: incidentally if you run M98 Pconfig.g in the g-code console it'll run through the config and maybe give you some indications of errors)

      Benjiundefined 1 Reply Last reply Reply Quote 0
      • Benjiundefined
        Benji @A Former User
        last edited by

        @bearer yes that is a silly error which I only just added. I corrected it but still it didn't fix anything. I tried. I just noticed that if I press home all the X starts moving towards the switch very slowly and stops before it gets there and then moves towards the y switch very slowly and stops. Each time I get the error "G0/G1 insufficient axes homed"

        1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User
          last edited by

          you'll get "G0/G1 insufficient axes homed" as long as you don't hit the endstop with a G0/G1 command that has a S1 or S3 flag set, or use G92 to set the axis to 0, or allow the override with M564.

          do but if you have copied your steps/mm from Marlin, and set the duet to use 256 microsteps, then that'll explain slow speed and short moves. either multiply your steps/mm by 16 or reduce the microstepping to 16 with interpolation to 256?

          Benjiundefined 1 Reply Last reply Reply Quote 0
          • Vetiundefined
            Veti
            last edited by

            you should use the x16 with interpolation for all axis unless there is a very specific reason not to.
            running at x256 will put an unnecessary load on the cpu that could in some cases cause problems while printing.

            Benjiundefined 1 Reply Last reply Reply Quote 1
            • Benjiundefined
              Benji @A Former User
              last edited by

              @bearer ok thanks. That might help. I'll try that tomorrow.

              1 Reply Last reply Reply Quote 0
              • Benjiundefined
                Benji @Veti
                last edited by

                @veti is that microstepping though? It's one of the main reasons I went with this board. I just don't know much about it though

                1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User
                  last edited by

                  Yes, hes saying that you should keep the steps/mm as is and reduce the microstepping to 16, and let the driver handle the interpolation to 256 microsteps.

                  Benjiundefined 1 Reply Last reply Reply Quote 0
                  • Benjiundefined
                    Benji
                    last edited by

                    Ok, thanks all. Hopefully this works. Then I'll move on to the next issues.

                    1 Reply Last reply Reply Quote 0
                    • Benjiundefined
                      Benji @A Former User
                      last edited by

                      @bearer ok. So multiplying all steps by 16 worked. Except the extruder went ridiculously fast so I put that one back to what I had it.
                      Now I have two other issues. Or three really but only two are important.
                      1.) I can't get the hotend to start under active mode. Only standby mode.
                      2.) The hotend fan never starts
                      3.) I have a 12864 LCD that never comes on.

                      I believe it's all wired correctly.

                      Phaedruxundefined dc42undefined A Former User? 3 Replies Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator @Benji
                        last edited by

                        @benji said in Motors not moving:

                        So multiplying all steps by 16 worked.

                        So you're still using 256 microstepping? That's going to lead to issues down the line.

                        I'm not sure what you mean about the hotend in active/standby mode. Can you describe what you're trying to do?

                        For the fan, how do you have the hotend fan connected? The hotend fan should be connected to fan port 1.

                        I just noticed a problem with your config for fan0.

                        ; Fans
                        M106 P0 S0 I0 F500 H T45
                        

                        The last bit should be H-1 and no T45 so that it is controlled by the slicer for part cooling.

                        How do you have the 12864 display wired up? What type/brand of display is it?

                        Z-Bot CoreXY Build | Thingiverse Profile

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

                          @benji said in Motors not moving:

                          3.) I have a 12864 LCD that never comes on.

                          Have you seen https://duet3d.dozuki.com/Wiki/Duet_2_Maestro_12864_display_menu_system ? In particular, the bit about using M918 P1 in config.g to enable the display.

                          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

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

                            @benji said in Motors not moving:

                            ; Custom settings
                            M918

                            Looks like you're just missing the P1

                            Z-Bot CoreXY Build | Thingiverse Profile

                            Benjiundefined 1 Reply Last reply Reply Quote 0
                            • A Former User?
                              A Former User @Benji
                              last edited by

                              @benji said in Motors not moving:

                              Except the extruder went ridiculously fast so I put that one back to what I had it.

                              My bad, as you had the config for 256 microsteps for xyz and 16 for the extruder I asumed it was deliberately and for a purpose; and as such would understand the steps only needed changing for xyz.

                              But if you don't have a reason for using 256 microsteps I would suggest you go the other way and change all the microsteps to 16 and let the driver handle the interpolation to 256 like you had it for the extruder (and divide the xyz steps by 16 again).

                              Benjiundefined 1 Reply Last reply Reply Quote 0
                              • Benjiundefined
                                Benji @A Former User
                                last edited by

                                @bearer do you mean that if i set to 16 i will still get 256 microstepping somehow?

                                A Former User? 1 Reply Last reply Reply Quote 0
                                • Benjiundefined
                                  Benji @Phaedrux
                                  last edited by

                                  @phaedrux i did have the P1 originally which did enable it.
                                  Then i'd follow up with M918 and it would say its enabled and working but the lcd doesnt light up.

                                  1 Reply Last reply Reply Quote 0
                                  • Benjiundefined
                                    Benji @dc42
                                    last edited by

                                    @dc42 yes i tried that. it says its enable but nothing comes up on the screen.
                                    I tried plugging into the paneldue one and the screen at least lights up but nothing on the screen.
                                    I have copied the /menu folder contents to the right place

                                    A Former User? 1 Reply Last reply Reply Quote 0
                                    • Benjiundefined
                                      Benji @Phaedrux
                                      last edited by

                                      @phaedrux said in Motors not moving:

                                      ou mean about the hotend in active/standby mode. Can you des

                                      I mean that when i choose a temperature in active shown in the image and go to active mode it does nothing but it works in active mode.

                                      0_1562306652080_e3eccab3-b2c2-4480-b6fc-5aed8824a310-image.png

                                      1 Reply Last reply Reply Quote 0
                                      • A Former User?
                                        A Former User @Benji
                                        last edited by

                                        @benji said in Motors not moving:

                                        @bearer do you mean that if i set to 16 i will still get 256 microstepping somehow?

                                        Yes, somehow. If you ask the driver to move 1/16th of a step (i.e. 1 step pulse) the driver will divide that step into another 16 steps, resulting in 256 steps being made to move 1/80th of a millimeter. You need a very rigid machine to make use of any finer resolution than that.

                                        Benjiundefined 1 Reply Last reply Reply Quote 0
                                        • Benjiundefined
                                          Benji @A Former User
                                          last edited by

                                          @bearer so do i choose x16 or x16 (on)
                                          0_1562306864075_7adc2245-e540-4da2-965c-3c92fd7bc2d4-image.png

                                          A Former User? 1 Reply Last reply Reply Quote 0
                                          • A Former User?
                                            A Former User @Benji
                                            last edited by

                                            @benji said in Motors not moving:

                                            @dc42 yes i tried that. it says its enable but nothing comes up on the screen.
                                            I tried plugging into the paneldue one and the screen at least lights up but nothing on the screen.
                                            I have copied the /menu folder contents to the right place

                                            Not all 12864 displays are the same, some have different pinout and different controllers. Pictures clearly showing the wiring may help identify problems

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