aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-03-30 14:07:45 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-03-30 14:09:17 -0400
commitaa0f1aaeb2292dd021f62b7ac9ab8e4a936918d4 (patch)
tree47460f7b4c7b80e8aea312c84253b9159677490f
parent03ddd64b935e4d67760f049446ace109ce207987 (diff)
downloadkutter-aa0f1aaeb2292dd021f62b7ac9ab8e4a936918d4.tar.gz
kutter-aa0f1aaeb2292dd021f62b7ac9ab8e4a936918d4.tar.xz
kutter-aa0f1aaeb2292dd021f62b7ac9ab8e4a936918d4.zip
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>
-rw-r--r--config/example.cfg4
-rw-r--r--config/makergear-m2-2012.cfg1
-rw-r--r--klippy/toolhead.py2
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