<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Emergency stop --&amp;gt; external button</title>
        <description> Am planning to add two external button switches.

Something like this:
[www.barantec.com]

One for emergency stop, and one for G28 command and continuing with program execution ( reset with vision program auto start ).
At the moment PC ---&amp;gt; Duet comm is done over USB cable.

What would be &quot;best&quot; way to read this impulse and pass it to running program ? 
Arduino --&amp;gt; serial2USB converter --&amp;gt; reading data from this USB device and passing in realtime to vision program ?

btw. what command should be executed for emergency stop ?

Arnix</description>
        <link>https://reprap.org/forum/read.php?178,839756,839756#msg-839756</link>
        <lastBuildDate>Tue, 21 Apr 2026 22:14:35 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?178,839756,839824#msg-839824</guid>
            <title>Re: Emergency stop --&gt; external button</title>
            <link>https://reprap.org/forum/read.php?178,839756,839824#msg-839824</link>
            <description><![CDATA[ Your vision system could add a <i>request_pin_state</i> after each move. That way a switch ( no push button ) can cause a pause (or maybe run a macro of your liking?).<br />
<br />
In RRF it could be <a href="https://reprap.org/wiki/G-code#M577:_Wait_until_endstop_is_triggered" target="_blank" >M577</a> or similar ( eg. filament runout sensor )]]></description>
            <dc:creator>o_lampe</dc:creator>
            <category>Delta Machines</category>
            <pubDate>Wed, 28 Nov 2018 02:04:04 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?178,839756,839768#msg-839768</guid>
            <title>Re: Emergency stop --&gt; external button</title>
            <link>https://reprap.org/forum/read.php?178,839756,839768#msg-839768</link>
            <description><![CDATA[ OK. Thnx for input. I will add this to list of options :-)<br />
<br />
Basically, one option should be used for "small" errors and second for power cut off.<br />
In end effect i want to make this user friendly as much as possible. This is why i was planning <br />
to reset the vision program after some small error acours.<br />
E.g. G28 + trigger on some python script which will reset vision system.<br />
In this case reset would be over in 3- 4 seconds... just an idea.<br />
<br />
I guess that something similar can be done with your setup.<br />
Hmm, i would need some kind of confirmation that G28 / homing was executed correctly,<br />
before i can trigger restart of vision system...This could be a problem.....<br />
<br />
A.]]></description>
            <dc:creator>Arnix</dc:creator>
            <category>Delta Machines</category>
            <pubDate>Tue, 27 Nov 2018 09:40:45 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?178,839756,839767#msg-839767</guid>
            <title>Re: Emergency stop --&gt; external button</title>
            <link>https://reprap.org/forum/read.php?178,839756,839767#msg-839767</link>
            <description><![CDATA[ I'm using a reset button as a kind of emergency stop. It's tied to GND and Duet's reset pin, so the controller resets when you press it. This effectively also cuts power to the motors, heaters and fans because PS_ON defaults to off, making the power supply turn off the higher voltage. I also have a big switch that cuts all power to the power supply in case stuff goes seriously awry.]]></description>
            <dc:creator>tomasf</dc:creator>
            <category>Delta Machines</category>
            <pubDate>Tue, 27 Nov 2018 09:04:17 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?178,839756,839756#msg-839756</guid>
            <title>Emergency stop --&gt; external button</title>
            <link>https://reprap.org/forum/read.php?178,839756,839756#msg-839756</link>
            <description><![CDATA[ Am planning to add two external button switches.<br />
<br />
Something like this:<br />
[<a href="https://www.barantec.com/product/tactile-switch/" target="_blank"  rel="nofollow">www.barantec.com</a>]<br />
<br />
One for emergency stop, and one for G28 command and continuing with program execution ( reset with vision program auto start ).<br />
At the moment PC ---&gt; Duet comm is done over USB cable.<br />
<br />
What would be "best" way to read this impulse and pass it to running program ? <br />
Arduino --&gt; serial2USB converter --&gt; reading data from this USB device and passing in realtime to vision program ?<br />
<br />
btw. what command should be executed for emergency stop ?<br />
<br />
Arnix]]></description>
            <dc:creator>Arnix</dc:creator>
            <category>Delta Machines</category>
            <pubDate>Tue, 27 Nov 2018 05:08:34 -0500</pubDate>
        </item>
    </channel>
</rss>
