Jump to content

3D Print Stops When Cooling Switched On


Recommended Posts

Posted · 3D Print Stops When Cooling Switched On

Hope someone can help with this.....


When I turn on cooling in Cura, my print stops after approximately 1 minute.  For example I have a print roughly 15cm by 6cm in ABS with a 15mm brim and it only does around 3 laps of the brim and the printer stops.  The printer just hangs and I cannot stop or pause the print.  The only way to get control is to turn the printer off and on again!  When I turn cooling off the print runs fine.


I also have a minimum layer time but that just gets ignored too.


My printer is an Anycubic i3 Mega, and I'm using the latest Cura version.


Cura print and printer profiles attached


Start G-code

G21 ;metric values

G90 ;absolute positioning

M82 ;set extruder to absolute mode

M107 ;start with the fan off

G28 X0 Y0 ;move X/Y to min endstops

G28 Z0 ;move Z to min endstops


G1 Z15.0 F600 ;move the platform down 15mm

G92 E0 ;zero the extruded length

G1 F200 E5 ;extrude 3mm of feed stock

G92 E0 ;zero the extruded length again

G1 F{speed_travel}

M117 Printing...



End G-code

M104 S0 ; turn off extruder

M140 S0 ; turn off bed

M84 ; disable motors


G91 ;relative positioning

G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure

G1 Z+0.5 E-5 ;X-20 Y-20 F{speed_travel} ;move Z up a bit and retract filament even more

G28 X0 ;Y0 ;move X/Y to min endstops, so the head is out of the way

G1 Y180 F2000

M84 ;steppers off


M300 P300 S4000

Print Settings - Part 1.JPG

Print Settings - Part 2.JPG

Printer Settings.JPG

  • Link to post
    Share on other sites

    Posted · 3D Print Stops When Cooling Switched On

    Post your gcode print file that is stopping.  (Did you notice if the hot end shut off?)


    The start and end gcodes for the Anycubic printers are a bit odd.  I would change the startup gcode to this:

    ;      StartUp Gcode

    G21 ;metric values

    G90 ;absolute positioning

    M82 ;absolute extrusion

    M106 S0 ;cooling fan off

    M140 S{material_bed_temperature_layer_0} ;Start to heat the bed

    M104 S{material_print_temperature_layer_0} ;Start to heat the hot end

    M190 S{material_bed_temperature_layer_0} ;Wait for the bed

    M109 S{material_print_temperature_layer_0} ;Wait for the hot end

    G28 ;Auto-Home X Y Z

    ;G29 ;No ABL

    G1 Z15.0 F600 ;move the platform down 15mm

    G92 E0 ;zero the extruded length

    G1 F200 E5 ;extrude 3mm of feed stock

    G92 E0 ;zero the extruded length again

    M117 Printing...

    ;     End of StartUp Gcode

    I would change the Ending Gcode to this:

    ;      Ending Gcode

    G91 ;relative positioning

    M83 ;relative extrusion

    G1 E-1 F600 ;retract the filament a bit before lifting the nozzle, to release some of the pressure

    G1 Z0.5 E-5 ;move Z up a bit and retract filament even more

    G1 X5 Y5 F3000 ;Wipeout move

    G1 Z5 F600 ;move the nozzle up from the print

    G1 X0 Y{machine_depth} F6000 ;Move the nozzle to the left rear

    M106 S0 ;Turn off the layer cooling fan

    M104 S0 ; turn off extruder

    M140 S0 ; turn off bed

    M84  X Y E ;steppers off except Z

    G90 ;absolute positioning

    M82 ;absolute extrusion

    M300 P300 S4000 ;Beep

    ;     End of Ending Gcode


    I see in the definition file for you printer that the last line of the StartUp Gcode is indeed "G5".  MarlinFW lists that command as "Bezier Curve".  Since your printer has Marlin firmware I'm thinking that command doesn't belong in there.  You can always add it again if there is a problem with the above StartUp code.

  • Link to post
    Share on other sites

    Posted · 3D Print Stops When Cooling Switched On

    Hi Greg.  I think I've discovered what my issue is.  The cooling fan is cooling the nozzle down too much, and that stops the print since the heater cannot get the nozzle back to 250°.  I did wonder why it had got further inside my enclosure before stopping instead of the making one lap and stopping now I've opened the enclosure door........


    The reason I want cooling on is that I get awfully lumpy ABS prints when making a large surface area part and the nozzle ends up dragging across the surface and has caused layer shifts where the belts has jumped when the nozzle can't get past.


    But now I'm thinking cooling won't help since the previous layers are already hard enough to make the nozzle bump along.


    I've replaced my start and end gcode with yours and will try pulling back on the flow rate compensator to see if that helps with the lumpy top surface issues.....

  • Link to post
    Share on other sites

    Posted (edited) · 3D Print Stops When Cooling Switched On

    Top surfaces (the skins) are the best visual indicators of flow accuracy.  I happen to have a microscope I picked up at a garage sale and it was really helpful when I was starting out.  A decent magnifying glass is an acceptable alternative.  When you can actually see gaps or ridges between the lines of extrusion then you know for sure if you are over or under extruding, and when it's just right.

    That "G5" command that your printer definition file adds to the end of your startup gcode is very odd.  There have been a lot of posts here by AnyCubic users and I don't recall it being mentioned before.  


    It's hard to believe that the layer cooling fan has that much effect on the hot end.  Maybe you need to do a PID Auto-Tune on the hot end.  You would need something like Pronterface/Printrun to send the command and view the results.  The command is M303.  Something like M303 C8 S250 would work.

    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

      • UltiMaker Cura 5.3 stable released
        In this stable release, Cura 5.3 achieves yet another huge leap forward in 3D printing thanks to material interlocking! As well as introducing an expanded recommended print settings menu and lots of print quality improvements. Not to mention, a whole bunch of new printer profiles for non-UltiMaker printers!
          • Thanks
          • Like
        • 56 replies
      • Here it is. The new UltiMaker S7
        The UltiMaker S7 is built on the success of the UltiMaker S5 and its design decisions were heavily based on feedback from customers.
        So what’s new?
        The obvious change is the S7’s height. It now includes an integrated Air Manager. This filters the exhaust air of every print and also improves build temperature stability. To further enclose the build chamber the S7 only has one magnetically latched door.
        The build stack has also been completely redesigned. A PEI-coated flexible steel build plate makes a big difference to productivity. Not only do you not need tools to pop a printed part off. But we also don’t recommend using or adhesion structures for UltiMaker materials (except PC, because...it’s PC). Along with that, 4 pins and 25 magnets make it easy to replace the flex plate perfectly – even with one hand.
        The re-engineered print head has an inductive sensor which reduces noise when probing the build plate. This effectively makes it much harder to not achieve a perfect first layer, improving overall print success. We also reversed the front fan direction (fewer plastic hairs, less maintenance), made the print core door magnets stronger, and add a sensor that helps avoid flooding.

        The UltiMaker S7 also includes quality of life improvements:
        Reliable bed tilt compensation (no more thumbscrews) 2.4 and 5 GHz Wi-Fi A 1080p camera (mounted higher for a better view) Compatibility with 280+ Marketplace materials Compatibility with S5 project files (no reslicing needed) And a whole lot more  
        Curious to see the S7 in action?
        We’re hosting a free tech demo on February 7.
        It will be live and you can ask any questions to our CTO, Miguel Calvo.
        Register here for the Webinar
          • Like
        • 18 replies
      • UltiMaker Cura Alpha 🎄 Tree Support Spotlight 🎄
        Are you a fan of tree support, but dislike the removal process and the amount of filament it uses? Then we would like to invite you to try this special release of UltiMaker Cura. Brought to you by our special community contributor @thomasrahm
        We generated a special version of Cura 5.2 called 5.3.0 Alpha + Xmas. The only changes we introduced compared to UltiMaker Cura 5.2.1 are those which are needed for the new supports. So keep in mind, this is not a sneak peek for Cura 5.3 (there are some really cool new features coming up) but a spotlight release highlighting this new version of tree supports.  
          • Like
        • 30 replies
    • Create New...