Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    G30 S-2 to max endstop

    Firmware wishlist
    2
    3
    42
    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.
    • oliof
      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.

      1 Reply Last reply Reply Quote 0
      • nhof
        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
        • oliof
          oliof last edited by

          Thanks, I'll check that out.

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