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

    G30 S-2 to max endstop

    Scheduled Pinned Locked Moved
    Firmware wishlist
    2
    3
    191
    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.
    • oliofundefined
      oliof
      last edited by

      Hi,

      With no min endstop and a max endstop configured for Z (M574 X0 Y0 Z2 S0) and a manual probe (M558 P0 ...), if I call G30 S-2, I get the manual probe assistant. Since the documentation mentions S-2 is used with a probe and all I have is a manual probe , the current behavior is correct.

      I would like to be able to use something like G30 S-2 to determine the maximum attainable z if all I have is a z max endstop, similar to how delta printers get their tower height measured. That way, when I change the nozzle or hotend, I can zero out the bed and find out what my actual current height is.

      <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

      1 Reply Last reply Reply Quote 0
      • nhofundefined
        nhof
        last edited by

        You should be able to do this by changing the home Z gcode.

        Just use your probe as normal to set the Z0 position at the bed.

        Then use the G1 command with the H3 flag. When it hits the endstop it will kill the move and update the max limit to be wherever the move ended.

        Something like this: G1 H3 Z500

        1 Reply Last reply Reply Quote 1
        • oliofundefined
          oliof
          last edited by

          Thanks, I'll check that out.

          <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

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