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

    Help setting z endstop position (Voron 2.4)

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    2
    3
    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.
    • EricE555undefined
      EricE555
      last edited by

      I am trying to get my z dialed in enough to print but I am not having any luck.
      The Voron 2.4 has a Z endstop switch that is off the edge of the bed and typically above the bed surface (as mine is). It is triggered by the nozzle tip hitting the endstop. My problem is that I am trying to set my offset for the z endstop in homeall.g but I have decided that won't work. Z position after ending homeall.g is always 0. What would be the proper method of setting this up so that z = 0 means the nozzle is at the bed surface, rather than at the position of the endstop? This printer is usually run by Klipper so I can't get help from others who have built/configured this printer.
      I tried using baby stepping M290 to do the adjustment but that just ended up with a printer that would not go down to 0 but would stop at whatever height I put into M290.
      It seems to me that I would like to run home till I trigger the z endstop, then set the height of Z to be the difference between where it triggers and where my bed surface actually is. I just don't know how to accomplish that.

      I am using the below for homeall.g

      ; homeall.g

      ; called to home all axes

      G91 ; relative positioning

      G1 Z8 F800 H2 ; lift Z relative to current position

      ; Homing Moves

      G1 H1 X310 F6000 ; move quickly to X axis endstops and stop there (first pass)

      G1 H1 Y310 F6000 ; move quickly to Y axis endstops and stop there (first pass)

      ;G1 Y288 F2000

      G90 ; back to absolute mode

      ;Homing Z

      G1 X204 Y310 F3600 ;position of Z swtich ;

      G1 H1 Z-200 F360 ; move Z down until the switch triggers ; speed 360

      ; never leave nozzle on endstop in case nozzle is hot = BAD

      ; Z Offset

      G92 Z.55 ; this does not work or change z

      ; Parking Position

      G1 Z10 F6000 ; park it

      1 Reply Last reply Reply Quote 0
      • EricE555undefined
        EricE555
        last edited by

        I think I figured it out for myself. I added these lines after the z endstop is triggered.

        ; Z Offset
        G1 Y300 ; move back over bed
        G1 Z0 ; move to 0
        G92 Z.45 ; reset to actual height

        dc42undefined 1 Reply Last reply Reply Quote 2
        • dc42undefined
          dc42 administrators @EricE555
          last edited by

          @erice555 yes that's the correct way to account for a low-end homing switch that triggers above the axis minimum.

          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
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA