zapmaker / GrblHoming

QT-based gcode user interface for grbl on arduino
GNU General Public License v3.0
318 stars 189 forks source link

Why don't the Stop and reset buttons work when executing a G-code? #127

Open Vald0 opened 5 years ago

Vald0 commented 5 years ago

I have a problem that when running a .ngc format, if I want to stop it with stop and reset, it doesn't work (my cnc is almost broken, I had to disconnect it). I think it's something about the arduino bookstore.

galaxiecruzin commented 4 years ago

This app, and many other apps like it will send several lines of gcode to the Arduino controller at a time. So stop/pause is only possible when the buffer has been completed. I ran into this same problem and have installed toggle switches so I can shut down the spindle motor and stepper motors independently, as well as en E-Stop switch that I can hit to shut the whole thing down. The switch type is called a SPST and would go in between one of the wires.... like this:

-----------------------
|                      |
+                      +
PSU                 Motor
-                      -
|                      |
-------------o / o-----
       Switch /