Increase maximum hotend target temperature to 300 degrees instead of 260.
This commit is contained in:
@@ -529,7 +529,7 @@
|
|||||||
// Above this temperature the heater will be switched off.
|
// Above this temperature the heater will be switched off.
|
||||||
// This can protect components from overheating, but NOT from shorts and failures.
|
// This can protect components from overheating, but NOT from shorts and failures.
|
||||||
// (Use MINTEMP for thermistor short/failure protection.)
|
// (Use MINTEMP for thermistor short/failure protection.)
|
||||||
#define HEATER_0_MAXTEMP 275
|
#define HEATER_0_MAXTEMP 300
|
||||||
#define HEATER_1_MAXTEMP 275
|
#define HEATER_1_MAXTEMP 275
|
||||||
#define HEATER_2_MAXTEMP 275
|
#define HEATER_2_MAXTEMP 275
|
||||||
#define HEATER_3_MAXTEMP 275
|
#define HEATER_3_MAXTEMP 275
|
||||||
|
@@ -1224,7 +1224,7 @@ void AnycubicTouchscreenClass::CheckSDCardChange()
|
|||||||
|
|
||||||
void AnycubicTouchscreenClass::CheckHeaterError()
|
void AnycubicTouchscreenClass::CheckHeaterError()
|
||||||
{
|
{
|
||||||
if ((thermalManager.degHotend(0) < 5) || (thermalManager.degHotend(0) > 290))
|
if ((thermalManager.degHotend(0) < 5) || (thermalManager.degHotend(0) > 300))
|
||||||
{
|
{
|
||||||
if (HeaterCheckCount > 60000)
|
if (HeaterCheckCount > 60000)
|
||||||
{
|
{
|
||||||
@@ -1743,8 +1743,10 @@ void AnycubicTouchscreenClass::GetCommandFromTFT()
|
|||||||
unsigned int tempvalue;
|
unsigned int tempvalue;
|
||||||
if (CodeSeen('S'))
|
if (CodeSeen('S'))
|
||||||
{
|
{
|
||||||
tempvalue = constrain(CodeValue(), 0, 275);
|
tempvalue = constrain(CodeValue(), 0, 260);
|
||||||
thermalManager.setTargetHotend(tempvalue, 0);
|
if(thermalManager.degTargetHotend(0) <= 260) {
|
||||||
|
thermalManager.setTargetHotend(tempvalue, 0); // do not set Temp from TFT if it is set via gcode
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if ((CodeSeen('C')) && (!planner.movesplanned()))
|
else if ((CodeSeen('C')) && (!planner.movesplanned()))
|
||||||
{
|
{
|
||||||
@@ -1752,7 +1754,7 @@ void AnycubicTouchscreenClass::GetCommandFromTFT()
|
|||||||
{
|
{
|
||||||
queue.inject_P(PSTR("G1 Z10")); //RASE Z AXIS
|
queue.inject_P(PSTR("G1 Z10")); //RASE Z AXIS
|
||||||
}
|
}
|
||||||
tempvalue = constrain(CodeValue(), 0, 275);
|
tempvalue = constrain(CodeValue(), 0, 260);
|
||||||
thermalManager.setTargetHotend(tempvalue, 0);
|
thermalManager.setTargetHotend(tempvalue, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user