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

    Abort when probing error

    Scheduled Pinned Locked Moved
    Gcode meta commands
    2
    3
    112
    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.
    • zuoyanundefined
      zuoyan
      last edited by

      My 3d printer bed got scratched due to bl touch reporting an error, but the axis moves continued at a start of a print.

      Now I added

      if result != 0
        abort "..."
      

      after almost every probing / home moves in most macro files. Is there a easy / tidy way to abort when probing or homing errors just happened?

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

        @zuoyan I can't think of an easier way to check for probing errors.

        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

        zuoyanundefined 1 Reply Last reply Reply Quote 0
        • zuoyanundefined
          zuoyan @dc42
          last edited by

          @dc42 I think there may be a bug in both 3.5.4 and 3.6.0. After a print, when the bed z is large, and the next print will trigger a probing error:

          G32
          Error: meta command: Probe was not triggered during probing move
          bed.g: G30 P0 failed # I checked and echoed this in the bed.g file
          

          I watched the move and found the bl touch was extended at the start. When Z moved up for some distance, it triggered this error. Now I tried to fix the issue by adding a check before G30:

          if move.axes[2].machinePosition > 10
            G1 Z10
          

          While it's not an issue when calling G32 at the start with a large z. But it happens frequently for a second print.

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