Connecting octoprint to Creality CR10S4 trips out the printer

What is the problem?

When I try and connect I get,

#### Error reported by printer

Your printer's firmware reported an error. Due to that OctoPrint will disconnect. Reported error: MAXTEMP triggered, system stopped! Heater_ID: 0

8><----

State: **Offline (Error: MAXTEMP triggered, system stopped! Heater_ID: 0)**

8><----
  • OctoPrint 1.3.9 running on OctoPi 0.15.1

What did you already try to solve it?

unsolvable so far.

Googled, no relevant reply. Cycled printer, same issue on re-try. Printer will not switch off, being fed by octoprint/pi3? until usb cable removed.

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, octoprint.log, serial.log or output on terminal tab, ...)

Printer is a Creality CR10S S4 totally stock with std firmware.

====
Recv: 591
Recv: init valid:
Recv: 0
Recv: 0
Recv: ok
Send: N1 M115*39
Recv: FIRMWARE_NAME:Marlin 1.1.0 From Archive SOURCE_CODE_URL:http:// ... PROTOCOL_VERSION:1.0 MACHINE_TYPE:www.cxsw3d.com EXTRUDER_COUNT:1 UUID:00000000-0000-0000-0000-000000000000
Recv: ok
Send: M21
Recv: echo:SD card ok
Recv: ok
Send: M20
Recv: Begin file list
Recv: /CR-10~1/CAT~1.GCO
Recv: /CR-10~1/CR-10E~1/CAT~1.GCO
Recv: Error:MAXTEMP triggered, system stopped! Heater_ID: 0
Changing monitoring state from "Operational" to "Error: MAXTEMP triggered, system stopped! Heater_ID: 0"
Changing monitoring state from "Error: MAXTEMP triggered, system stopped! Heater_ID: 0" to "Offline (Error: MAXTEMP triggered, system stopped! Heater_ID: 0)"
Connection closed, closing down monitor
Connecting to: /dev/ttyUSB0
Changing monitoring state from "Offline" to "Opening serial port"
Connected to: Serial<id=0x6b8ff830, open=True>(port='/dev/ttyUSB0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Changing monitoring state from "Opening serial port" to "Connecting"
Send: N0 M110 N0*125
Recv: start
Recv: echo: External Reset
Recv: Marlin
Recv: echo: Last Updated: 2015-12-01 12:00 | Author: (CR-10 400)
Send: N0 M110 N0*125
Recv: Compiled: Jun  1 2018
Recv: echo: Free Memory: 1139  PlannerBufferBytes: 1232
Recv: echo:Hardcoded Default Settings Loaded
Recv: echo:Steps per unit:
Recv: echo:  M92 X80.00 Y80.00 Z400.00 E93.00
Recv: echo:Maximum feedrates (mm/s):
Recv: echo:  M203 X300.00 Y300.00 Z5.00 E25.00
Recv: echo:Maximum Acceleration (mm/s2):
Recv: echo:  M201 X300 Y300 Z100 E5000
Recv: echo:Accelerations: P=printing, R=retract and T=travel
Recv: echo:  M204 P500.00 R500.00 T1000.00
Recv: echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s),  Z=maximum Z jerk (mm/s),  E=maximum E jerk (mm/s)
Recv: echo:  M205 S0.00 T0.00 B20000 X5.00 Z0.40 E5.00
Recv: echo:Home offset (mm):
Recv: echo:  M206 X0.00 Y0.00 Z0.00
Recv: echo:Material heatup parameters:
Recv: echo:  M145 M0 H185 B0 F0
Recv: echo:  M145 M1 H240 B0 F0
Recv: echo:PID settings:
Recv: echo:  M301 P22.20 I1.08 D114.00 C100.00 L20
Recv: echo:Filament settings: Disabled
Recv: echo:  M200 D3.00
Recv: echo:  M200 D0
Recv: echo:SD card ok
Recv: Init power off infomation.
Recv: size:
Recv: 591
Recv: init valid:
Recv: 0
Recv: 0
Recv: ok
Changing monitoring state from "Connecting" to "Operational"
Send: N0 M110 N0*125
Recv: ok
Send: N1 M115*39
Recv: FIRMWARE_NAME:Marlin 1.1.0 From Archive SOURCE_CODE_URL:http:// ... PROTOCOL_VERSION:1.0 MACHINE_TYPE:www.cxsw3d.com EXTRUDER_COUNT:1 UUID:00000000-0000-0000-0000-000000000000
Recv: ok
Send: M20
Recv: Begin file list
Recv: /CR-10~1/CAT~1.GCO
Recv: /CR-10~1/CR-10E~1/CAT~1.GCO
Communication timeout while idle, trying to trigger response from printer. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
Send: M105
Unexpected error while reading serial port, please consult octoprint.log for details: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:2581
Please see https://faq.octoprint.org/serialerror for possible reasons of this.
Changing monitoring state from "Operational" to "Offline (Error: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:2581)"
Connection closed, closing down monitor
Connecting to: /dev/ttyUSB0
Changing monitoring state from "Offline" to "Opening serial port"
Connected to: Serial<id=0x6b5ff610, open=True>(port='/dev/ttyUSB0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Changing monitoring state from "Opening serial port" to "Connecting"
Send: N0 M110 N0*125
Recv: start
Send: N0 M110 N0*125
Recv: echo: External Reset
Recv: Marlin
Recv: echo: Last Updated: 2015-12-01 12:00 | Author: (CR-10 400)
Recv: Compiled: Jun  1 2018
Recv: echo: Free Memory: 1139  PlannerBufferBytes: 1232
Recv: echo:Hardcoded Default Settings Loaded
Recv: echo:Steps per unit:
Recv: echo:  M92 X80.00 Y80.00 Z400.00 E93.00
Recv: echo:Maximum feedrates (mm/s):
Recv: echo:  M203 X300.00 Y300.00 Z5.00 E25.00
Recv: echo:Maximum Acceleration (mm/s2):
Recv: echo:  M201 X300 Y300 Z100 E5000
Recv: echo:Accelerations: P=printing, R=retract and T=travel
Recv: echo:  M204 P500.00 R500.00 T1000.00
Recv: echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s),  Z=maximum Z jerk (mm/s),  E=maximum E jerk (mm/s)
Recv: echo:  M205 S0.00 T0.00 B20000 X5.00 Z0.40 E5.00
Recv: echo:Home offset (mm):
Recv: echo:  M206 X0.00 Y0.00 Z0.00
Recv: echo:Material heatup parameters:
Recv: echo:  M145 M0 H185 B0 F0
Recv: echo:  M145 M1 H240 B0 F0
Recv: echo:PID settings:
Recv: echo:  M301 P22.20 I1.08 D114.00 C100.00 L20
Recv: echo:Filament settings: Disabled
Recv: echo:  M200 D3.00
Recv: echo:  M200 D0
Recv: echo:SD card ok
Recv: Init power off infomation.
Recv: size:
Recv: 591
Recv: init valid:
Recv: 0
Recv: 0
Recv: ok
Changing monitoring state from "Connecting" to "Operational"
Send: N0 M110 N0*125
Recv: ok
Send: N1 M115*39
Recv: FIRMWARE_NAME:Marlin 1.1.0 From Archive SOURCE_CODE_URL:http:// ... PROTOCOL_VERSION:1.0 MACHINE_TYPE:www.cxsw3d.com EXTRUDER_COUNT:1 UUID:00000000-0000-0000-0000-000000000000
Recv: ok
Send: M20
Recv: Begin file list
Recv: /CR-10~1/CAT~1.GCO
Recv: /CR-10~1/CR-10E~1/CAT~1.GCO
Recv: Error:MAXTEMP triggered, system stopped! Heater_ID: 0
Changing monitoring state from "Operational" to "Error: MAXTEMP triggered, system stopped! Heater_ID: 0"
Changing monitoring state from "Error: MAXTEMP triggered, system stopped! Heater_ID: 0" to "Offline (Error: MAXTEMP triggered, system stopped! Heater_ID: 0)"
Connection closed, closing down monitor
Connecting to: /dev/ttyUSB0
Changing monitoring state from "Offline" to "Opening serial port"
Connected to: Serial<id=0x6c7d75b0, open=True>(port='/dev/ttyUSB0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Changing monitoring state from "Opening serial port" to "Connecting"
Send: N0 M110 N0*125
Recv: start
Recv: echo: External Reset
Recv: Marlin
Recv: echo: Last Updated: 2015-12-01 12:00 | Author: (CR-10 400)
Recv: Compiled: Jun  1 2018
Send: N0 M110 N0*125
Recv: echo: Free Memory: 1139  PlannerBufferBytes: 1232
Recv: echo:Hardcoded Default Settings Loaded
Recv: echo:Steps per unit:
Recv: echo:  M92 X80.00 Y80.00 Z400.00 E93.00
Recv: echo:Maximum feedrates (mm/s):
Recv: echo:  M203 X300.00 Y300.00 Z5.00 E25.00
Recv: echo:Maximum Acceleration (mm/s2):
Recv: echo:  M201 X300 Y300 Z100 E5000
Recv: echo:Accelerations: P=printing, R=retract and T=travel
Recv: echo:  M204 P500.00 R500.00 T1000.00
Recv: echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s),  Z=maximum Z jerk (mm/s),  E=maximum E jerk (mm/s)
Recv: echo:  M205 S0.00 T0.00 B20000 X5.00 Z0.40 E5.00
Recv: echo:Home offset (mm):
Recv: echo:  M206 X0.00 Y0.00 Z0.00
Recv: echo:Material heatup parameters:
Recv: echo:  M145 M0 H185 B0 F0
Recv: echo:  M145 M1 H240 B0 F0
Recv: echo:PID settings:
Recv: echo:  M301 P22.20 I1.08 D114.00 C100.00 L20
Recv: echo:Filament settings: Disabled
Recv: echo:  M200 D3.00
Recv: echo:  M200 D0
Recv: echo:SD card ok
Recv: Init power off infomation.
Recv: size:
Recv: 591
Recv: init valid:
Recv: 0
Recv: 0
Recv: ok
Changing monitoring state from "Connecting" to "Operational"
Send: N0 M110 N0*125
Recv: ok
Send: N1 M115*39
Recv: FIRMWARE_NAME:Marlin 1.1.0 From Archive SOURCE_CODE_URL:http:// ... PROTOCOL_VERSION:1.0 MACHINE_TYPE:www.cxsw3d.com EXTRUDER_COUNT:1 UUID:00000000-0000-0000-0000-000000000000
Recv: ok
Send: M20
Recv: Begin file list
Recv: /CR-10~1/CAT~1.GCO
Recv: /CR-10~1/CR-10E~1/CAT~1.GCO
Recv: Error:MAXTEMP triggered, system stopped! Heater_ID: bed
Changing monitoring state from "Operational" to "Error: MAXTEMP triggered, system stopped! Heater_ID: bed"
Changing monitoring state from "Error: MAXTEMP triggered, system stopped! Heater_ID: bed" to "Offline (Error: MAXTEMP triggered, system stopped! Heater_ID: bed)"
Connection closed, closing down monitor
Changing monitoring state from "Offline" to "Detecting serial port"
Serial port list: ['/dev/ttyUSB0']
Connecting to: /dev/ttyUSB0
Changing monitoring state from "Detecting serial port" to "Opening serial port"
Connected to: Serial<id=0x72578b70, open=True>(port='/dev/ttyUSB0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Changing monitoring state from "Opening serial port" to "Connecting"
Send: N0 M110 N0*125
Recv: start
Send: N0 M110 N0*125
Recv: echo: External Reset
Recv: Marlin
Recv: echo: Last Updated: 2015-12-01 12:00 | Author: (CR-10 400)
Recv: Compiled: Jun  1 2018
Recv: echo: Free Memory: 1139  PlannerBufferBytes: 1232
Recv: echo:Hardcoded Default Settings Loaded
Recv: echo:Steps per unit:
Recv: echo:  M92 X80.00 Y80.00 Z400.00 E93.00
Recv: echo:Maximum feedrates (mm/s):
Recv: echo:  M203 X300.00 Y300.00 Z5.00 E25.00
Recv: echo:Maximum Acceleration (mm/s2):
Recv: echo:  M201 X300 Y300 Z100 E5000
Recv: echo:Accelerations: P=printing, R=retract and T=travel
Recv: echo:  M204 P500.00 R500.00 T1000.00
Recv: echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s),  Z=maximum Z jerk (mm/s),  E=maximum E jerk (mm/s)
Recv: echo:  M205 S0.00 T0.00 B20000 X5.00 Z0.40 E5.00
Recv: echo:Home offset (mm):
Recv: echo:  M206 X0.00 Y0.00 Z0.00
Recv: echo:Material heatup parameters:
Recv: echo:  M145 M0 H185 B0 F0
Recv: echo:  M145 M1 H240 B0 F0
Recv: echo:PID settings:
Recv: echo:  M301 P22.20 I1.08 D114.00 C100.00 L20
Recv: echo:Filament settings: Disabled
Recv: echo:  M200 D3.00
Recv: echo:  M200 D0
Recv: echo:SD card ok
Recv: Init power off infomation.
Recv: size:
Recv: 591
Recv: init valid:
Recv: 0
Recv: 0
Recv: ok
Changing monitoring state from "Connecting" to "Operational"
Send: N0 M110 N0*125
Recv: ok
Send: N1 M115*39
Recv: FIRMWARE_NAME:Marlin 1.1.0 From Archive SOURCE_CODE_URL:http:// ... PROTOCOL_VERSION:1.0 MACHINE_TYPE:www.cxsw3d.com EXTRUDER_COUNT:1 UUID:00000000-0000-0000-0000-000000000000
Recv: ok
Send: M20
Recv: Begin file list
Recv: /CR-10~1/CAT~1.GCO
Recv: /CR-10~1/CR-10E~1/CAT~1.GCO
Recv: Error:MAXTEMP triggered, system stopped! Heater_ID: 0
Changing monitoring state from "Operational" to "Error: MAXTEMP triggered, system stopped! Heater_ID: 0"
Changing monitoring state from "Error: MAXTEMP triggered, system stopped! Heater_ID: 0" to "Offline (Error: MAXTEMP triggered, system stopped! Heater_ID: 0)"
Connection closed, closing down monitor
Changing monitoring state from "Offline" to "Detecting serial port"
Serial port list: ['/dev/ttyUSB0']
Connecting to: /dev/ttyUSB0
Changing monitoring state from "Detecting serial port" to "Opening serial port"
Connected to: Serial<id=0x72578430, open=True>(port='/dev/ttyUSB0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Changing monitoring state from "Opening serial port" to "Connecting"
Send: N0 M110 N0*125
Recv: start
Send: N0 M110 N0*125
Recv: echo: External Reset
Recv: Marlin
Recv: echo: Last Updated: 2015-12-01 12:00 | Author: (CR-10 400)
Recv: Compiled: Jun  1 2018
Recv: echo: Free Memory: 1139  PlannerBufferBytes: 1232
Recv: echo:Hardcoded Default Settings Loaded
Recv: echo:Steps per unit:
Recv: echo:  M92 X80.00 Y80.00 Z400.00 E93.00
Recv: echo:Maximum feedrates (mm/s):
Recv: echo:  M203 X300.00 Y300.00 Z5.00 E25.00
Recv: echo:Maximum Acceleration (mm/s2):
Recv: echo:  M201 X300 Y300 Z100 E5000
Recv: echo:Accelerations: P=printing, R=retract and T=travel
Recv: echo:  M204 P500.00 R500.00 T1000.00
Recv: echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s),  Z=maximum Z jerk (mm/s),  E=maximum E jerk (mm/s)
Recv: echo:  M205 S0.00 T0.00 B20000 X5.00 Z0.40 E5.00
Recv: echo:Home offset (mm):
Recv: echo:  M206 X0.00 Y0.00 Z0.00
Recv: echo:Material heatup parameters:
Recv: echo:  M145 M0 H185 B0 F0
Recv: echo:  M145 M1 H240 B0 F0
Recv: echo:PID settings:
Recv: echo:  M301 P22.20 I1.08 D114.00 C100.00 L20
Recv: echo:Filament settings: Disabled
Recv: echo:  M200 D3.00
Recv: echo:  M200 D0
Recv: echo:SD card ok
Recv: Init power off infomation.
Recv: size:
Recv: 591
Recv: init valid:
Recv: 0
Recv: 0
Recv: ok
Changing monitoring state from "Connecting" to "Operational"
Send: N0 M110 N0*125
Recv: ok
Send: N1 M115*39
Recv: FIRMWARE_NAME:Marlin 1.1.0 From Archive SOURCE_CODE_URL:http:// ... PROTOCOL_VERSION:1.0 MACHINE_TYPE:www.cxsw3d.com EXTRUDER_COUNT:1 UUID:00000000-0000-0000-0000-000000000000
Recv: ok
Send: M20
Recv: Begin file list
Recv: /CR-10~1/CAT~1.GCO
Recv: /CR-10~1/CR-10E~1/CAT~1.GCO
Recv: Error:MAXTEMP triggered, system stopped! Heater_ID: 0
Changing monitoring state from "Operational" to "Error: MAXTEMP triggered, system stopped! Heater_ID: 0"
Changing monitoring state from "Error: MAXTEMP triggered, system stopped! Heater_ID: 0" to "Offline (Error: MAXTEMP triggered, system stopped! Heater_ID: 0)"
Connection closed, closing down monitor
=====

This over temperature stuff seems to be a known issue with the CR-10.
But disconnecting is quite new.
Maybe you can find quite a solution in the given thread.

Thanks but thread suggests a Cr10 and not a CR10S S4 but also a firmware issue with wrong sensor, printer runs fine and temp seems OK.

re-flashed back to,

OctoPrint 1.3.8 running on OctoPi 0.15.1
No difference so flashed back up to 1.3.9

Manually set temp to 65C on nozzle, printer ran up to temp fine.
Swapped in genuine Pi3 PSU, no difference (powered off a 10inch touchsreen before). CR10S4 seems to shrug off whatever is going on.
Unless someone has any better ideas will flash to TH3D's unified firmware tomorrow.

1 Like

An M501 issued on the Terminal tab should tell you what parameters were baked into your firmware for this printer. It would be good to know things like the max temperature and if they include it, the type of thermistor resistance.

Cant connect to it long enough to issue a command.
Swapped usb cable out same problem.
Kind of wondering if I have a bad motherboard.

By "bad motherboard", it's within the realm of possibility that the thermistor is bad. It's just more likely that they flashed the wrong firmware, they pulled the wrong part for this or similar.

Getting very good and accurate temp control control so I dont know, problem is tieing down the issue to go to paypal if needbe. I am just getting TH3D's unified firmware will flash it after work?

I couldn't tell you since I don't own Creality. You'd want to make sure that any firmware you throw at this is for your printer.

I have already checked with TH3D its the right firmware The Q is will it fix anything, guess we find out tonight. If I cant upload its the USB port, if flashing goes OK and it still happens its the sensor, or a bug in octoprint.

Turned off the automatic disconnect and get,

Send: M501Recv: echo:Hardcoded Default Settings LoadedRecv: echo:Steps per unit:Recv: echo:  M92 X80.00 Y80.00 Z400.00 E93.00Recv: echo:Maximum feedrates (mm/s):Recv: echo:  M203 X300.00 Y300.00 Z5.00 E25.00Recv: echo:Maximum Acceleration (mm/s2):Recv: echo:  M201 X300 Y300 Z100 E5000Recv: echo:Accelerations: P=printing, R=retract and T=travelRecv: echo:  M204 P500.00 R500.00 T1000.00Recv: echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s),  Z=maximum Z jerk (mm/s),  E=maximum E jerk (mm/s)Recv: echo:  M205 S0.00 T0.00 B20000 X5.00 Z0.40 E5.00Recv: echo:Home offset (mm):Recv: echo:  M206 X0.00 Y0.00 Z0.00Recv: echo:Material heatup parameters:Recv: echo:  M145 M0 H185 B0 F0Recv: echo:  M145 M1 H240 B0 F0Recv: echo:PID settings:Recv: echo:  M301 P22.20 I1.08 D114.00 C100.00 L20Recv: echo:Filament settings: DisabledRecv: echo:  M200 D3.00Recv: echo:  M200 D0Recv: ok

With the auto connect off I have control, ie I can set 180C and 60C for PLA and control seems fine......hmmm. (also have axis control fine)

I'm trying to pull out anything that might have something to do with this:

Material heatup parameters: M145 M0 H185 B0 F0 M145 M1 H240 B0 F0
PID settings: M301 P22.20 I1.08 D114.00 C100.00 L20

I'm looking for an M143 in all that but I'm not seeing it. And yet there's an M145 with no listing in the reprap wiki.

http://marlinfw.org/docs/gcode/M145.html

Alright, so that's attempting to define a hotend preset for 185 degrees for M0 and 240 degrees for M1. I'm just not seeing the maxtemp anywhere.

Actually, isn't that supposed to be S0 and S1 instead of M0 and M1?

Yes I think these are the presets on the LCD for PLA and ABS. Possibly for retracting filament. Just trying to figure out if I can flash via octoprint. If I can get VNC going over ssh that should be possible.

So too many posts I must be a spammer!

Because at times with a local screen things can be controlled easier via a web ui than the god awful single control knob and tiny, crude screen. So I happen to have a spare 10inch touch screen that is designed to drive the Pi3b. I am also 30km away at times like now and if I can make Arduino ICE etc work remotely on the Pi3 I can do a lot more this far away.

=======
"ecv: okRecv: Error:Thermal Runaway, system stopped! Heater_ID: bedWARNING! Received an error from the printer's firmware, ignoring that as configured but you might want to investigate what happened here! Error: Thermal Runaway, system stopped! Heater_ID: bedSend: M27Send: M27Recv: SD printing byte 140021/464924Recv: okRecv: SD printing byte 140085/464924Recv: ok"

by the way this is the bed not the nozzle, but its running Ok at 65C

Ok flashed firmware to TH3d's version cant see any more errors and I can see the sd card now!

To the best of my knowledge, VNC requires the Xorg (X-Windows) GUI to be installed on the host. I'm not sure why you'd need that to either the Raspberry or the controller board.

I think I would try something like avrdude.

I think this comes down to the bed heater on the CR10S is too small and hence takes too long to heat, tripping the safety feature in marlin due to "no response". (I assume) this seems to be a known problem with this printer and only happens on initial heatup, once running no problems.

So then it sounds like, for the Creality CR10S, preheat the bed then start the print.

This may be a silly question, but is the RPi getting enough power? Some USB cables are woefully inadequate for an RPi, being only spec'ed to 0.5 amps and the RPi needs at least an amp, sometimes more than 2.

I am having the similar issue with my cr10s. It has the same temp error message and it shuts down the printers monitor when it happens. prints fine without connecting with octoprint. im leading towards a firmware issue. thinking of flashing to a previous ver. or different.