{X,Y,Z}_{MIN,MAX}_POS are actually in Gcode coordinates.

This commit is contained in:
Johann Rocholl
2012-12-28 16:20:10 -08:00
parent 1c2ecddae4
commit 9e7b5056a0
2 changed files with 11 additions and 13 deletions

View File

@ -275,16 +275,14 @@ const bool Z_ENDSTOPS_INVERTING = false; // set to true to invert the logic of t
#define Y_HOME_DIR 1
#define Z_HOME_DIR 1
#define min_software_endstops false //If true, axis won't move to coordinates less than HOME_POS.
#define max_software_endstops false //If true, axis won't move to coordinates greater than the defined lengths below.
#define min_software_endstops true //If true, axis won't move to coordinates less than *_MIN_POS.
#define max_software_endstops true //If true, axis won't move to coordinates greater than *_MAX_POS.
// Travel limits after homing
// For deltabots, the MAX_POS doesn't have to be exact, it will be recalculated from MANUAL_Z_HOME_POS below.
#define X_MAX_POS 620
#define X_MIN_POS 0
#define Y_MAX_POS 620
#define Y_MIN_POS 0
#define Z_MAX_POS 620
#define X_MAX_POS 90
#define X_MIN_POS -90
#define Y_MAX_POS 90
#define Y_MIN_POS -90
#define Z_MAX_POS MANUAL_Z_HOME_POS
#define Z_MIN_POS 0
#define X_MAX_LENGTH (X_MAX_POS - X_MIN_POS)