Navigation

    Duet3D Logo

    Duet3D

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

    Emergency Stop - M999 behaviour

    General Discussion
    3
    3
    427
    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.
    • resam
      resam last edited by

      Hi,

      what is the intended behaviour of issuing a M999, or pushing the "STOP" button on PanelDue while a G28 is running?

      I seem to have noticed that it continues driving the steppers and only pushing the reset-button on the DuetWifi will stop them (tested on DuetWifi + 1.19.2)
      Ideally I'm looking for a way to invoke a "hard reset" that really stops everything (immanent nozzle crash etc.)

      Will an emergency stop via external button/microswitch (M112 via https://duet3d.com/wiki/Connecting_an_Emergency_Stop_button)) do what I'm looking for?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • deckingman
        deckingman last edited by

        M581 is what you are looking for. I have an external emergency stop button connected to E0 which works as you describe. I also have switches on all the axes maxima wired in series and connected to E1. The M581 lines in my config.g look like this:

        M581 E0 S1 T0 C0 ; E0 is emergency stop button, S1 = rising edge, T0 is emergency stop like M112, C0 means any time
        M581 E1 S1 T0 C0 ; E1 is axes limits

        You can invoke other actions by using a different "T" value - see here https://duet3d.com/wiki/G-code#M581:_Configure_external_trigger

        HTH

        Ian
        https://somei3deas.wordpress.com/
        https://www.youtube.com/c/deckingman/

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

          Currently, M999 or Emergency Stop from PanelDue is not immediate in the case that you have sent a command from PanelDue that has not completed.

          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