Welcome! Log In Create A New Profile

Advanced

Disable temperature protection on Marlin

Posted by wavemill2 
Disable temperature protection on Marlin
August 20, 2013 08:36AM
Hi,

I would like make some test, and i have to disable the temperature protection(i want just move axis to check if all is ok)
I have always this error on pronterface:
Extruder switched off. MINTEMP triggered !
Errortongue sticking out smileyrinter stopped deu to errors. Fix the error and use M999 to restart!. (Temperature is reset. Set it before restarting)

I would like disable the the MINTEMP on Marlin to make test.
I tried without success.
Have you got any idea which variable i have to modified?

regards,

Wavemill
Re: Disable temperature protection on Marlin
October 20, 2013 08:06PM
Wavemill,

I am getting the same error.

Error:
: Extruder switched off. MINTEMP triggered !
Error: Printer halted. kill() called !!

In Marlin you can edit CONFIGURATION_H
Find this area and change # 6 to 0

Original:
#define TEMP_SENSOR_0 6 // Extruder
#define TEMP_SENSOR_1 0
#define TEMP_SENSOR_2 0
#define TEMP_SENSOR_BED 6 // Hot Bed

I can make this change and able to move all axis, load a file and use the print command.
The extruder will not operate.

Edited:
#define TEMP_SENSOR_0 0 // Extruder
#define TEMP_SENSOR_1 0
#define TEMP_SENSOR_2 0
#define TEMP_SENSOR_BED 6 // Hot Bed

The research I have done says there is a short somewhere with the extruder thermistor or wiring.
Not able to not find one.
I have tried attaching a spare thermistor directly to the board for testing and still fails.

I have built a Prusa i2 using Pronterface, Printrboard revD and Marlin firmware.
Have tried 2 Printrboard RevD and both fail.

Anyone have any Ideas??


Thanks, Dennis
Re: Disable temperature protection on Marlin
May 05, 2016 12:26AM
Hi,

I am using RAMPS 1.4 Board for my project, which does not need a thermistor or even a hot end extruder. I want to check my stepper motors now. I am using the Marlin firmware, and getting the message " Printer stopped due to errors. Fix the error and use M999 to restart. ( Temperature is Reset . Set it after restarting )


I have tried the following change in the firmware

Original:
#define TEMP_SENSOR_0 6 // Extruder
#define TEMP_SENSOR_1 0
#define TEMP_SENSOR_2 0
#define TEMP_SENSOR_BED 6 // Hot Bed



Edited:
#define TEMP_SENSOR_0 0 // Extruder
#define TEMP_SENSOR_1 0
#define TEMP_SENSOR_2 0
#define TEMP_SENSOR_BED 6 // Hot Bed

But the compiler shows some error when compiling.

Arduino: 1.5.6-r2 (Windows 8), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

ultralcd.cpp: In function 'void lcd_tune_menu()':
ultralcd.cpp:250: error: 'HEATER_0_MAXTEMP' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_temperature_menu()':
ultralcd.cpp:443: error: 'HEATER_0_MAXTEMP' was not declared in this scope
ultralcd.cpp:456: error: 'HEATER_0_MAXTEMP' was not declared in this scope
ultralcd.cpp:457: error: 'HEATER_0_MAXTEMP' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_temperature_preheat_pla_settings_menu()':
ultralcd.cpp:479: error: 'HEATER_0_MAXTEMP' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_temperature_preheat_abs_settings_menu()':
ultralcd.cpp:494: error: 'HEATER_0_MAXTEMP' was not declared in this scope

How can i solve the problem?
Re: Disable temperature protection on Marlin
May 05, 2016 06:29AM
The LCD code presumes you have a hotend and thermistor.... you could spend days looking for the code to hack... and then have to re hack it when you upgrade your firmware next time.

OR

Just put a 100K resistor over the thermistor pins and set the thermistor type to 1.

Printer will thinks its 25C always.

As long as you don’t send it any temperature gcode it will work fine. Of course if you tell it to heat up it will happily sit there waiting for it to heat up for ever.

(NB im a hardware guy, so I see hardware based solutions, it may be easy to change the software, if its your thing)

Edited 2 time(s). Last edit at 05/05/2016 06:33AM by Dust.
Re: Disable temperature protection on Marlin
May 05, 2016 10:13AM
You could use the dummy tables, they're shown at the bottom of the list right above where you set the temp_sensors.
Re: Disable temperature protection on Marlin
May 05, 2016 11:43AM
Hi Mr. Dust,

Thanks for your replay.

My project is not a 3D printer. Its more likely a CNC machine, can you guide me to a link where I can get firmware and softwares for CNC s?
Re: Disable temperature protection on Marlin
May 05, 2016 11:46AM
Hi Mr. stephenrc,

Thanks for your replay.

I couldn't find a table in configuration.h tab.
Re: Disable temperature protection on Marlin
May 05, 2016 01:30PM
I would recommend using 998:

#define TEMP_SENSOR_0 998 // Extruder
#define TEMP_SENSOR_1 0
#define TEMP_SENSOR_2 0
#define TEMP_SENSOR_BED 998 // Hot Bed

which always give 25 deg.


What is Open Source?
What is Open Source Hardware?
Open Source in a nutshell: the Four Freedoms
CC BY-NC is not an Open Source license
Re: Disable temperature protection on Marlin
May 05, 2016 03:02PM
Hi Mr. bobc,

I tried your recommendation, but it is not working on my Arduino IDE. The error code is

Arduino: 1.5.6-r2 (Windows 8), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Build options changed, rebuilding all

temperature.cpp:144: error: 'temptable_998' was not declared in this scope
temperature.cpp:145: error: 'temptable_998' was not declared in this scope
temperature.cpp:145: error: 'temptable_998' was not declared in this scope
temperature.cpp: In function 'float analog2tempBed(int)':
temperature.cpp:653: error: 'temptable_998' was not declared in this scope
temperature.cpp:666: error: 'temptable_998' was not declared in this scope
Re: Disable temperature protection on Marlin
May 05, 2016 05:40PM
for cnc you should consider [github.com]
Re: Disable temperature protection on Marlin
March 22, 2017 05:40AM
#define TEMP_SENSOR_0 0
#define TEMP_SENSOR_1 0
#define TEMP_SENSOR_2 0
#define TEMP_SENSOR_BED 0


www.reprapfordummies.net
IRC: #reprap on freenode.net (Action68)
[github.com]
Re: Disable temperature protection on Marlin
March 22, 2017 06:25AM
A year latter and that still doesn’t work if you enable a lcd... the lcd assumes that there is a thermistor.

The error message has been updated to "#error "TEMP_SENSOR_0 is required."
Re: Disable temperature protection on Marlin
March 23, 2017 04:45AM
Marlin Sketch: Configuration.h
Line 271
Default #define EXTRUDE_MINTEMP 170
Change #define EXTRUDE_MINTEMP 0

Make sure to reset back to the default setting when finished testing.
Re: Disable temperature protection on Marlin
October 05, 2017 05:41PM
I set my heatbed and extruder to 998, (Merlin 1.1.5), and I show 25C for both on graphics LCD, and I haven't seen a temp error since!
Never saw compile errors.
Sorry, only registered users may post in this forum.

Click here to login