Yes it's rebuilt and uploaded, and is working until I hit 400°C then -
Setting hotend temperature to 270.000000 degrees Celsius.
Setting hotend temperature to 290.000000 degrees Celsius.
Setting hotend temperature to 310.000000 degrees Celsius.
Setting hotend temperature to 330.000000 degrees Celsius.
Setting hotend temperature to 350.000000 degrees Celsius.
Setting hotend temperature to 370.000000 degrees Celsius.
Setting hotend temperature to 390.000000 degrees Celsius.
Setting hotend temperature to 398.000000 degrees Celsius.
Error:0
[ERROR] Error:0

: Extruder switched off. MAXTEMP triggered !
Error:Printer stopped due to errors. Fix the error and use M999 to restart. (Temperature is reset. Set it after restarting)
[ERROR] Error:Printer stopped due to errors. Fix the error and use M999 to restart. (Temperature is reset. Set it after restarting)

Setting hotend temperature to 0.000000 degrees Celsius.


I'm using a K type thermocouple [ temp sensor -1 ] with success for printing at 380°C with the MAX temp set at 400°. But the new sketch has been changed to 500°C, but still errors at 400°C

I can see lots of thermistor tables, but very little detail on the thermocouple definitions. Is the Thermocouple linked to a thermistor table?

Sorry for the noob questions, but thanks for any help

Rich