Jump to content
Ultimaker Community of 3D Printing Experts

Retaining nozzle and bed temp settings after printing is done


Recommended Posts

Posted · Retaining nozzle and bed temp settings after printing is done

Is it possible to set Cura default settings to retain the nozzle and bed temps when printing is finished? 


I want to go on with printing another object but the GCode sets the nozzle and bed temps back to zero.  Also, I have to manually adjust the bed temp back to 60C to get the object to release from the bed.


I'm using Cura 4.13.0 and a Ender 5 Plus.

  • Link to post
    Share on other sites

    Posted · Retaining nozzle and bed temp settings after printing is done

    There are a couple of lines in your End Gcode that shut off the fan, the bed, the hot end, and disable the steppers.

    You can set "hard" numbers or you can set Cura keywords.

    Go to "Settings | Printer | Manage Printers | Machine Settings" and in the bottom right of the dialog is your End Gcode.  There will be lines:

    M104 S0 (shut off the hot end)

    M140 S0 (shut off the bed)

    M107 (or M106 S0.  Either will turn off the layer cooling fan)

    M84 X Y E (disable all steppers but Z)  This command will cause X Y E to lose their location information.  As long as there is a G28 at the start of the next file it shouldn't matter.  Not disabling Z keeps be X beam (or the bed) from drifting downward into the print.

    Adding a semi-colon in front changes a line from a command into a comment that the printer will ignore.  You can change them to:

    ;M104 S0 (Cura will ignore the line since it is now a comment.)

    M140 S60 (hard number that the printer will respond to and set the bed to 60°)

    M106 S0  (turn off the layer cooling fan)

    M84 X Y E (disable stepper motors.  If you put in M84 S1800 then the steppers will remain active for 1800 seconds (30 minutes)

    The line for the bed could also be:

    M140 S{material_bed_temperature_layer_0}

    That would maintain the bed temperature at whatever it was for the print.  A semi-colon would just comment it out.


    Understand that doing it that way means it will stay on forever unless you physically turn the machine off.  Don't forget.

  • 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

      • Ultimaker showcase | April 2022 | 4pm CEST | 10am EDT
        I'm excited because I've personally produced this showcase event, so if you are curious what else I'm up to nowadays, come check it out and say hi in the chat! It would mean a lot! 
          • Thanks
          • Like
        • 4 replies
      • 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
        • 11 replies
    • Create New...