Jump to content

How to make Cura wait for temp change at layer


Recommended Posts

Posted · How to make Cura wait for temp change at layer

I am setting up a temperature tower using extensions >> post processing >> modify gcode. All I am doing at the moment is altering the main extruder temp by 5 degrees per 5mm step in the STL model.


What I notice on printing it is that it makes the change OK, but doesn't wait for the temperature to settle.


Is there a way of persuading it to use the set temp and wait gcode command so it will wait for it to stabilise?

  • Link to post
    Share on other sites

    • 1 year later...
    Posted · How to make Cura wait for temp change at layer

    Rip Van Winkle was on watch that day but he was taking a nap and missed it.


    @Cuq may be the author of that plugin and will certainly know more about it.


    If the post processor is adding M104 lines then you could add a "Search and Replace" post processor AFTER it and have Search = M104 and Replace = M109.  You need to think about it though.  The print head will stay in contact with the print and you will get a divot because it will sit there while it is heating up.  For a calibration part it shouldn't matter but you need to be aware of it.



  • Link to post
    Share on other sites

    Posted · How to make Cura wait for temp change at layer

    hmm should be able to add a z retraction to the nozzle to stop the divot i think, but not sure. im mainly using 4.8.0 cura because it is what came with my Neptune 2. Also have the calibration shapes addon. however, it doesnt give me the post scripts in my 4.8.0 but it does in the newer version. 


    I do thank you for the quick reply tho.

  • Link to post
    Share on other sites

    Posted · How to make Cura wait for temp change at layer

    Search and Replace can add multiple lines of code by using the "\n" newline character, but it cannot take wild card characters.  There would be no simple way to maintain whatever temperature is in the line.  That means a separate instance of Search and Replace for each temperature change and you would need to know the temperature in the line.


    If you knew that the line you want to replace is M104 S200 then this would work:

    Search = M104 S200

    Replace = G91\nG1 Z3\nM109 S200\nG1 Z-3\nG90


    Assuming the temperature is changing at 5° intervals the next Search and Replace would be:

    Search = M104 S205

    Replace = G91\nG1 Z3\nM109 S205\nG1 Z-3\nG90


    It's a bit clumsy and you could get a blob (as the hot end oozes) but you could add a retraction and a prime using M83 and M82.  It starts to get clumsy pretty fast though.

    Replace = G91\nM83\nG1 F2100 E-6\nG1 Z3\nM109 S200\nG1 Z-3\nG1 F2100 E6\nM82\nG90

    It would look like this in the gcode file:

    G1 F2100 E-6
    G1 Z3
    M109 S200
    G1 Z-3
    G1 F2100 E6

  • Link to post
    Share on other sites

    Posted · How to make Cura wait for temp change at layer

    thanks that helps alot. im new to all the gcode and 3dprinting. just started doing it 1 month ago

  • Link to post
    Share on other sites

    Posted (edited) · How to make Cura wait for temp change at layer

    This type of request doesn't really make sens :

    In a temptower usualy we start from the higher temperature to the lower and so the changing time in this case as the machine is extruding material is very short. By the time you are printing the inner contour of the first layer you will have reach the new temperature. So you will not see the difference on the part.


    Using a M109 S code to wait the right temperature is also useless. This code are waiting that the nozzle have reach the programmed value. But as you are always at a temperature higher than the new target value, the machine doesn't wait anything and using M104 S or M109  S doesn't change anything in a temptower print style program.  To wait the decreasing target you must use the M109 R   code.



    But this is not the choice I have made in my script because user must be able to fix a negativ or positiv increment (even if on a pratical point of view it's always better to decrease the value ) 

    Edited by Cuq
    • Like 1
    Link to post
    Share on other sites

    Posted · How to make Cura wait for temp change at layer

    An open discussion on this subject https://github.com/5axes/Calibration-Shapes/discussions/77


    where the user want to use the M109R instruction to measure the "ooze blob  diameter" but I'm not very fan because changing the temperature in a print is not a very common situation execpt between the first layer and the other one or on multi-filament peint but in this case it's an other problem.

  • 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

      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
      • Ultimaker Cura 5.6 stable released
        Cura now supports Method series printers!
        A year after the merger of Ultimaker and MakerBotQQ, we have unlocked the ability for users of our Method series printers to slice files using UltiMaker Cura. As of this release, users can find profiles for our Method and Method XL printers, as well as material profiles for ABS-R, ABS-CF, and RapidRinse. Meaning it’s now possible to use either Cura or the existing cloud-slicing software CloudPrint when printing with these printers or materials
        • 48 replies
    • Create New...