motors off
wbendick opened this issue · 3 comments
When I disconnect from serial and then reconnect, my steppers lose power and my gantry crashed into my table or workpiece. I have $1 set to 255. Is there a workaround for this?
Hello @wbendick,
By design, the Arduino is reset by opening the serial port (auto reset) and/or on power up. So, the stepper power lost is the normal behavior.
Solution to disable this can be found here:
https://playground.arduino.cc/Main/DisablingAutoResetOnSerialConnection/
But with disabled serial port connexion reset, you will probably need to modify your GCode sender because most of them are waiting for the Grbl's connexion/reset message when connecting to Grbl.
@++;
Gauthier.
I see. Would it be possible to have the motors immediately power up after reset to prevent drops?