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

    Flying extruder with 4th axis

    Scheduled Pinned Locked Moved
    Firmware developers
    13
    100
    10.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.
    • dc42undefined
      dc42 administrators
      last edited by

      Please post your config.g and homedelta.g files.

      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
      • anderundefined
        ander
        last edited by

        Hi
        I´m also getting another error that says could not update homedelta.g.
        Here i´m adding what you asked me, just keep in mind that i have an endstop switch in the extruder, similar to what the atom printer mounts.

        1_1549013751464_config.g
        0_1549013751464_homedelta.g

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

          @ander said in Flying extruder with 4th axis:

          I´m also getting another error that says could not update homedelta.g.

          That probably means that the printer is still executing homedelta.g. You can use the Emergency Stop button to reset it.

          You need to add the correct U parameter to the following commands in config.g:

          M92 M906

          and optionally also add a U parameter to M350.

          Your M574 U parameter should be U2 because it is (or should be) at the high end of the tower.

          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
          • dc42undefined
            dc42 administrators
            last edited by dc42

            PS - also:

            1. I suggest you add parameter P3 to the M584 command in config.g to hide the U axis. Then insert M584 P4 near the start of homedelta.g to un-hide it, and M584 P3 after the second G1 S1 line.

            2. Remove the U-5 parameter from line 9 of homedelta.g. That G1 command is a normal move command (no S1 or S2 parameter), so U will track Z.

            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
            • anderundefined
              ander
              last edited by

              Still doesn´t work, the U axis is not showing in the beginning, then it shows, tries to home and says it can´t after a while....i found some error....if i push the endstop of the U axis the z probe switches in the duet control panel. but the conection is in E0 so it is right

              1 Reply Last reply Reply Quote 0
              • anderundefined
                ander
                last edited by

                G28 U
                homing file not found
                it is giving that error, here goes my files after doing those changes, i still have the problem i sayd before about the endstops
                1_1549017082633_config.g
                0_1549017082632_homedelta.g

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

                  Don't try to home U by itself using G28. You have already updated your homedelta.g file to home U concurrently with XYZ.

                  Here is how to test the U axis:

                  1. Send M584 P4 to make the U axis visible.

                  2. Send G91 to put the machine in relative mode.

                  3. If you send G1 S2 U20 then the U carriage should move up 20mm. If you send G1 S2 U-20 then it should move down 20mm.

                  4. If that works, try G1 S1 U100. The U carriage should move up for 100mm or until the U endstop is triggered, whichever happens first.

                  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
                  • dc42undefined
                    dc42 administrators
                    last edited by dc42

                    I'm simulating your setup on my bench. After making the corrections to the config..g and homing files, I found a couple of issues:

                    1. The M208 U axis limit needs to be set high so that it doesn't artificially limit the U axis movement. So I suggest you add U1000 to your M208 S0 command. I will put a fix for this in the next build.

                    2. There is something odd happening at the end of homing that causes it to remain busy for about a minute. I am still investigating this.

                    Once homing is complete, it appears to work properly. On pure Z movements, the U motor moves with the other three. On XY moves, the U motor moves down by an amount depending on the XY distance from centre.

                    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
                    • anderundefined
                      ander
                      last edited by

                      I does work but the motor its being moved from E1 driver, and the endstop that reads for the U axis is the E0 endstop

                      dc42undefined 1 Reply Last reply Reply Quote 0
                      • anderundefined
                        ander
                        last edited by

                        By the way, i couldn´t respond yesterday because the forum was blocking my messages by marking them as spam,i tried to unlog, log back again, reboot the computer etc. but didn´t work, it looks like now runs fine, i don´t know why.
                        apart from all you sayd to change i had to add some more features to the code for the U axis, like M92 M 566 M203 M201 M906.
                        i will put my code back again so anyone can look at it. I forgot to add the M906 and i realized that he was trying to move but with no success, so i added the milliamp value and started working.
                        The only thing that looks is stopping from working properly is the endstop thing.
                        The E0 endstop is needed for the autolevel function, so i cannot just use it as U axis endstop
                        1_1549104900494_homedelta.g
                        0_1549104900493_config.g

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

                          @ander said in Flying extruder with 4th axis:

                          I does work but the motor its being moved from E1 driver, and the endstop that reads for the U axis is the E0 endstop

                          That is exactly as it should be. Endstop inputs are allocated in the order that the corresponding axes are created, regardless of which motor outputs are used for the corresponding motors.

                          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
                          • dc42undefined
                            dc42 administrators @ander
                            last edited by dc42

                            @ander said in Flying extruder with 4th axis:

                            The E0 endstop is needed for the autolevel function, so i cannot just use it as U axis endstop

                            You can use either the E1 endstop or the Z probe input for your Z probe instead (or the Z endstop input if you don't have a Z endstop switch). See the description of the M558 P parameter.

                            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
                            • dc42undefined
                              dc42 administrators
                              last edited by

                              I've fixed some bugs in the additional tower support and put a new binary at https://www.dropbox.com/s/fyvibzm0zl92hiy/Duet2CombinedFirmware.bin?dl=0. I think it is all working now.

                              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
                              • anderundefined
                                ander
                                last edited by

                                Hi there
                                i still have the same issue, i don´t know how exactly change the endstop thing.
                                Looking on machine status, and pushing by hand the U axis endstop, where Z-probe value is, shows a change from 0 to 1000.
                                Homing all the towers works fine, the compensation of the U hight when moving X and Y axis seems to work fine too, but the bed leveling doesn´t work, it crashes against the bed and not stopping when the effectors switch is pushed.
                                Pushing M584 P4 , (head position U) shows a value of 0, after homing shows a value of 747.00, and it doesn´t change even if i move the axis(i don´t know if it´s the way that should work).
                                Settings/Machine properties, pushing U axis endstop shows E0 "endstop hit" changing to yes.
                                After using the comand homing, it is showing me the E1 values too, if i touch the efector´s switch by hand " Endstop hit" changes to yes(conections are fine), Minimun and maximun values are n/a just in E1, everything else looks identified.

                                Pd:
                                By the way, this has nothing to do with all the setup we are working on but sometimes randomly looses conection with the duet and you need to reconnect.

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

                                  If you have connected the Z probe to the E1 endstop input, then you need to use P4 C4 in your M558 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
                                  • anderundefined
                                    ander
                                    last edited by

                                    Cool, it works almost fine, but it says that the endstop is allready triggered when doing the mesh levelling

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

                                      Does the Z probe reading indicate correctly when you operate the Z probe switch?

                                      If your printer is out of calibration then you may need to increase the dive height in M558 temporarily to probe from a greater height.

                                      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
                                      • anderundefined
                                        ander
                                        last edited by

                                        I does work fine, triggerring by hand now Z probe changes to 1000 from 0.
                                        The weird thing is that the bed levelling was working correctly before and not anymore.
                                        What value is the height value, the F or the T?

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

                                          The dive height is the M558 H parameter.

                                          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
                                          • anderundefined
                                            ander
                                            last edited by

                                            Hi there!
                                            i changed it from 5 to 6, it looks that works fine so far, i have to adjust some parameters like speeds etc. and when it is possible i will post a video of all the setup working.
                                            Looking really cool.
                                            thanks for the help

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