Jump to content

G-code modification - Printer doesn't wait for bed to cool down


MatijaP

Recommended Posts

Posted · G-code modification - Printer doesn't wait for bed to cool down

Hello,

 

I am working on a project where we have to print a lot of piece and would like to leave the printer (Ultimker S5) to print over the whole weekend (so I don't loose the 20h of possible print time).

 

So I have changed the G-code to make it "automatized", where it print the model, pushes it out and goes off to print the same thing again.

I have defined the travel and it works, but I have encountered a problem with the heating bed temperature.

So, the printer should cool the glass plate to about 20-25 °C before pushing the model out to be sure it will be removed easier.

 

Here is the G-code I have added/changed (# are just the comments I added here😞

M140 S25 #cool the bed to 25 °C
G0 X160 Y125  #move "behind" the model
G0 Z10 #move down
G0 Y0 F2000 #push the model out

#The rest is c/p from the beggining of the print
M140 S85 #heat the bed to 85 °C
M106 S1 
M204 S2812
M205 X18 Y18
;MESH:Object 34
G0 F6180 X158.075 Y28.465 Z0.42
M204 S750
M205 X7.5 Y7.5
;TYPE:WALL-INNER
G1 F1500 E51.96984

However, the printer does not wait for the bed to cool down, but only continues to push the model out right away and start a new print.

I have also tried with M190 (Wait for bed temperature to reach target temp) after the M140, but Im not sure it is supported by UM as I receive an error on the S5 that the bed temperature is not defined properly.

 

Any ideas how can I make the UM S5 wait to reach defined temperature and then proceed to push the model out, wait to heat the bed again and start printing again ?

 

Thanks,

Matija

  • Link to post
    Share on other sites

    Posted (edited) · G-code modification - Printer doesn't wait for bed to cool down

    Try

     

     

    M140 S25 #cool the bed to 25 °C
    M190 S25 ;wait for bed to reach target temp
    G0 X160 Y125  #move "behind" the model
    G0 Z10 #move down
    G0 Y0 F2000 #push the model out
    
    #The rest is c/p from the begining of the print
    M140 S85 #heat the bed to 85 °C
    M106 S1 
    M204 S2812
    M205 X18 Y18
    ;MESH:Object 34
    G0 F6180 X158.075 Y28.465 Z0.42
    M204 S750
    M205 X7.5 Y7.5
    ;TYPE:WALL-INNER
    G1 F1500 E51.96984
    Edited by obewan
  • Link to post
    Share on other sites

    Posted · G-code modification - Printer doesn't wait for bed to cool down
    2 minutes ago, obewan said:

    Try using after the M140

    M190 S25  ;Wait for bed temperature to reach target temp

     

    I have tried replacing the M140 S25 with M190 S25 and that didn't work.

    Also tired M140 S25 followed by M190.

     

    But I haven't tried M140 S25

    M190 S25

     

    I am away from the printer now, but will try on Monday 🙂

  • Link to post
    Share on other sites

    Posted · G-code modification - Printer doesn't wait for bed to cool down

    you might want to put this in your start g code  after the cool down part also

     

    M190 S{material_bed_temperature_layer_0} ;Wait for bed to reach temp before proceeding

    M109 S{material_print_temperature_layer_0} ;Wait for extruder to reach temp before proceeding
     

  • Link to post
    Share on other sites

    Posted · G-code modification - Printer doesn't wait for bed to cool down

    M190 S25 only waits for the bed to *heat up* to 25 degrees. Since the bed temperature directly after printing will be higher than 25 degrees, effectively it will not wait at all.

     

    According to the Marlin documentation, it should be possible to wait for the bed to cool down by specifying the temperature with R instead of S: M190 R25

    https://marlinfw.org/docs/gcode/M190.html

     

    Two caveats:

    * I don't know if the flavor/fork of Marlin in the S5 supports the R argument for M190

    * It may take a very long time for the bed to reach 25 degrees, especially in the summer. There will be no way to "abort" the wait, other than aborting the whole print including the part(s) that come(s) after the cooldown.

  • Link to post
    Share on other sites

    Posted · G-code modification - Printer doesn't wait for bed to cool down
    24 minutes ago, ahoeben said:

    M190 S25 only waits for the bed to *heat up* to 25 degrees. Since the bed temperature directly after printing will be higher than 25 degrees, effectively it will not wait at all.

     

    According to the Marlin documentation, it should be possible to wait for the bed to cool down by specifying the temperature with R instead of S: M190 R25

    https://marlinfw.org/docs/gcode/M190.html

     

    Two caveats:

    * I don't know if the flavor/fork of Marlin in the S5 supports the R argument for M190

    * It may take a very long time for the bed to reach 25 degrees, especially in the summer. There will be no way to "abort" the wait, other than aborting the whole print including the part(s) that come(s) after the cooldown.

     

    Ahh I didn't pay any attention of the wait until heated to xx °C.

    I will definitely try with the R25 instead and will let you know. But on Monday.

     

    Thanks for the notes as well.

    1° I guess we will see if it is supported soon.

    2° Since Im in northern Germany ATM and the project will be done in 1.5 months, it won't be to hot 🙂

  • Link to post
    Share on other sites

    Posted · G-code modification - Printer doesn't wait for bed to cool down

    M190 with the 'R' option is not supported by the Ultimaker printers (at least not with the current v5.6 of the firmware).

    What you can do is to add a wait time: G4 S<time in seconds>

     

    We did a similar project for series production where we printed 1 PLA object and then used the print head to bump it off the glass plate. So, it is possible but we didn't cool the build plate in between prints. We added the famous blue tape to the build plate so the adhesion of the PLA was good, but weaker than when printing on the glass plate.

     

    • Thanks 1
    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 Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
        • 18 replies
      • 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.
        • 0 replies
    ×
    ×
    • Create New...