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

    Association of stall with object being printed?

    Scheduled Pinned Locked Moved
    Firmware wishlist
    2
    4
    184
    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.
    • paralepsisundefined
      paralepsis
      last edited by

      Now that we have the ability to cancel specific objects, it would be useful to have the ability to associate a stall with a specific object.

      Especially once we have variables, I could imagine building a stall response that tries a couple of mitigations and ultimately cancels printing of the object.

      Thanks!

      Railcore II 300XL w/ Duet 3 & RRF 3.5rc4, Makerbot R2X w/ Duet 2 WiFi & RRF 3.4

      1 Reply Last reply Reply Quote 0
      • chrishammundefined
        chrishamm administrators
        last edited by

        You can configure stall detection to run rehome.g and in that macro you should be able to use job.build.currentObject. Would that help you?

        Duet software engineer

        paralepsisundefined 2 Replies Last reply Reply Quote 0
        • paralepsisundefined
          paralepsis @chrishamm
          last edited by

          @chrishamm Ah, interesting, thanks. Yes, that might help at least display which object it is.

          I am guessing that there might be some misleading situations when transitioning between objects?

          I was thinking I would try a few things before killing the object, for which I think I would need variables to count stalls (three strikes?). But this gives me something to start on!

          Railcore II 300XL w/ Duet 3 & RRF 3.5rc4, Makerbot R2X w/ Duet 2 WiFi & RRF 3.4

          1 Reply Last reply Reply Quote 0
          • paralepsisundefined
            paralepsis @chrishamm
            last edited by

            @chrishamm so I guess something like this?

            echo "Stall detected:"
            echo "  Current position:", move.axes[0].letter, move.axes[0].userPosition, move.axes[1].letter, move.axes[1].userPosition
            echo "  Current object:", job.build.currentObject
            echo "Rehoming and resuming."
            G28 X Y
            
            

            Railcore II 300XL w/ Duet 3 & RRF 3.5rc4, Makerbot R2X w/ Duet 2 WiFi & RRF 3.4

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