From aa0f1aaeb2292dd021f62b7ac9ab8e4a936918d4 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 30 Mar 2017 14:07:45 -0400 Subject: [PATCH] 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 --- config/example.cfg | 4 ++-- config/makergear-m2-2012.cfg | 1 - klippy/toolhead.py | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/config/example.cfg b/config/example.cfg index e3439f01..d94e2b03 100644 --- a/config/example.cfg +++ b/config/example.cfg @@ -274,9 +274,9 @@ max_z_accel: 30 # 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 # 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 -# disable active motors. The default is 60 seconds. +# disable active motors. The default is 600 seconds. #junction_deviation: 0.02 # Distance (in mm) used to control the internal approximated # centripetal velocity cornering algorithm. A larger number will diff --git a/config/makergear-m2-2012.cfg b/config/makergear-m2-2012.cfg index 74b347d2..b25dd3be 100644 --- a/config/makergear-m2-2012.cfg +++ b/config/makergear-m2-2012.cfg @@ -101,4 +101,3 @@ max_velocity: 500 max_accel: 3000 max_z_velocity: 25 max_z_accel: 30 -motor_off_time: 600 diff --git a/klippy/toolhead.py b/klippy/toolhead.py index 95aceafa..ca7deebc 100644 --- a/klippy/toolhead.py +++ b/klippy/toolhead.py @@ -207,7 +207,7 @@ class ToolHead: self.flush_timer = self.reactor.register_timer(self._flush_handler) self.move_queue.set_flush_time(self.buffer_time_high) # 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_handler) # Determine the maximum velocity a cartesian axis could have