chiark / gitweb /
refresh
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 8 Aug 2012 17:56:20 +0000 (18:56 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 8 Aug 2012 17:56:20 +0000 (18:56 +0100)
meta
patches/m206-always-use-homing-homeing
patches/refresh-temp [deleted file]

diff --git a/meta b/meta
index 097c2b24a8a637c875088d635a0ecebc560ab234..ac472318c2da7ed00221b672a68b44fb391b846c 100644 (file)
--- 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
index 48011a0a590142be3686b186e73ada1b83387d10..7e815ff5d2e17f737c901857aa9ff4e93b10a277 100644 (file)
@@ -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 <ijackson@chiark.greenend.org.uk>
+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 <ijackson@chiark.greenend.org.uk>
 
 
 ---
diff --git a/patches/refresh-temp b/patches/refresh-temp
deleted file mode 100644 (file)
index f78c154..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-Bottom: d0d5d048fda009daef93f44a721dcee568ca2308
-Top:    d0d5d048fda009daef93f44a721dcee568ca2308
-Author: Ian Jackson <ijackson@chiark.greenend.org.uk>
-Date:   2012-08-08 18:49:41 +0100
-
-Refresh of m206-always-use-homing-homeing
-
----
-
-