OpenNeptune3D / OpenNept4une

Transform your Neptune 4 3D printer with OpenNept4une, a collection of scripts designed to replace the manufacturer's software, reverting to the original open-source projects for enhanced performance, reliability, and features.
GNU General Public License v3.0
362 stars 40 forks source link

Cancelling Print causes crash #185

Closed mwelby closed 5 months ago

mwelby commented 6 months ago

Hi on the Neptune Pro 4 - the firmware crashes if you try and cancel a print.

I have tried both in the Klipper interface and on the touchscreen and both exhibit the same issue.

If you need logs or further info, please let me know.

halfmanbear commented 6 months ago

If you issue CANCEL_PRINT via fluidd or by pressing Stop on the touchscreen, the print should finish the buffered gcode then issue a print end (early).

The red (emergency) stop button top right of both fluidd and the touchscreen (M112) should cause an immediate print cancel causing klipper firmware to shutdown, requiring a manual firmware restart.

So when you are issuing CANCEL_PRINT is it crashing or stopping firmware? Klipper's firmware? Or the touchscreen display firmware?

mwelby commented 6 months ago

Hi,

I am guessing I am probably not waiting for the buffer to clear - how long is the buffer?

The emergency stop works instantly.

The only one that seems ages is in klipper and the touchscreen (Cancel)

phillipthelen commented 6 months ago

I'm not entirely sure what you describing. Using the button to Stop from the display or fluidd is not immediate, that is correct. As @halfmanbear described the buffered gcode is executed first.

Where exactly are you seeing the crash and what is the error message?

mwelby commented 5 months ago

Please ignore this - I think it's just me being impatient while the buffer clears and then stops the print.