From 8518da9824ffa4c8b0f41be140eecf3973126d10 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 27 Feb 2018 09:34:25 -0500 Subject: [PATCH] config: Move description of phase adjusted endstops to config-extra.cfg Move the description of stepper phase adjusted endstops to a new section in config-extra.cfg. This keeps the main example config file a little more concise. Signed-off-by: Kevin O'Connor --- config/example-extras.cfg | 29 +++++++++++++++++++++++++++++ config/example.cfg | 26 -------------------------- 2 files changed, 29 insertions(+), 26 deletions(-) diff --git a/config/example-extras.cfg b/config/example-extras.cfg index 9b980626..e4b3c872 100644 --- a/config/example-extras.cfg +++ b/config/example-extras.cfg @@ -116,6 +116,35 @@ # 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 +# 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: +# 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. + + # Heater cooling fans (one may define any number of sections with a # "heater_fan" prefix). A "heater fan" is a fan that will be enabled # whenever its associated heater is active. In the event of an MCU diff --git a/config/example.cfg b/config/example.cfg index e20fee09..86184076 100644 --- a/config/example.cfg +++ b/config/example.cfg @@ -57,32 +57,6 @@ position_max: 200 # direction (away from zero); if false, home towards zero. The # default is true if position_endstop is near position_max and false # if near position_min. -#homing_stepper_phases: 0 -# One may optionally set this to the number of phases of the stepper -# motor driver (which is the number of micro-steps multiplied by -# four). When set, the phase of the stepper driver will be used -# during homing to improve the accuracy of the endstop switch. -#homing_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). This setting is used with -# homing_stepper_phases and is only useful if that parameter is also -# configured. -#homing_endstop_phase: 0 -# This specifies the phase of the stepper motor driver to expect -# when hitting the endstop. This setting is only meaningful if -# homing_stepper_phases is also set. 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, but homing_stepper_phases is 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 homing_endstop_phase is set and this field is 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. # The stepper_y section is used to describe the stepper controlling # the Y axis in a cartesian robot. It has the same settings as the