cold extrusion prevented error

491 views
Skip to first unread message

Daniel Rosen

unread,
Oct 14, 2021, 8:23:55 AM10/14/21
to 3D Printing Tips and Tricks
I am running my first 24hr long print. I started my printer by 4pm yesterday and woke up to this error and the nozzle parked at the corner of the build plate

Send: N427836 G1 X186.662 Y203.157 E1378.05005*108 
Recv: echo: cold extrusion prevented 
Recv: ok

The screen was showing the message "change filament". But I did not put any script code to make a filament change, nor I found an M0 or pause command on my G code. The filament was intact. I followed the prompts and resumed printing. 

Any idea why this happened?

Thanks

Dan

TobyCWood

unread,
Oct 14, 2021, 12:08:53 PM10/14/21
to 3D Printing Tips and Tricks
What’s your setup? We’re you printing tethered to a pc via usb? Do you have a runout sensor? Does your heater work ok?

Daniel Rosen

unread,
Oct 14, 2021, 5:51:55 PM10/14/21
to 3D Printing Tips and Tricks
Creality CR10s tethered via USB to raspberry pi running octoprint. It has a filament runout sensor but the filament was intact. Both the nozzle heat element and the bed heater working  fine.

TobyCWood

unread,
Oct 14, 2021, 6:41:57 PM10/14/21
to 3D Printing Tips and Tricks
It could easily have been a data fault. ‘‘Em noise.

Edward Simpson

unread,
Oct 14, 2021, 6:45:04 PM10/14/21
to 3D Printing Tips and Tricks
You probably hit the 'PREVENT_LENGTHY_EXTRUDE' safeguard in Marlin and it defaulted to M600 pause for some reason, that gcode is telling the printer to extruder 1.3 meters of filament in one shot. The fix would be upping the 'EXTRUDE_MAXLENGTH' variable to something above what that Gcode specified.
Hope that helps :)
Edward
On Thursday, October 14, 2021 at 2:51:55 PM UTC-7 dgros...@gmail.com wrote:

Vishal Pai

unread,
Oct 15, 2021, 12:58:56 AM10/15/21
to TobyCWood, 3D Printing Tips and Tricks
Do you print in the garage ?
What was your ambient air temp last night?  Was it cold enough to cause the heater block temp to fluctuate a lot ? 

--
You received this message because you are subscribed to the Google Groups "3D Printing Tips and Tricks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 3d-printing-tips--...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/3d-printing-tips--tricks/6786e2dd-610b-442d-a57c-a0e247096505n%40googlegroups.com.

Daniel Rosen

unread,
Oct 16, 2021, 9:42:59 AM10/16/21
to 3D Printing Tips and Tricks
That is a great suggestion. I could not find that line of code in my Marlin but seems the most possible explanation. Thanks so much!

Daniel Rosen

unread,
Oct 16, 2021, 9:56:24 AM10/16/21
to 3D Printing Tips and Tricks
Yes, I print in my garage. The temp was about 90F in Houston and the printer is fully enclosed. I've been printing my Voron parts for the last couple of weeks and this is the first time this happened. The difference is that this time I put 6 models onto the buildplate covering the whole surface. It all went well for about 4 hours. Then it stopped at about 30% of the print. Most likely a data noise of some weird line of code. 
I read somewhere that printing tethered to the raspberry Pi may not be as reliable as using the card slot because of the baud rate or something like that. Errors can happen particularly on very large models. Probably that is what happened. I printed all 6 models individually and all worked fine.

Thanks all for taking your time to answer my post. Thanks to Andy and Whitney for leading this wonderful Community.

Neil MacGregor

unread,
Oct 18, 2021, 11:03:53 AM10/18/21
to 3D Printing Tips and Tricks
If you have intermittent comms problems, you're more likely to experience this type of failure on a print of long duration.
As a single data point, I've printed via tethered Octoprint on a Raspi for close to 2 years, and I've never had a problem. 
But YMMV; my EMI is not your EMI.  I have a different printer.  I use the USB cable that came with the printer (a cheap cable could reduce reliability). 
Octoprint reports comms problems with the printer in the "State" box, top-left, here's a snapshot:
image.png
I've never seen mine report any numerator except 0, unless I did something stupid like bump the power cable.  If a print fails for an unexplained reason, that's one thing I'd check.
The posts you're reading aren't wrong - printing from SD card eliminates the entire class of "communication error with printer" problems.   But tethered Octoprint can be a joy.







--
-Neil
University of Alberta Libraries
4-30 Cameron Library
Reply all
Reply to author
Forward
0 new messages