Jump to content
Ultimaker Community of 3D Printing Experts

How to pre-heat printing bed using G-code


Recommended Posts

Posted (edited) · How to pre-heat printing bed using G-code

Instead of the default glass plate i am now using a PEI coated aluminium plate instead for almost a year now.
It saves me a lot of trouble with adhesion and warping which i had when printing on glass.
There is only one small issue when initially heating the bed. The surface temperature of the bed lags behind when initially heating the bed .
Therefore printing the first layer after a cold start sometimes fails due to adhesion issues (yes i know... read on) caused by a to low temperature of the surface of the printing bed.

When i pre-heat the bed (manually) for some minutes before starting a new job resolves the issue.
So tried some Start G-code to heat the bed and wait 2 minutes before actually continue to print the first layer

 

M117 Warming up PEI Plate
M190 S{print_bed_temperature}
G4 P120000

 

For some reason the message is shown, but shortly hereafter the first layer is being printed.
Is this actually possible ? Set a display message, set the print bed temperature and wait a few minutes before starting the first layer ?

 

 

Edited by toilet-ovule-add
Change G-Code styling
  • Share this post


    Link to post
    Share on other sites
    Posted · How to pre-heat printing bed using G-code

    ... you could set the bed temperature a little bit higher...  or put a pause print command in the gcode so you have to press a button to start the initial print!

  • Share this post


    Link to post
    Share on other sites
    Posted (edited) · How to pre-heat printing bed using G-code

    But that didn't do the trick...

     

    There are 2 options in G4-command, P = time in milliseconds and S= time in seconds... For a waiting time of 2 minutes it's more logical to use S120 instead of P120000.

     

    Give it a try...

     

    Or use M0 command to wait untill button is pressed!

     

    I have simply put some extra commands in my start Gcode to heat bed an nozzle at the same time and start when temperature is reached...

     

    M140 S{material_bed_temperature_layer_0} ; start preheating the bed
    M104 S{material_print_temperature_layer_0} T0 ; start preheating hotend
    G28 ; home
    M190 S{material_bed_temperature_layer_0} ; heat to Cura Bed setting 
    M109 S{material_print_temperature_layer_0} T0 ; heat to Cura Hotend

     

     

    Edited by Mari
  • Share this post


    Link to post
    Share on other sites
    Posted · How to pre-heat printing bed using G-code

    The bed and hotend are already pre-heated when using Cura. The issue is that the bed needs to warm through due to the thickness of the aluminium plate.

    Using the Marlin firmware documentation as a reference i tried the following by setting the initial build plate higher than the desired temperatur and then wait till the temperature of the build plate is cooled down back to the desired temperature.

     

    M117 Heating up PEI Plate
    M140 S80
    M190 S{print_bed_temperature}

    Unfortunately, the message "Heating up PEI Plate" is shown with "Press to Continue" , but then immediately starts printing.

     

     

  • Share this post


    Link to post
    Share on other sites
    Posted · How to pre-heat printing bed using G-code
    7 minutes ago, toilet-ovule-add said:

    Unfortunately, the message "Heating up PEI Plate" is shown with "Press to Continue" , but then immediately starts printing.

     

    What kind of printer is this and which version of Cura is used?

    (and because it's not mentioned: are we even talking about Cura...?)

     

    Be aware that M140 does not wait until the temperature is reached, only M190 does.

    In addition: {print_bed_temperature} is deprecated (for quite some years now) and not a valid variable name for Cura anymore, the line will probably be ignored by the firmware.

     

    It should be closer to your intention when you swap the sequence to:

    M117 Heating up PEI Plate
    M190 S80 ; wait until 80C are reached
    M140 S{material_bed_temperature_layer_0} ; set to temperature from Cura - but do not wait

     

    Your approach from the first post should work too if you correct the variable name.

     

  • Share this post


    Link to post
    Share on other sites
    Posted (edited) · How to pre-heat printing bed using G-code

    What is the difference in the SET temperature and the actual temperature of the heated bed?  If the sensors is near the heating element, sensor will reach SET temperature before the complete heated bed reaches that temperature!

     

    - SET a higher value... (maybe only for the first layer!)

    or

    - move sensor...

    or

    - Use something else to print in instead of a slow-heating-alu-plate...

    or

    - Learn to live with it... 😉

    Edited by Mari
  • Share this post


    Link to post
    Share on other sites
    Posted · How to pre-heat printing bed using G-code
    6 hours ago, tinkergnome said:

    What kind of printer is this and which version of Cura is used?

     

    Ultimaker 3, firmware 5.2.11.20190503 with Cura 4.5.0 

    6 hours ago, tinkergnome said:

    In addition: {print_bed_temperature} is deprecated (for quite some years now) and not a valid variable name for Cura anymore, the line will probably be ignored by the firmware.

     

    Ok, i thought i had the correct documentation Marlin so probably referenced the wrong Git repo. Suggestion for a better link ?

    6 hours ago, Mari said:

    Use something else to print in instead


    Nope, have printed on glass and find it really in-productive. Spent to many hours resolving adhesion and warping issues which all vanished after installing the PEI coated aluminium plate. 

    6 hours ago, Mari said:

    Learn to live with it... 😉

     

    Think so, i have to deal with it 🙁. Now start a print, abort it after calibration is done and then start the job again.

     

  • Share this post


    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

      • Talking additive | The 3D printing podcast
        Why should we be the only ones asking questions? Join us and ask Jabil all your questions on September 22nd 5pm CET
          • Like
        • 3 replies
      • Ultimaker masterclass: Optimizing your Ultimaker Cura workflow
        Save your seat for either broadcast on September 23.
        What will you learn?
        · Best practices for iterative print preparation and every lesson you should learn from each print
        · The right way to use per-object settings and when they are most useful
        · Easy-to-use resources for anyone who wants to develop their own printer definitions, plugins, or print profiles
        · How to optimize print profile settings and whether to “keep” or “discard” changes
        · When is the right time to export your drawing from CAD? (Based on Ultimaker Cura’s surprising power as 3D control software)
        · And a whole lot more tips and tricks!
         
        How can I join?
        This free masterclass will take place twice:
        1. 11am CEST (5pm SGT, 5am EDT)
        2. 5pm CEST (11am EDT, 8am PDT, 11pm SGT)
          • Like
        • 0 replies
      • Do you use 3D printing at work? Let us know
        It doesn't matter if you are using 1 Ultimaker or 10, there is inspiration in everything. We're looking for ...
        • 1 reply
    ×
    ×
    • Create New...