gnea / grbl

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
https://github.com/gnea/grbl/wiki
Other
4.04k stars 1.61k forks source link

Spurious Alarm 1 is dangerous #1197

Open stevempotter opened 1 year ago

stevempotter commented 1 year ago

Probably due to noise on the limit switch lines, my machine halted feed in the middle of cutting and threw an Alarm 1. The dangerous thing about this behavior is that the spindle keeps spinning in one place and burning the wood, which could start a fire. Can we change the behavior upon ALARM 1 to an open-DOOR-like response? I have set that to pull up the spindle and halt its rotation. I know, I should add a filter to get rid of the noise that caused this false alarm in the first place, but I would never be sure that it could filter out all spurious pulses on the limit switch lines. Until then, I have to run with the hard limits disabled, which also has its safety issues!