From 298f9449e0e912af04afa7105b74a3894072e8f6 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 8 Aug 2012 18:56:20 +0100 Subject: [PATCH] refresh --- meta | 7 +++--- patches/m206-always-use-homing-homeing | 31 ++++++++++++++++++++++---- patches/refresh-temp | 10 --------- 3 files changed, 30 insertions(+), 18 deletions(-) delete mode 100644 patches/refresh-temp diff --git a/meta b/meta index 097c2b2..ac47231 100644 --- a/meta +++ b/meta @@ -1,12 +1,11 @@ Version: 1 -Previous: e38cdc63a85e0f3cc8bb3d037e38cdc411a835cf -Head: ec3f1d3d36ac37ef2d0b65f7e176ada26b5a5740 +Previous: 4561067c2848f06bfddb29f50d43777fb937a2da +Head: f389e9efa29905ea703de07bd502ed53faa45404 Applied: marlin-pde-include-comment-for: 121f976406e6921f5b511f6dc4882985cf4b4133 add-to-marlin-gitignore: 83dcad520f19d2ea6f1164b9c04e1430b679b3e2 makefile-support-v-1: 3f7781d27a680fa4faeb5d7f38250e4877632ce3 - m206-always-use-homing-homeing: b350e85d05fd76dfdf7ee5466dc3e69d996b5900 - refresh-temp: ec3f1d3d36ac37ef2d0b65f7e176ada26b5a5740 + m206-always-use-homing-homeing: f389e9efa29905ea703de07bd502ed53faa45404 Unapplied: eeprom-provide-smaller-code-fo: f581408bb7e043193e0a8f9a78e8ded4798edf2b m206-save-values-in-eeprom: 00b6f3342f0b13a7393158546b6f175c013d7fe5 diff --git a/patches/m206-always-use-homing-homeing b/patches/m206-always-use-homing-homeing index 48011a0..7e815ff 100644 --- a/patches/m206-always-use-homing-homeing +++ b/patches/m206-always-use-homing-homeing @@ -17,13 +17,36 @@ configuration variables [XYZ]_HOME_POS. This is achieved by replacing all uses of [XYZ]_HOME_POS in the code by [XYZ]_HOME_POS_A which is a macro which includes the adjustment. -fixes #200 (in ErikZalm/Marlin). -Signed-off-by: Ian Jackson +A question arises: if the M206 offset is set, should this adjustment +to the home position shift or change the possible range of movement +permitted by the software endstops ? + +I have taken the view that the software endstops are a backstop safety +feature which is not necessarily entirely accurate, and that reducing +the scope of movement is not desirable. + +I have therefore implemented it so that negative values for M206 +increase the total range of movement, whereas positive values leave it +unchanged. + +So for example with + #define X_MIN_POS 0 + #define X_HOME_POS 0 + #define X_MAX_POS 100 -minimums too +M206 X-10 would permit the machine to move from the endstop +(considered X=-10) 110mm in the positive X direction (considered +X=+100). -FIXME FIXME FIXME +M206 X+10 would permit the machine to move from the endstop +(considered X=-10) 100mm in the positive X direction (considered +X=+110). + + +fixes #200 (in ErikZalm/Marlin). + +Signed-off-by: Ian Jackson --- diff --git a/patches/refresh-temp b/patches/refresh-temp deleted file mode 100644 index f78c154..0000000 --- a/patches/refresh-temp +++ /dev/null @@ -1,10 +0,0 @@ -Bottom: d0d5d048fda009daef93f44a721dcee568ca2308 -Top: d0d5d048fda009daef93f44a721dcee568ca2308 -Author: Ian Jackson -Date: 2012-08-08 18:49:41 +0100 - -Refresh of m206-always-use-homing-homeing - ---- - - -- 2.30.2