toolhead: Increase the motor_off_time default to 10 minutes

Increase the default motor_off_time from 1 minute to 10 minutes.  The
small value is a common source of confusion.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2017-03-30 14:07:45 -04:00
parent 03ddd64b93
commit aa0f1aaeb2
3 changed files with 3 additions and 4 deletions

View File

@ -274,9 +274,9 @@ max_z_accel: 30
# mm/s^2) of movement along the z axis. It limits the acceleration # mm/s^2) of movement along the z axis. It limits the acceleration
# of the z stepper motor on cartesian printers. The default is to # of the z stepper motor on cartesian printers. The default is to
# use max_accel for max_z_accel. # use max_accel for max_z_accel.
#motor_off_time: 60 #motor_off_time: 600
# Time (in seconds) of idle time before the printer will try to # Time (in seconds) of idle time before the printer will try to
# disable active motors. The default is 60 seconds. # disable active motors. The default is 600 seconds.
#junction_deviation: 0.02 #junction_deviation: 0.02
# Distance (in mm) used to control the internal approximated # Distance (in mm) used to control the internal approximated
# centripetal velocity cornering algorithm. A larger number will # centripetal velocity cornering algorithm. A larger number will

View File

@ -101,4 +101,3 @@ max_velocity: 500
max_accel: 3000 max_accel: 3000
max_z_velocity: 25 max_z_velocity: 25
max_z_accel: 30 max_z_accel: 30
motor_off_time: 600

View File

@ -207,7 +207,7 @@ class ToolHead:
self.flush_timer = self.reactor.register_timer(self._flush_handler) self.flush_timer = self.reactor.register_timer(self._flush_handler)
self.move_queue.set_flush_time(self.buffer_time_high) self.move_queue.set_flush_time(self.buffer_time_high)
# Motor off tracking # Motor off tracking
self.motor_off_time = config.getfloat('motor_off_time', 60.000) self.motor_off_time = config.getfloat('motor_off_time', 600.000)
self.motor_off_timer = self.reactor.register_timer( self.motor_off_timer = self.reactor.register_timer(
self._motor_off_handler) self._motor_off_handler)
# Determine the maximum velocity a cartesian axis could have # Determine the maximum velocity a cartesian axis could have