Correct wiring for Emergency Stop Button
-
Hi Guys,
I'm trying to wire a NC Emergency stop button, but can't get it working correctly.
I have the NC contacts wired to IO4, to pins 3.3v and io4 In.
Here's the code I've added, but does nothing?
; Emergency Stop M950 J1 C"io4.in" M581 P1 T0 S0 R0 M582 T0
What is the correct way to do this please?
-
Three things -
First, the mods frown on multiple threads from the same person for the same problem
Second, based on your other thread you said you had it working with !io4.in (inverted) so I am confused what isn't working.
Third, the M582 line seems to be unnecessary -
This post is deleted! -
@Dizzwold connect between in and ground, not in and 3.3v
-
@jay_s_uk @jens55 @Herve_Smith
Yes, Multiple threads from the same person and I thought it was working correctly.
I've had to remove my printer from it's enclosure (as it were), disconnect everything, so I could work inside the enclosure. I needed to quickly print a few items for inside the enclosure before I can put everything back (not realising I need to print anything before removing it all). So I've connected it all back together on my work bench.
The part cooling fan was on 100% and wouldn't turn off, the tool heater couldn't be found, machine reset, all to name a few issues when I switched it on.
I isolated this to my emergency stop button that was basically putting the printer into a constant emergency stop.
Don't ask me why, it just did, when it worked fine before???Yep following the guide below states to use 3.3v and ioxin, not ioxin and gnd.
https://docs.duet3d.com/User_manual/Connecting_hardware/IO_E_stopI'll give the ioxin and gnd a try tomorrow.
Thanks guys for your advice.