Jump to content

Start heating bed and extruder and level bed at the same time


ChrisPrefect

Recommended Posts

Posted · Start heating bed and extruder and level bed at the same time

yep, just checked it works, NICE!
 

the bed and nozzle heat up at the same time, nozzle pre-heats to 180C and after the bed reached the set temp then the nozzle heats further to set temp.

 

thx ahoeben for the help!

  • Link to post
    Share on other sites

    • 4 months later...
    Posted · Start heating bed and extruder and level bed at the same time

    As I found a bug in this code.

     

    Problem : If bed temp reached target before nozzle, it will start printing right away.

    Solution : Double check by add code;

     

    M104 S{material_print_temperature} ; start heating nozzle but don't wait

    M190 S{material_bed_temperature} ; start heating the bed to target temp and wait

    M109 S{material_print_temperature} ; heating nozzle and wait until target temp then start printing

     

  • Link to post
    Share on other sites

    • 4 weeks later...
    Posted · Start heating bed and extruder and level bed at the same time

    I've had luck with below since bed always reaches temp before nozzle on mine. No wait for bed then wait for nozzle. I put this before G28 Auto Home/G29 ABL for the extra time to level temp and get better bed leveling.  If temps not level by G28 I believe you could add a G4 after to wait until steady but seems to work w/o so far. 

     

    Quote

    M140 S{material_bed_temperature} ; start heating the bed to what is set in Cura

    M109 S{material_print_temperature} T0 ; start heating hotend to what is set in Cura and WAIT

     

  • Link to post
    Share on other sites

    • 6 months later...
    Posted · Start heating bed and extruder and level bed at the same time

    This works well in my Cura 4.8 but not Creality Slicer 1.2.3. For some reason the Creality Slicer 1.2.3 ignores the M140 and M104 commands completely. I have tried different variations (e.g. "M140 S60" "M140 S{material_bed_temperature}" "M140 S{material_bed_temperature_layer_0}" and none work with Creality Slicer 1.2.3. Does anyone have a similar experience or fix for the M104 and M140 commands in Creality Slicer 1.2.3?

  • Link to post
    Share on other sites

    Posted · Start heating bed and extruder and level bed at the same time

    hi, i am complete new to g codes and 3d printing, I've set my glass hot bed and have a blt sensor, I am trying to get the bed to heat up first before the hot end as I seem to have a lot of leakage from the nozzle during the auto level process, also i keep having to alter the z offset every time I reset the printer 

     

    this is the code i have, ive tried to follow this post

     

    M140 S{material_bed_temperature} ; start preheating the bed WITHOUT wait to what is set in Cura

    M104 S{material_print_temperature} T0 ; start preheating hotend WITHOUT wait to what is set in Cura

     

    M280 P0 S160 ; BLTouch alarm release

    G4 P100 ; delay for BLTouch

     

    ; Ender 3 Custom Start G-code

    G92 E0 ; Reset Extruder

    G28 ; Home all axes

    G29 ; Auto bed-level (BL-Touch)

    G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed

    G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position

    G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line

    G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little

    G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line

    G92 E0 ; Reset Extruder

    G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed

    G1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish

     

    thanks

  • Link to post
    Share on other sites

    Posted · Start heating bed and extruder and level bed at the same time
    On 1/1/2022 at 6:08 PM, dunca17 said:

    hi, i am complete new to g codes and 3d printing, I've set my glass hot bed and have a blt sensor, I am trying to get the bed to heat up first before the hot end as I seem to have a lot of leakage from the nozzle during the auto level process, also i keep having to alter the z offset every time I reset the printer 

     

    this is the code i have, ive tried to follow this post

     

    M140 S{material_bed_temperature} ; start preheating the bed WITHOUT wait to what is set in Cura

    M104 S{material_print_temperature} T0 ; start preheating hotend WITHOUT wait to what is set in Cura

     

    M280 P0 S160 ; BLTouch alarm release

    G4 P100 ; delay for BLTouch

     

    ; Ender 3 Custom Start G-code

    G92 E0 ; Reset Extruder

    G28 ; Home all axes

    G29 ; Auto bed-level (BL-Touch)

    G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed

    G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position

    G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line

    G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little

    G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line

    G92 E0 ; Reset Extruder

    G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed

    G1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish

     

    thanks

     

    You almost had it, but forgot to move the g28 and g29 up to after the G4 P100.  This is the way because it starts the autoleveling before your nozzle gets too hot to start oozing.  Option 1 should be the fastest way to get your prints going, the second option I gave will take a bit longer, while providing debatably more "level" prints. 

     

    ; Ender 3 Custom Start G-code
    M140 S{material_bed_temperature} ; start preheating the bed WITHOUT wait to what is set in Cura

    M104 S{material_print_temperature} T0 ; start preheating hotend WITHOUT wait to what is set in Cura

    M280 P0 S160 ; BLTouch alarm release

    G4 P100 ; delay for BLTouch

    G28 ; home

    G29 ; auto bed leveling

    M190 S{material_bed_temperature} ; start heating the bed to what is set in Cura and WAIT

    M109 S{material_print_temperature} T0 ; start heating hotend to what is set in Cura and WAIT

    G92 E0 ; Reset Extruder

     

    G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed

    G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position

    G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line

    G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little

    G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line

    G92 E0 ; Reset Extruder

    G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed

    G1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish

     

     

     

    Some people have discussed leveling before the bed is hot. If that is a concern, and you want the bed to get hot, but not the nozzle to prevent nozzle ooze, I suppose you could always put this; It should heat up your print bed to temp. Then start to heat up your nozzle while running the home and autoleveling process. It should finish the auto leveling before any real amount of ooze starts. However, if you notice alot of oozing try moving the

    "M104 S{material_print_temperature} T0 ; start preheating hotend WITHOUT wait to what is set in Cura"

    to behind the

    "G28 ; home" 

    That would allow it a few extra seconds before starting to heat up the nozzle. 

     

    ; Ender 3 Custom Start G-code
    M190 S{material_bed_temperature} ; start heating the bed to what is set in Cura and WAIT

    M104 S{material_print_temperature} T0 ; start preheating hotend WITHOUT wait to what is set in Cura

    M280 P0 S160 ; BLTouch alarm release

    G4 P100 ; delay for BLTouch

    G28 ; home

    G29 ; auto bed leveling

    M109 S{material_print_temperature} T0 ; start heating hotend to what is set in Cura and WAIT

    G92 E0 ; Reset Extruder

    G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed

    G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position

    G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line

    G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little

    G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line

    G92 E0 ; Reset Extruder

    G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed

    G1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish

  • Link to post
    Share on other sites

    Posted (edited) · Start heating bed and extruder and level bed at the same time

    Sometimes you will set up Cura to have a different temperature for the first layer.  That requires a different keyword.  Folks who have auto-levelers don't like having the nozzle drool during leveling.  Gcode is a simple step-by-step language and so the order that the commands are in is important.

    This is a variation of my StartUp Gcode for PLA (I don't AutoLevel but I've altered this for an auto-level system).

    ;

    ; Greg's Start G-code

    ;

    M82      ;Absolute Extrusion

    G90      ;Absolute Movement

    M140 S{material_bed_temperature_layer_0} ;Start heating the bed to "Initial Layer Bed Temperature"

    M109 S165 ;Warm up the hot end and wait for it to hit the temp.

    G92 E0      ; Reset E

    G28     ; Home XYZ axes.  This would be G28 X Y if you don't home the Z for some reason.

    G29      ;Auto Level command

    G0 Z10.0 F3000      ; Move Z

    G0 X1 Y1 F6000      ;Move back near the left front corner

    M109 S{material_print_temperature_layer_0}      ;Finish heating the hot end to "Initial Layer Print Temperature"

    M190 S{material_bed_temperature_layer_0}      ;Just in case the bed hasn't gotten up to temperature yet.

    G0 X1.0 Y20 Z0.3 F5000.0      ; Move

    G1 X1.0 Y200.0 Z0.3 F2400.0 E15      ; First purge line

    G0 X3.0 Y200.0 Z0.3 F5000.0      ; Move

    G1 X3.0 Y20 Z0.3 F2400.0 E30      ; Second purge line

    G1 E28 F1800      ;2mm retraction

    G92 E0      ; Reset Extruder

    G0 Z10.0 F3000     ; Move Z Axis up

    G0 X20 Y35 Z10 F5000.0      ; Move over to prevent blob squish

    M220 S100        ;reset feedrate to 100%

    M221 S100     ;reset flowrate to 100%

    ;

    ;End of StartUp

    ;

     

    I print PLA fairly quickly, PETG at about 1/2 my PLA speed, and TPU at 12mm/sec.  The purge line speeds are hard coded into the startup gcode and are kinda fast for PETG and way to fast for TPU.  My fix was to install 2 additional Ender 3 Pro's in Cura.  The TPU printer has the purge line speeds at 10mm/sec and the PETG printer has the purge lines at 25mm/sec.  The PLA startup gcode is the one above and you can see that the purges go own at 40mm/sec as they are very high flow.

    Edited by GregValiant
  • 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

      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
      • 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. 
         
          • Like
        • 26 replies
    ×
    ×
    • Create New...