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

    Dual Z homing weird behavior on U limit first

    Scheduled Pinned Locked Moved Solved
    General Discussion
    4
    20
    2.2k
    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.
    • LeonMFundefined
      LeonMF
      last edited by

      I loaded my old home file in and, while both axes will move for home, the U does not continue down to the limit switch after Z is triggered.

      I did swap out my XY motors yesterday and this problem seems to have occurred after that but The U axis works just fine when joined to Z so I didn't screw up the wiring and I'm presuming I did not blow up the board.

      I'm at a loss and don't even know what information to provide!

      Current: Railcore II ZLT w/Duet 3 and Hemera hot end.
      Retired: Robo3D R1,BI V2.5 Delta updated to BerryBot magnets, bespoke carriages and Duet Ethernet, M3D Promega;

      1 Reply Last reply Reply Quote 0
      • LeonMFundefined
        LeonMF
        last edited by

        Further testing:

        There seems to be something wrong with the S1 parameter for the U axis.

        • Restart my system with Z and U split
        • M564 H0 S0
        • G91 to go into relative mode
        • G0 U10 Z10 F500 -everything moves
        • I can repeat these relative moves repeatedly.

        Things fall apart when I do an S1 Move

        • G92 Z0 U0 for good measure

        • G0 U1 Z1 S1 - Both axes move 1mm toward my limit

        • Z position now shows 1mm, U shows my axis maxima 370

        • U will no longer move down to the limit since it appears to not be ignoring the limits!

        • Reset the machine for good measure

        • M564 H0 S0

        • G91

        • Do some relative moves for good measure

        • G0 U400 Z400 S1 - Both axes move toward the limit. U stops after about 30mm, Z continues moving.

        • At this point I estop the machine since it can't finish homing but I presume this is due to the same limit issue above.

        With this bug, it's hard to confirm whether the gantry style dual limit switch is even working but I'm not confident it is based on what I've seen from trying to home close to the limits.

        Current: Railcore II ZLT w/Duet 3 and Hemera hot end.
        Retired: Robo3D R1,BI V2.5 Delta updated to BerryBot magnets, bespoke carriages and Duet Ethernet, M3D Promega;

        dc42undefined 1 Reply Last reply Reply Quote 0
        • kazolarundefined
          kazolar
          last edited by

          @LeonMF here is what I do to home my Z -- it's 4 lead screws but would apply to you as well. Make sure you do M584 before you start motion -- also S1 is homing, S2 used to back away in the opposite direction -- it can be used when the printer is not homed.

          M584 Z6 B7 C8 D9 P10
          G91
          G1 Z6 B6 C6 D6 F450 S2
          G1 Z-500 B-500 C-500 D-500 F450 S1
          G1 Z5 B5 C5 D5 F450 S2
          G1 Z-10 B-10 C-10 D-10 F100 S1
          M584 Z6:7:8:9 P7
          M671 X708:708:-95:-95 Y615:0:0:615 S5
          G92 Z0 B0 C0 D0
          G90

          1 Reply Last reply Reply Quote 0
          • LeonMFundefined
            LeonMF
            last edited by

            @kazolar I am doing a proper M584 in my homing file and I don't understand how S2 would help. My problem is that the U axis stops moving when it appears reaches some internal movement limit.

            Current: Railcore II ZLT w/Duet 3 and Hemera hot end.
            Retired: Robo3D R1,BI V2.5 Delta updated to BerryBot magnets, bespoke carriages and Duet Ethernet, M3D Promega;

            1 Reply Last reply Reply Quote 0
            • LeonMFundefined
              LeonMF
              last edited by

              Here is my workaround homing file.

              • I added lines 23-28 prehoming the z axis to the limit switch. This allows the U axis to get close enough for gantry homing to work.
              • the next key element is line 41 where I reset the current position of U to be within the machine limits.
              • If also disabled lines 38 and 44 because they are taken care of by the previous two bullet points.

              It's not perfect but it gets me back on track.

              0_1546191549112_homez.g

              Current: Railcore II ZLT w/Duet 3 and Hemera hot end.
              Retired: Robo3D R1,BI V2.5 Delta updated to BerryBot magnets, bespoke carriages and Duet Ethernet, M3D Promega;

              1 Reply Last reply Reply Quote 0
              • kazolarundefined
                kazolar
                last edited by

                @LeonMF S2 allows moves which disregard end stop trigger or soft limits, with S2 moves you are allowed to move where ever and under whatever conditions you want -- some prohibitions have been introduced and have been hardened since, so the only way to bypass them is to use S2 for none S2 moves

                LeonMFundefined 1 Reply Last reply Reply Quote 0
                • LeonMFundefined
                  LeonMF @kazolar
                  last edited by

                  @kazolar Right, but the problem is that the travel to the home switch using S1 is what's broken. I'm not having trouble (now) traveling X and U without the S1 parameter as long as I reset the U axis to be within machine bounds.

                  Current: Railcore II ZLT w/Duet 3 and Hemera hot end.
                  Retired: Robo3D R1,BI V2.5 Delta updated to BerryBot magnets, bespoke carriages and Duet Ethernet, M3D Promega;

                  1 Reply Last reply Reply Quote 0
                  • kazolarundefined
                    kazolar
                    last edited by

                    @LeonMF I think doing an initial back off with S2 accomplishes just that, it basically allows for S1 move to proceed properly.

                    LeonMFundefined 1 Reply Last reply Reply Quote 0
                    • LeonMFundefined
                      LeonMF @kazolar
                      last edited by

                      @kazolar I tried using the S2 flag and it doesn't help the stalled U moves. It does help the first move after homing to be normal speed rather than super slow.

                      Current: Railcore II ZLT w/Duet 3 and Hemera hot end.
                      Retired: Robo3D R1,BI V2.5 Delta updated to BerryBot magnets, bespoke carriages and Duet Ethernet, M3D Promega;

                      1 Reply Last reply Reply Quote 0
                      • LeonMFundefined
                        LeonMF
                        last edited by

                        @dc42 I know today is New Year's and it's after normal business hours so I don't expect an immediate response. When you are back to looking into forum thing again, I'd appreciate any input you can give.

                        For some reason, the latest work around file stopped working for me after a couple of tries similar to the way the non-workaround script stopped working after initially working. I have no idea what to test, what to look for and I'm at a loss for what to do!

                        I'm happy to run any tests you suggest.

                        Current: Railcore II ZLT w/Duet 3 and Hemera hot end.
                        Retired: Robo3D R1,BI V2.5 Delta updated to BerryBot magnets, bespoke carriages and Duet Ethernet, M3D Promega;

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

                          @leonmf said in Dual Z homing weird behavior on U limit first:

                          Further testing:
                          There seems to be something wrong with the S1 parameter for the U axis.

                          Restart my system with Z and U split
                          M564 H0 S0
                          G91 to go into relative mode
                          G0 U10 Z10 F500 -everything moves
                          I can repeat these relative moves repeatedly.

                          Things fall apart when I do an S1 Move

                          G92 Z0 U0 for good measure

                          G0 U1 Z1 S1 - Both axes move 1mm toward my limit

                          Z position now shows 1mm, U shows my axis maxima 370

                          What I think is happening is that the firmware thinks the U endstop switch has been triggered. Likely causes are:

                          • A bad crimp connection on the U axis endstop connector. Your U endstop is active high, so a disconnected endstop will look like a trigerend endstop.
                          • Your M574 endstop parameters have become corrupted.

                          I suggest you send M584 P4 to enable the U axis, then send M119 to check what the Z and U endstop switches are reporting. Also send M574 without parameters to check that the Z and U endstop switch settings are correct.

                          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
                          • LeonMFundefined
                            LeonMF
                            last edited by

                            @dc42 Checking the end stops is one of the first things I did but I didn't look deeply into it. A spotty end stop could definitely explain the problem.

                            I'll report back here when I've confirmed. Thank you!

                            Current: Railcore II ZLT w/Duet 3 and Hemera hot end.
                            Retired: Robo3D R1,BI V2.5 Delta updated to BerryBot magnets, bespoke carriages and Duet Ethernet, M3D Promega;

                            1 Reply Last reply Reply Quote 0
                            • LeonMFundefined
                              LeonMF
                              last edited by

                              I've confirmed a loose connector that was still tight enough to work sometimes. Thank you.

                              Current: Railcore II ZLT w/Duet 3 and Hemera hot end.
                              Retired: Robo3D R1,BI V2.5 Delta updated to BerryBot magnets, bespoke carriages and Duet Ethernet, M3D Promega;

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

                                Thanks, I'll mark this as solved.

                                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
                                • Parkinundefined
                                  Parkin
                                  last edited by

                                  I ever face to your problem when I try to use dual Z independence. I found the solution as below;

                                  Config.g
                                  ;Define Axis
                                  M584 X0 Y1 Z2:4 U4 V2 E3

                                  homez.g
                                  G91 ; relative positioning
                                  G1 V5 U5 F6000 S2 ; lift Z relative to current position
                                  G1 S1 V-405 U-405 F1800 ; move Z down until the endstop is triggered
                                  G92 V0 U0 Z0 ; set Z position to axis minimum (you may want to adjust this)

                                  We need setup one more axis and home the individual driver. So it will true independence endstop one each driver.

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