LaserWeb / deprecated-LaserWeb3

Open Source Laser Cutter / Engraver software. Supports gcode, svg, dxf, stl, png, jpg, bmp
265 stars 68 forks source link

Smoothie M999 reset after error/end stop hit #176

Closed Pooky1306 closed 7 years ago

Pooky1306 commented 7 years ago

It seems that after smoothie goes to halt mode, LW3 can't send commands anymore. However the M999 command is required to clear the halt state but it just goes in the buffer. It would be cool to be able to send the M999 command from LW.

Btw hard reset is working but in some case a restart of node.js is required.

ghost commented 7 years ago

Agreed! Will do asap

ghost commented 7 years ago

Implemented today

Please test!

alarm state

cprezzi commented 7 years ago

Seems to work perfect :) Hint: you should also dump the grblBufferSize array when you dump gcodeQueue, otherwise the character counting would get messed up. I have corrected that with my last commit.