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

    Z Axis Homing ..

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    17
    4.3k
    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.
    • krzakuundefined
      krzaku
      last edited by

      Yes, but the Z probe is configured in mode 4, switch mode, as per instructions in the wiki.

      1 Reply Last reply Reply Quote 0
      • number40fanundefined
        number40fan
        last edited by

        Ok, just wanted to make sure that wasn't the issue. Does the switch change when you run M119? Is there a difference in the Homing files between switch and probe? I haven't looked at the wiki for your particular printer.

        1 Reply Last reply Reply Quote 0
        • number40fanundefined
          number40fan
          last edited by

          ; Z homing file for Prusa i3 or similar printer using a Z probe for Z homing
          G91
          G1 Z5 F200
          ;G1 X100 Y100 F9000
          ;G30
          ; Un-comment the following line if you want the head to actually move to Z=0 after homing
          G1 Z-200 S1 F100 ; move Z down until the switch triggers
          G90 ; back to absolute mode
          G92 Z0.3 ; tell the firmware that we are at Z=0.3mm

          What happens if you try this?

          1 Reply Last reply Reply Quote 0
          • number40fanundefined
            number40fan
            last edited by

            Sorry, krzaku, thought I was talking with the OP.

            1 Reply Last reply Reply Quote 0
            • krzakuundefined
              krzaku
              last edited by

              G1 S1 for Z axis doesn't work, because the Z probe is not connected to the Z endstop port, but to the E0 endstop.

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

                Actually it will work if you include the Z1 parameter in the M558 command and Z0 in the M574 command, because then the Z probe will be used as the Z endstop too. However, that's not what you should be doing; if you want to home Z using a Z probe you should use G30 not G1 S1.

                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
                • krzakuundefined
                  krzaku
                  last edited by

                  That's exactly what I've been doing, and it's grinding the belt like I said. According to the wiki, G30 with no parameters shouldn't move the head at all. I also tried G29, and it goes to the same position at the start as G30, grinding the belt as well.

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

                    G30 with no parameters will move the head down until the Z probe triggers.

                    Have you tested the Z probe? i.e. gradually lower the head towards the bed ands watch the Z probe reading in DWC. For a switch-type Z probe, the reading will change from 0 to 1000 when the probe triggers.

                    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
                    • krzakuundefined
                      krzaku
                      last edited by

                      But it shouldn't move the head in the X/Y axis, should it? And yes, the probe is working for sure. I also tried it in switch mode, connecting it to the Z endstop header, and homing (with G1 S1) worked fine then. Even if the probe wasn't working, it wouldn't explain why the carriage mashes the Y axis and tries to go beyond while grinding the belt.

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

                        G30 with no parameters should not move the head in the XY plane. Are you finding that it does? If so, please let us know which firmware version you are running, what commands you are sending prior to G30, and post your config.g file.

                        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
                        • deckingmanundefined
                          deckingman
                          last edited by

                          The G30 moving in X and Y sounds awfully like deploy probe is being run. That's exactly what I ran into when upgrading to one of the 1.19 releases (can't remember which one) and I should have read the release notes which state that the deploy and retract probe files should be deleted from .sys. Once I deleted those files (in accordance with the release notes), G30 worked as expected.

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

                          1 Reply Last reply Reply Quote 0
                          • krzakuundefined
                            krzaku
                            last edited by

                            @deckingman that's it! Removing those files fixed my issue. I skimmed over the release notes, when I should've read them more closely…

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