From e88becbad9e2d194bb2e54bc45887ee4c62e8b69 Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Sat, 13 Aug 2011 22:21:10 +0200 Subject: [PATCH] Config: don't enable soft axis limits by default. This is confusing for newbies when their host of choice tries to move into negative space. You know ... "Just installed Teacup and it's trash, because motors don't move!" --- config.gen3.h | 17 ++++++++--------- config.gen6.h | 17 ++++++++--------- config.gen7.h | 13 +++++-------- config.h.dist | 16 ++++++++-------- config.ramps-v1.2.h | 12 ++++++------ config.ramps-v1.3.h | 17 ++++++++--------- 6 files changed, 43 insertions(+), 49 deletions(-) diff --git a/config.gen3.h b/config.gen3.h index 25f6d68..2d60805 100644 --- a/config.gen3.h +++ b/config.gen3.h @@ -84,20 +84,19 @@ /// this is how many steps to suck back the filament by when we stop. set to zero to disable #define E_STARTSTOP_STEPS 20 - /** - Soft axis limits, in mm - undefine if you don't want to use them + Soft axis limits, in mm. + Define them to your machine's size relative to what your host considers to be the origin. */ -#define X_MIN 0.0 -#define X_MAX 200.0 +//#define X_MIN 0.0 +//#define X_MAX 200.0 -#define Y_MIN 0.0 -#define Y_MAX 200.0 +//#define Y_MIN 0.0 +//#define Y_MAX 200.0 -#define Z_MIN 0.0 -#define Z_MAX 140.0 +//#define Z_MIN 0.0 +//#define Z_MAX 140.0 /** \def E_ABSOLUTE Some G-Code creators produce relative length commands for the extruder, others absolute ones. G-Code using absolute lengths can be recognized when there are G92 E0 commands from time to time. If you have G92 E0 in your G-Code, define this flag. diff --git a/config.gen6.h b/config.gen6.h index 80dc444..23a9098 100644 --- a/config.gen6.h +++ b/config.gen6.h @@ -84,20 +84,19 @@ /// this is how many steps to suck back the filament by when we stop. set to zero to disable #define E_STARTSTOP_STEPS 20 - /** - Soft axis limits, in mm - undefine if you don't want to use them + Soft axis limits, in mm. + Define them to your machine's size relative to what your host considers to be the origin. */ -#define X_MIN 0.0 -#define X_MAX 200.0 +//#define X_MIN 0.0 +//#define X_MAX 200.0 -#define Y_MIN 0.0 -#define Y_MAX 200.0 +//#define Y_MIN 0.0 +//#define Y_MAX 200.0 -#define Z_MIN 0.0 -#define Z_MAX 140.0 +//#define Z_MIN 0.0 +//#define Z_MAX 140.0 /** \def E_ABSOLUTE Some G-Code creators produce relative length commands for the extruder, others absolute ones. G-Code using absolute lengths can be recognized when there are G92 E0 commands from time to time. If you have G92 E0 in your G-Code, define this flag. diff --git a/config.gen7.h b/config.gen7.h index 1183229..7269b64 100644 --- a/config.gen7.h +++ b/config.gen7.h @@ -89,20 +89,17 @@ #define E_STARTSTOP_STEPS 289 /** - Soft axis limits, in mm - undefine if you don't want to use them + Soft axis limits, in mm. + Define them to your machine's size relative to what your host considers to be the origin. */ -#define X_MIN 0.0 -#define X_MAX 170.0 +//#define X_MIN 0.0 //#define X_MAX 200.0 -#define Y_MIN 0.0 -#define Y_MAX 150.0 +//#define Y_MIN 0.0 //#define Y_MAX 200.0 -#define Z_MIN 0.0 -#define Z_MAX 100.0 +//#define Z_MIN 0.0 //#define Z_MAX 140.0 /** \def E_ABSOLUTE diff --git a/config.h.dist b/config.h.dist index 089757d..ab81caa 100644 --- a/config.h.dist +++ b/config.h.dist @@ -84,18 +84,18 @@ #define E_STARTSTOP_STEPS 20 /** - Soft axis limits, in mm - undefine if you don't want to use them + Soft axis limits, in mm. + Define them to your machine's size relative to what your host considers to be the origin. */ -#define X_MIN 0.0 -#define X_MAX 200.0 +//#define X_MIN 0.0 +//#define X_MAX 200.0 -#define Y_MIN 0.0 -#define Y_MAX 200.0 +//#define Y_MIN 0.0 +//#define Y_MAX 200.0 -#define Z_MIN 0.0 -#define Z_MAX 140.0 +//#define Z_MIN 0.0 +//#define Z_MAX 140.0 /** \def E_ABSOLUTE Some G-Code creators produce relative length commands for the extruder, others absolute ones. G-Code using absolute lengths can be recognized when there are G92 E0 commands from time to time. If you have G92 E0 in your G-Code, define this flag. diff --git a/config.ramps-v1.2.h b/config.ramps-v1.2.h index d267419..5bd3bf7 100644 --- a/config.ramps-v1.2.h +++ b/config.ramps-v1.2.h @@ -95,14 +95,14 @@ undefine if you don't want to use them */ -#define X_MIN 0.0 -#define X_MAX 200.0 +//#define X_MIN 0.0 +//#define X_MAX 200.0 -#define Y_MIN 0.0 -#define Y_MAX 200.0 +//#define Y_MIN 0.0 +//#define Y_MAX 200.0 -#define Z_MIN 0.0 -#define Z_MAX 140.0 +//#define Z_MIN 0.0 +//#define Z_MAX 140.0 /** \def E_ABSOLUTE Some G-Code creators produce relative length commands for the extruder, others absolute ones. G-Code using absolute lengths can be recognized when there are G92 E0 commands from time to time. If you have G92 E0 in your G-Code, define this flag. diff --git a/config.ramps-v1.3.h b/config.ramps-v1.3.h index 38faeca..5b4b4a9 100644 --- a/config.ramps-v1.3.h +++ b/config.ramps-v1.3.h @@ -89,20 +89,19 @@ /// this is how many steps to suck back the filament by when we stop. set to zero to disable #define E_STARTSTOP_STEPS 0 - /** - Soft axis limits, in mm - undefine if you don't want to use them + Soft axis limits, in mm. + Define them to your machine's size relative to what your host considers to be the origin. */ -#define X_MIN 0.0 -#define X_MAX 200.0 +//#define X_MIN 0.0 +//#define X_MAX 200.0 -#define Y_MIN 0.0 -#define Y_MAX 200.0 +//#define Y_MIN 0.0 +//#define Y_MAX 200.0 -#define Z_MIN 0.0 -#define Z_MAX 140.0 +//#define Z_MIN 0.0 +//#define Z_MAX 140.0 /** \def E_ABSOLUTE Some G-Code creators produce relative length commands for the extruder, others absolute ones. G-Code using absolute lengths can be recognized when there are G92 E0 commands from time to time. If you have G92 E0 in your G-Code, define this flag.