verify_heater: Change default hysteresis to 10 degrees

A default of 4 degrees and 10 seconds may be too aggressive - change
the default to 10 degrees and 15 seconds.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2018-03-11 13:22:45 -04:00
parent 5208fc38ed
commit 57d342b455
2 changed files with 6 additions and 6 deletions

View File

@ -133,15 +133,15 @@
# The amount of time (in seconds) that the heating_gain must be met
# in before an error is raised. The default is 20 seconds for
# extruders and 60 seconds for heater_bed.
#hysteresis: 4
#hysteresis: 10
# The difference between the target temperature and the current
# temperature for the heater to be considered within range of the
# target temperature. The default is 4.
#check_time: 10
# target temperature. The default is 10.
#check_time: 15
# The amount of time (in seconds) a heater that has reached the
# target temperature (as defined by the hysteresis field) may fall
# outside the target temperature range before an error is
# raised. The default is 10.
# raised. The default is 15.
# Multi-stepper axes. On a cartesian style printer, the stepper

View File

@ -11,8 +11,8 @@ class HeaterCheck:
self.printer = config.get_printer()
self.heater_name = config.get_name().split()[1]
self.heater = None
self.hysteresis = config.getfloat('hysteresis', 4., above=0.)
self.check_time = config.getfloat('check_time', 10., minval=1.)
self.hysteresis = config.getfloat('hysteresis', 10., above=0.)
self.check_time = config.getfloat('check_time', 15., minval=1.)
self.heating_gain = config.getfloat('heating_gain', 2., above=0.)
default_gain_time = 20.
if self.heater_name == 'heater_bed':