aboutsummaryrefslogtreecommitdiffstats
path: root/config/example-extras.cfg
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-10-09 21:36:02 -0400
committerKevin O'Connor <kevin@koconnor.net>2018-10-16 13:09:23 -0400
commita2df01b88ec1a7d72f77222fd94219b9037e3ad9 (patch)
tree2a39b27d56d62f1ea5b2d928f8ecc43a2be28f65 /config/example-extras.cfg
parent216905ceca731b9761ee52f176b5d113363ef824 (diff)
downloadkutter-a2df01b88ec1a7d72f77222fd94219b9037e3ad9.tar.gz
kutter-a2df01b88ec1a7d72f77222fd94219b9037e3ad9.tar.xz
kutter-a2df01b88ec1a7d72f77222fd94219b9037e3ad9.zip
endstop_phase: Move endstop phase homing code to new "extras" module
Move the endstop phase tracking code from stepper.py to a new extras/endstop_phase.py module. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config/example-extras.cfg')
-rw-r--r--config/example-extras.cfg37
1 files changed, 19 insertions, 18 deletions
diff --git a/config/example-extras.cfg b/config/example-extras.cfg
index e3424eec..5140a1bf 100644
--- a/config/example-extras.cfg
+++ b/config/example-extras.cfg
@@ -322,33 +322,34 @@
# axis is triggered.
-# Stepper phase adjusted endstops. The following additional parameters
-# may be added to a stepper axis definition to improve the accuracy of
-# endstop switches.
-#[stepper_z]
-#homing_stepper_phases:
-# One may set this to the number of phases of the stepper motor
-# driver (which is the number of micro-steps multiplied by
-# four). This parameter must be provided if using stepper phase
-# adjustments.
-#homing_endstop_accuracy: 0.200
+# Stepper phase adjusted endstops. To use this feature, define a
+# config section with an "endstop_phase" prefix followed by the name
+# of the corresponding stepper config section (for example,
+# "[endstop_phase stepper_z]"). This feature can improve the accuracy
+# of endstop switches.
+#[endstop_phase stepper_z]
+#phases:
+# Set this to the number of phases of the given stepper motor driver
+# (which is the number of micro-steps multiplied by four). This
+# parameter must be provided.
+#endstop_accuracy: 0.200
# Sets the expected accuracy (in mm) of the endstop. This represents
# the maximum error distance the endstop may trigger (eg, if an
# endstop may occasionally trigger 100um early or up to 100um late
# then set this to 0.200 for 200um). The default is
-# homing_stepper_phases*step_distance.
-#homing_endstop_phase:
+# phases*step_distance.
+#endstop_phase:
# This specifies the phase of the stepper motor driver to expect
# when hitting the endstop. Only set this value if one is sure the
# stepper motor driver is reset every time the mcu is reset. If this
# is not set, then the stepper phase will be detected on the first
# home and that phase will be used on all subsequent homes.
-#homing_endstop_align_zero: False
-# If true then the code will arrange for the zero position on the
-# axis to occur at a full step on the stepper motor. (If used on the
-# Z axis and the print layer height is a multiple of a full step
-# distance then every layer will occur on a full step.) The default
-# is False.
+#endstop_align_zero: False
+# If true then the position_endstop of the axis will effectively be
+# modified so that the zero position for the axis occurs at a full
+# step on the stepper motor. (If used on the Z axis and the print
+# layer height is a multiple of a full step distance then every
+# layer will occur on a full step.) The default is False.
# Heater cooling fans (one may define any number of sections with a