Jump to content
UltiMaker Community of 3D Printing Experts

Print restart problem


Recommended Posts

Posted · Print restart problem

So I've got 2 FDM printers and 1 SLA printer. I'm using Cura for both the FDMs, but I only have this issue with 1. When the print is completed, the printer restarts the program, either destroying the print, or sliding the glass bed all over with a gob of burning filament on the end. I've tried looking up the gcode to stop this, but can find anything.  I've included the end program code if anyone can find anything I missed. 


M104 S0

M140 S0

;Retract the filament

G92 E1

G1 E-1 F300

G28 X0 Y0


  • Link to post
    Share on other sites

    Posted · Print restart problem

    There are a couple of little used Gcode commands that will cause that (M24, M32) but they aren't there.  I think it must be a firmware problem in that one machine.

    There are a couple of things you can try.  In your End-Gcode in the Cura machine settings for your printer add three lines at the end:

    M29 ;stops the printer from writing recovery information to the SD BIN file.

    M22 ;Releases the SD card (like an eject command on a PC).

    M21 ;Re-initialize the SD card (like when you plug it into a PC) so it can be read again by the printer.


    Alternatively you can try adding M0 to the end of your End-Gcode.  That will cause the printer to at least pause.  You could then restart it with a button click and then abort it really fast from the LCD, or optionally just pull the SD card out at your leisure.

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

    • Our picks

      • New here? Get ahead with a free onboarding course
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 14 replies
    • Create New...