chiark / gitweb /
marlin.git
12 years agorefresh
Ian Jackson [Fri, 10 Aug 2012 16:09:54 +0000 (17:09 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Fri, 10 Aug 2012 16:07:12 +0000 (17:07 +0100)]
refresh (create temporary patch)

12 years agorefresh
Ian Jackson [Fri, 10 Aug 2012 16:07:00 +0000 (17:07 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Fri, 10 Aug 2012 16:07:00 +0000 (17:07 +0100)]
refresh (create temporary patch)

12 years agopop
Ian Jackson [Fri, 10 Aug 2012 15:53:31 +0000 (16:53 +0100)]
pop

12 years agopop
Ian Jackson [Fri, 10 Aug 2012 15:49:16 +0000 (16:49 +0100)]
pop

12 years agorefresh
Ian Jackson [Fri, 10 Aug 2012 15:49:09 +0000 (16:49 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Fri, 10 Aug 2012 15:48:54 +0000 (16:48 +0100)]
refresh (create temporary patch)

12 years agogoto
Ian Jackson [Fri, 10 Aug 2012 15:48:45 +0000 (16:48 +0100)]
goto

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 19:16:38 +0000 (20:16 +0100)]
pop

12 years agogoto
Ian Jackson [Thu, 9 Aug 2012 19:16:15 +0000 (20:16 +0100)]
goto

12 years agosink
Ian Jackson [Thu, 9 Aug 2012 19:14:34 +0000 (20:14 +0100)]
sink

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 19:14:25 +0000 (20:14 +0100)]
pop

12 years agogoto
Ian Jackson [Thu, 9 Aug 2012 19:12:47 +0000 (20:12 +0100)]
goto

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 19:01:26 +0000 (20:01 +0100)]
pop

12 years agorefresh
Ian Jackson [Thu, 9 Aug 2012 19:01:12 +0000 (20:01 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Thu, 9 Aug 2012 18:54:45 +0000 (19:54 +0100)]
refresh (create temporary patch)

12 years agogoto
Ian Jackson [Thu, 9 Aug 2012 18:52:35 +0000 (19:52 +0100)]
goto

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:20:24 +0000 (19:20 +0100)]
pop

12 years agohide
Ian Jackson [Thu, 9 Aug 2012 18:20:17 +0000 (19:20 +0100)]
hide

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:20:07 +0000 (19:20 +0100)]
pop

12 years agorefresh
Ian Jackson [Thu, 9 Aug 2012 18:19:23 +0000 (19:19 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Thu, 9 Aug 2012 18:19:15 +0000 (19:19 +0100)]
refresh (create temporary patch)

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:19:12 +0000 (19:19 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:18:50 +0000 (19:18 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:18:30 +0000 (19:18 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:18:01 +0000 (19:18 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:17:14 +0000 (19:17 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:16:46 +0000 (19:16 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:16:45 +0000 (19:16 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:15:42 +0000 (19:15 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:15:39 +0000 (19:15 +0100)]
pop

12 years agorefresh
Ian Jackson [Thu, 9 Aug 2012 18:15:32 +0000 (19:15 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Thu, 9 Aug 2012 18:15:32 +0000 (19:15 +0100)]
refresh (create temporary patch)

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:15:10 +0000 (19:15 +0100)]
pop

12 years agoexternal modifications
Ian Jackson [Thu, 9 Aug 2012 18:15:10 +0000 (19:15 +0100)]
external modifications

Modifications by tools other than StGit (e.g. git).

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:12:55 +0000 (19:12 +0100)]
pop

12 years agogoto
Ian Jackson [Thu, 9 Aug 2012 18:12:40 +0000 (19:12 +0100)]
goto

12 years agorepair
Ian Jackson [Thu, 9 Aug 2012 18:12:23 +0000 (19:12 +0100)]
repair

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:11:17 +0000 (19:11 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:11:11 +0000 (19:11 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:11:06 +0000 (19:11 +0100)]
pop

12 years agorefresh
Ian Jackson [Thu, 9 Aug 2012 18:11:02 +0000 (19:11 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Thu, 9 Aug 2012 18:11:02 +0000 (19:11 +0100)]
refresh (create temporary patch)

12 years agorefresh
Ian Jackson [Thu, 9 Aug 2012 18:09:36 +0000 (19:09 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Thu, 9 Aug 2012 18:09:35 +0000 (19:09 +0100)]
refresh (create temporary patch)

12 years agopop (CONFLICT)
Ian Jackson [Thu, 9 Aug 2012 18:05:25 +0000 (19:05 +0100)]
pop (CONFLICT)

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:05:24 +0000 (19:05 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:05:14 +0000 (19:05 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:04:50 +0000 (19:04 +0100)]
pop

12 years agorefresh
Ian Jackson [Thu, 9 Aug 2012 18:04:36 +0000 (19:04 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Thu, 9 Aug 2012 18:04:36 +0000 (19:04 +0100)]
refresh (create temporary patch)

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:04:17 +0000 (19:04 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:04:02 +0000 (19:04 +0100)]
pop

12 years agorefresh
Ian Jackson [Thu, 9 Aug 2012 18:03:31 +0000 (19:03 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Thu, 9 Aug 2012 18:03:31 +0000 (19:03 +0100)]
refresh (create temporary patch)

12 years agonew
Ian Jackson [Thu, 9 Aug 2012 18:03:12 +0000 (19:03 +0100)]
new

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:02:20 +0000 (19:02 +0100)]
pop

12 years agorefresh
Ian Jackson [Thu, 9 Aug 2012 18:02:01 +0000 (19:02 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Thu, 9 Aug 2012 18:01:28 +0000 (19:01 +0100)]
refresh (create temporary patch)

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:01:05 +0000 (19:01 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:00:38 +0000 (19:00 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:00:37 +0000 (19:00 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:00:33 +0000 (19:00 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:00:30 +0000 (19:00 +0100)]
pop

12 years agorefresh
Ian Jackson [Thu, 9 Aug 2012 17:51:08 +0000 (18:51 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Thu, 9 Aug 2012 17:51:07 +0000 (18:51 +0100)]
refresh (create temporary patch)

12 years agorefresh
Ian Jackson [Thu, 9 Aug 2012 17:48:16 +0000 (18:48 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Thu, 9 Aug 2012 17:47:00 +0000 (18:47 +0100)]
refresh (create temporary patch)

12 years agorefresh
Ian Jackson [Thu, 9 Aug 2012 17:46:42 +0000 (18:46 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Thu, 9 Aug 2012 17:46:42 +0000 (18:46 +0100)]
refresh (create temporary patch)

12 years agorefresh
Ian Jackson [Thu, 9 Aug 2012 17:44:43 +0000 (18:44 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Thu, 9 Aug 2012 17:44:43 +0000 (18:44 +0100)]
refresh (create temporary patch)

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 17:40:51 +0000 (18:40 +0100)]
pop

12 years agorepair
Ian Jackson [Thu, 9 Aug 2012 17:40:37 +0000 (18:40 +0100)]
repair

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 17:37:25 +0000 (18:37 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 17:37:25 +0000 (18:37 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 17:27:07 +0000 (18:27 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 17:27:07 +0000 (18:27 +0100)]
pop

12 years agoM206: always use homing ("homeing") offsets
Ian Jackson [Wed, 1 Aug 2012 20:12:14 +0000 (21:12 +0100)]
M206: always use homing ("homeing") offsets

Previously the parameters set in M206 would only be used if a G82
command was sent with specific axis home values.  This limits its
usefulness.

Really, we should have a way to adjust the XYZ homing of a machine in
the eeprom.  So as the first stage of this, make M206 affect every
home command.  The values set using M206 are now added to the
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.

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

M206 X-10 would permit the machine to move from the endstop
(considered X=-10) 110mm in the positive X direction (considered
X=+100).

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>
12 years agorefresh
Ian Jackson [Thu, 9 Aug 2012 17:26:38 +0000 (18:26 +0100)]
refresh

12 years agorefresh
Ian Jackson [Thu, 9 Aug 2012 17:26:38 +0000 (18:26 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Thu, 9 Aug 2012 17:25:16 +0000 (18:25 +0100)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Ian Jackson [Thu, 9 Aug 2012 17:25:16 +0000 (18:25 +0100)]
refresh (create temporary patch)

12 years agoRefresh of motion-control-max-min
Ian Jackson [Thu, 9 Aug 2012 17:25:16 +0000 (18:25 +0100)]
Refresh of motion-control-max-min

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 17:24:25 +0000 (18:24 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 17:24:25 +0000 (18:24 +0100)]
pop

12 years agopop (CONFLICT)
Ian Jackson [Thu, 9 Aug 2012 17:17:56 +0000 (18:17 +0100)]
pop (CONFLICT)

12 years agopop (CONFLICT)
Ian Jackson [Thu, 9 Aug 2012 17:17:56 +0000 (18:17 +0100)]
pop (CONFLICT)

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 17:17:56 +0000 (18:17 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 17:17:56 +0000 (18:17 +0100)]
pop

12 years agoM206: always use homing ("homeing") offsets
Ian Jackson [Wed, 1 Aug 2012 20:12:14 +0000 (21:12 +0100)]
M206: always use homing ("homeing") offsets

Previously the parameters set in M206 would only be used if a G82
command was sent with specific axis home values.  This limits its
usefulness.

Really, we should have a way to adjust the XYZ homing of a machine in
the eeprom.  So as the first stage of this, make M206 affect every
home command.  The values set using M206 are now added to the
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.

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

M206 X-10 would permit the machine to move from the endstop
(considered X=-10) 110mm in the positive X direction (considered
X=+100).

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>
12 years agorefresh
Ian Jackson [Thu, 9 Aug 2012 17:15:51 +0000 (18:15 +0100)]
refresh

12 years agorefresh
Ian Jackson [Thu, 9 Aug 2012 17:15:51 +0000 (18:15 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Thu, 9 Aug 2012 17:15:51 +0000 (18:15 +0100)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Ian Jackson [Thu, 9 Aug 2012 17:15:51 +0000 (18:15 +0100)]
refresh (create temporary patch)

12 years agoRefresh of motion-control-max-min
Ian Jackson [Thu, 9 Aug 2012 17:15:51 +0000 (18:15 +0100)]
Refresh of motion-control-max-min

12 years agosoftware_endstops: use *_MIN_POS and *_MAX_POS for arcs
Ian Jackson [Thu, 9 Aug 2012 17:15:32 +0000 (18:15 +0100)]
software_endstops: use *_MIN_POS and *_MAX_POS for arcs

If [XYZ]_HOME_POS and [XYZ]_MIN_POS aren't 0, these corrections are
wrong.  Use the same logic as in Marlin.pde:prepare_move: ie, clamp to
[XYZ]_{MIN,MAX}_POS.

While we're here, put this cut-and-paste code in a function
clamp_to_software_endstops.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agosoftware endstops: use *_MIN_POS and *_MAX_POS for arcs
Ian Jackson [Thu, 9 Aug 2012 17:15:32 +0000 (18:15 +0100)]
software endstops: use *_MIN_POS and *_MAX_POS for arcs

If [XYZ]_HOME_POS and [XYZ]_MIN_POS aren't 0, these corrections are
wrong.  Use the same logic as in Marlin.pde:prepare_move: ie, clamp to
[XYZ]_{MIN,MAX}_POS.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agonew
Ian Jackson [Thu, 9 Aug 2012 17:15:32 +0000 (18:15 +0100)]
new