I have a CR-10S with RAMPS and Marlin firmware 1.1.8. When i run a job i immediatly see this line in terminal
"Recv: echo:enqueueing "M600"" and after the bed is heated up i have an error of communication because "Recv: Error:M600 Hotend too cold to change filament" and the hotend won't heated up.
Where is this M600 in the GCODE!?!?
The reason is that the firmware have the check for the filament runout, but i don't connect the filament sensor. So the servo pin is always open and after bed heating up try to do an M600 to change filament. But the hotend is cold... and so on..
sorry but the problem is not related to OctoPrint!!!
Iβm having the same issue, octoprint enques the M600 command and continuesly does filament change. Printing from SD card works fine. Tried resetting the octopi and computer with no luck.
OctoPrint never enqueues commands on its own. Check a) installed plugins, b) your firmware, especially FIL_RUNOUT_INVERTING as mentioned by @jameswood.
Your printer doesn't necessarily behave the same printing from SD card as it does getting commands streamed. It will handle things differently, do internal stuff differently etc. But also note that I said "a) installed plugins" - stock OctoPrint won't happily send M600 on its own, but you might have a third party plugin installed that does that.
If your checks don't help unearth any reason, you'll definitely need to share more information (e.g. logs) to allow others to help you though.
Send: N6 M113 S2*103
Recv: Error:Hotend too cold
Changing monitoring state from "Printing" to "Error: Hotend too cold"
Changing monitoring state from "Error: Hotend too cold" to "Offline (Error: Hotend too cold)"
Connection closed, closing down monitor
How do I fix it? I followed this tutorial (https://youtu.be/f_-FIHq4WxE) and defined:
// define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector #define FIL_RUNOUT_PIN 2
But still receive the message. Sensor is connected and lights up ...