Navigation

    Duet3D Logo

    Duet3D

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

    Emergency Stop (custom machine)

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

      Hi all,

      We've set up a Duet controller to run a home built plasma cutter and want to add an emergency stop button to it. I've read https://duet3d.com/wiki/Connecting_an_Emergency_Stop_button about 100 times and tried multiple configurations of the M581 code, but can't seem to get it working properly.

      Here's what I have so far:
      E-Stop button is wired to the two outside pins on the E0 endstop.
      If I press the E-Stop button, the LED on the Duet board will light up. I also will see a "halted" message on the web page.
      My code is:
      M581 E0:1 S0 T0

      If I move the cutting head out into the middle of the table and home it then press the E-Stop button, nothing happens,

      Ideas?

      Thanks!

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

        It might depend on how you have wired the estop - so have you tried S1 instead of S0 (that's how mine are configured). Also, if it's only wired to E0, then you don't need "E0:1" just E0 will work (but having E1 as well shouldn't matter). Finally, you might want to add C0 to the M581 so that it triggers at any time. Otherwise, if the machine is running a macro such as homing, then it'll wait for that macro to complete before the trigger gets acted upon.

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

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

          I'm adding e-stop like features for the printer at work. I would personally avoid a software controlled e-stop unless it was on a dedicated safety controller. These tend to be not cheap and often come with there own perculiar programming methods.

          I've chosen to split my power supply 3 ways. 5V psu for duet. 24v psu for fans (think fan stopping on a hot hot end) and 24v for the steppers and hot bits. I've a relay (actually a pair of force guided relays, but thats probably overkill for your intention) whose coil is grounded by the duet PSU on pin and fed by a non-latching push button initialy and then by spare poles on the relay once the relay is energised. The relay cuts the mains to the stepper/hot bits psu. All contacts are protected by fuses to minimise the chance of contact welding. In use the duet needs to be on and M80 command sent then the reset button will arm the more dangerous parts of the system. I hope to setup the duet to drop the PSU on signal on heater fault. The user would need to visit the macjine to restart. That is intentional as an e-stop implies something went badly wrong and things should be checked over.

          If you are however just want a convenient stop process button, rather than an emergency stop then my ramblings are irrelevant!

          Alive: 1 Ormerodish machines. 1 Custom Cantilever. 3 P3Steel. 1 Ciclopish scanner. In build: 1 P3Steel. Controllers: 2 Duet 2 , 2 D0.6, 1 D0.8.5, 1 D3 v0.5, 1 RAMPS/DRV8825, 1 Uno/Scan Card.

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