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

    Drive 3 is slower as drive 2 at homing in Z [Solved]

    Scheduled Pinned Locked Moved
    General Discussion
    5
    41
    4.0k
    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.
    • thweundefined
      thwe @deckingman
      last edited by

      @deckingman : My first priority is definitely a perfect backbone of the mechanics.

      My guides (mgn12) and ballscrews are aligned with dial gauge (parallelism and flatness) and it is paid attention to a clean and easy running.
      The print bed (alu fine milled 300 x 300 x 8mm) will be resurfaced on a flat grinding machine before installation , etc.

      All measures usually do not require a software correction. However, I would like to apply the procedure, which also is used in tool setting measuring machines.

      Why? just to learn for me.

      Of course, my baby is supposed to print someday, my granddaughter is already waiting for the first figures and a personal name tag for her schoolbag. But the current stage is used to craft, build, rebuild, annoy if something does not work and look happy when it works - and learn.

      The aim is to create a mechanical system to look behind the scenes, the machines I've just used. These are the last 25 years of application development on injection molding machines, from whose evolution in the direction of electric drives my curiosity comes.

      Conclusion: I do not always and absolutely necessary have to use it, but I can do it (such as your "Dynamic Force Canceling" which is very interesting and implemented great)

      PS: Sorry for any grammatical mistakes and wrong expressions - my english is only as well as google translators allowed 😉

      Thomas

      1 Reply Last reply Reply Quote 1
      • thweundefined
        thwe @deckingman
        last edited by

        @deckingman said in Drive 3 is slower as drive 2 at homing in Z:

        @thwe Strange indeed. It seems like one of the Z motors isn't retaining it's mapping after the first homing. A couple of suggestions to try.

        1. At the start and end of your home Z file, explicitly assign all axes to the configuration you have in config.g. So at the start of homeZ, put M584 X0 Y1 Z2:3 U3 E4 P3. Then remap the drives by using M584 X0 Y1 Z2 U3 E4 P4. Carry out the rest of the homing, then at the end of home Z, re-enter the original drive mapping in full - i.e. M584 X0 Y1 Z2:3 U3 E4 P3.

        2. Try initially assigning U to a different but unused axis like say 5. So in config.g use M584 X0 Y1 Z2:3 U5 E4 P3. Then in homez do M585 Z2 U3 before homing Z and U, then put the mapping back to Z2:3 U5.

        I've no real idea if either of these will fix the issue but worth a try?

        So I tested all your suggestions - unfortunately without success.
        the first call works well, all others as usual: U runs slower ☹

        Thomas

        deckingmanundefined 1 Reply Last reply Reply Quote 0
        • deckingmanundefined
          deckingman @thwe
          last edited by

          @thwe Hmmmmm - very odd.

          Try running the list of commands that David (DC42) suggested in his post dated and timed 18 Nov 2108, 17:01, starting with M584 P4 then M92 etc. Make a note of all the values. Then home Z and run those commands again and note the values. Then home Z a second time and run those commands for the third time. See if there is any change in the values reported for Z and U.

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

          1 Reply Last reply Reply Quote 0
          • thweundefined
            thwe
            last edited by

            When testing the above suggestion, I accidentally noticed that when homing again suddenly everything is running properly, but what was different?

            Well, the command M584 P4 before any other G commands has allowed both engines to run properly.

            Now I have only as a first command in my homez.g "M584 P4" and now everything runs as it should.

            Thomas

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

              I'm glad you solved it.

              The homez.g file you posted earlier starts like this:

              ; homez.g
              ; called to home the Z axis
              ;
              ; Drive 0 as X
              ; Drive 1 as Y
              ; Drive 2 as Z -> 1st Z-motor (left one, viewed from ahead) which is normal Z
              ; Drive 3 as U -> 2nd Z-motor (right one, viewed from ahead) which is now U
              ; Drive 4 as Extruder

              G91 ; relative positioning

              M584 Z2 U3 P4 ; Split Z into 2 (Z+U)

              Are you saying that putting the M584 command before the G91 command is what fixed it?

              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

              thweundefined 1 Reply Last reply Reply Quote 0
              • thweundefined
                thwe @dc42
                last edited by

                @dc42 said in Drive 3 is slower as drive 2 at homing in Z [Solved]:

                I'm glad you solved it.

                The homez.g file you posted earlier starts like this:

                ; homez.g
                ; called to home the Z axis
                ;
                ; Drive 0 as X
                ; Drive 1 as Y
                ; Drive 2 as Z -> 1st Z-motor (left one, viewed from ahead) which is normal Z
                ; Drive 3 as U -> 2nd Z-motor (right one, viewed from ahead) which is now U
                ; Drive 4 as Extruder

                G91 ; relative positioning

                M584 Z2 U3 P4 ; Split Z into 2 (Z+U)

                Are you saying that putting the M584 command before the G91 command is what fixed it?

                Yes, before "G91" as first line.

                Thomas

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

                  That's very strange, because I can't see any possible mechanism for the order of G91 and M584 making a difference. Are you sure that you didn't change anything else?

                  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
                  • thweundefined
                    thwe
                    last edited by thwe

                    Actually, yes, but I will reset it for safety's sake again to reproduce the funny behavior
                    At the Weekend i will give feedback

                    Thomas

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

                      Thanks, I'll wait for that feedback before I do the 2.02 release in case we can identify something that needs to be fixed.

                      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
                      • thweundefined
                        thwe
                        last edited by

                        So, tested again:

                        1. Turn on Duet Wifi - homez.g as in the appendix
                        2. G28 Z (via Button Home Z in the DWC)
                        3. Homing OK!
                        4. Moving in Z: G1 Z-10 (via button in the DWC)
                        5. G28 Z (via Button HomeZ in the DWC)
                        6. Homing OK!
                        7. Moving in Z: G1 Z-10 (via button in the DWC)
                        8. Edit homez.g -> set a semicolon before M584 P4
                        9. G28 Z (via Button HomeZ in the DWC)
                        10. Homing NOT OK! -> U slower as Z
                        11. Moving in Z: G1 Z-10 (via button in the DWC)
                        12. Edit homez.g -> delet Semicolon before M584 P4
                        13. G28 Z (via Button HomeZ in the DWC)
                        14. Homing OK! -> U as fast as Z

                        Thus, it is certain that only the first line of content "M584 P4" in homez.g prevents the strange behavior of the different speeds.

                        Only valid if the z-axis has already been homed. After a new start or reboot, the FIRST homing will always work, whether with or without the above line, until the second homing occurs.

                        for safety's sake again here my config.g
                        0_1542973940030_config.g

                        ... and here the homez.g:
                        0_1542974052538_homez.g

                        Thomas

                        deckingmanundefined dc42undefined 2 Replies Last reply Reply Quote 0
                        • deckingmanundefined
                          deckingman @thwe
                          last edited by

                          @thwe

                          Thomas,

                          I'm glad that you've found a cause and a work around. No doubt David will look further into the cause and come up with a solution in the firmware.

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

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

                            @thwe said in Drive 3 is slower as drive 2 at homing in Z [Solved]:

                            So, tested again:

                            1. Turn on Duet Wifi - homez.g as in the appendix
                            2. G28 Z (via Button Home Z in the DWC)
                            3. Homing OK!
                            4. Moving in Z: G1 Z-10 (via button in the DWC)
                            5. G28 Z (via Button HomeZ in the DWC)
                            6. Homing OK!
                            7. Moving in Z: G1 Z-10 (via button in the DWC)
                            8. Edit homez.g -> set a semicolon before M584 P4
                            9. G28 Z (via Button HomeZ in the DWC)
                            10. Homing NOT OK! -> U slower as Z
                            11. Moving in Z: G1 Z-10 (via button in the DWC)
                            12. Edit homez.g -> delet Semicolon before M584 P4
                            13. G28 Z (via Button HomeZ in the DWC)
                            14. Homing OK! -> U as fast as Z

                            Thus, it is certain that only the first line of content "M584 P4" in homez.g prevents the strange behavior of the different speeds.

                            Only valid if the z-axis has already been homed. After a new start or reboot, the FIRST homing will always work, whether with or without the above line, until the second homing occurs.

                            for safety's sake again here my config.g
                            0_1542973940030_config.g

                            ... and here the homez.g:
                            0_1542974052538_homez.g

                            Thanks!

                            Does it still work if you exchange the M584 P4 and G91 commands?

                            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

                            thweundefined 1 Reply Last reply Reply Quote 0
                            • thweundefined
                              thwe @dc42
                              last edited by

                              @dc42 :

                              Thanks!

                              Does it still work if you exchange the M584 P4 and G91 commands?

                              Yes, it does not matter if the M584 ...command comes before or after the G91 - with it work

                              Thomas

                              dc42undefined 1 Reply Last reply Reply Quote 0
                              • thweundefined
                                thwe @deckingman
                                last edited by

                                @deckingman said in Drive 3 is slower as drive 2 at homing in Z [Solved]:

                                @thwe

                                Thomas,

                                I'm glad that you've found a cause and a work around. No doubt David will look further into the cause and come up with a solution in the firmware.

                                I think so too, but the importance is not so high for this problem - who needs homing after a homing 🙃

                                Thomas

                                deckingmanundefined 1 Reply Last reply Reply Quote 0
                                • deckingmanundefined
                                  deckingman @thwe
                                  last edited by

                                  @thwe said in Drive 3 is slower as drive 2 at homing in Z [Solved]:

                                  @deckingman said in Drive 3 is slower as drive 2 at homing in Z [Solved]:

                                  @thwe

                                  Thomas,

                                  I'm glad that you've found a cause and a work around. No doubt David will look further into the cause and come up with a solution in the firmware.

                                  I think so too, but the importance is not so high for this problem - who needs homing after a homing 🙃

                                  Actually I quite often home Z repeatedly. I often swap hot end assemblies which changes the offset from the nozzle to the probe and find that the easiest way to adjust is simply to home Z, then raise the bed until it grips a thin piece of paper, edit the offset and re-home, repeat as necessary. Admittedly I haven't had the problem you had with multiple screws but someone else might in the future so it's good to find a solution, even if it might seem to be a small and rare problem.

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

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

                                    @thwe said in Drive 3 is slower as drive 2 at homing in Z [Solved]:

                                    @dc42 :

                                    Thanks!

                                    Does it still work if you exchange the M584 P4 and G91 commands?

                                    Yes, it does not matter if the M584 ...command comes before or after the G91 - with it work

                                    Thanks, I believe I've found the cause and I will implement a change in 2.02RC5 that I hope will fix it. It's to do with what happens when in M584 you reassign a driver to an axis that is initially not visible.

                                    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

                                    thweundefined 1 Reply Last reply Reply Quote 0
                                    • thweundefined
                                      thwe @dc42
                                      last edited by

                                      @dc42 : Unfortunately the update to 2.02RC5 has brought no solution, it has even become worse.
                                      After start or reboot the z-homing is ok, every further homing now always runs with the mentioned problem, no matter if with or without "M584 P4" and whether before or after the G91

                                      Thomas

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

                                        @thwe, I'm sorry to hear that. Added to my list to investigate again.

                                        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

                                        thweundefined 1 Reply Last reply Reply Quote 0
                                        • thweundefined
                                          thwe
                                          last edited by

                                          Thanks for the effort.
                                          I'm now back to 2.02RC4 to take the next steps, it's not rushing.

                                          Thomas

                                          1 Reply Last reply Reply Quote 0
                                          • thweundefined
                                            thwe @dc42
                                            last edited by

                                            @dc42 :
                                            today the firmware update on RC6 made -> homing (speed of both drives) is now ok

                                            Thomas

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