Marlin upgrade and wrong coordinates January 28, 2019 02:09PM |
Registered: 5 years ago Posts: 3 |
// @section homing //#define NO_MOTION_BEFORE_HOMING // Inhibit movement until all axes have been homed //#define UNKNOWN_Z_NO_RAISE // Don't raise Z (lower the bed) if Z is "unknown." For beds that fall when Z is powered off. #define Z_HOMING_HEIGHT 2 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ... // Be sure you have this distance over your Z_MAX_POS in case. // Direction of endstops when homing; 1=MAX, -1=MIN // :[-1,1] #define X_HOME_DIR 1 #define Y_HOME_DIR -1 #define Z_HOME_DIR -1 // @section machine // The size of the print bed #define X_BED_SIZE (X_MAX_POS-X_MIN_POS) #define Y_BED_SIZE (Y_MAX_POS-Y_MIN_POS) // Travel limits (mm) after homing, corresponding to endstop positions. #define X_MIN_POS 0 #define Y_MIN_POS 0 #define Z_MIN_POS 0 #define X_MAX_POS 200 #define Y_MAX_POS 200 #define Z_MAX_POS 160 /** * Software Endstops * * - Prevent moves outside the set machine bounds. * - Individual axes can be disabled, if desired. * - X and Y only apply to Cartesian robots. * - Use 'M211' to set software endstops on/off or report current state */ // Min software endstops constrain movement within minimum coordinate bounds //#define MIN_SOFTWARE_ENDSTOPS #if ENABLED(MIN_SOFTWARE_ENDSTOPS) #define MIN_SOFTWARE_ENDSTOP_X #define MIN_SOFTWARE_ENDSTOP_Y #define MIN_SOFTWARE_ENDSTOP_Z #endif // Max software endstops constrain movement within maximum coordinate bounds #define MAX_SOFTWARE_ENDSTOPS #if ENABLED(MAX_SOFTWARE_ENDSTOPS) #define MAX_SOFTWARE_ENDSTOP_X #define MAX_SOFTWARE_ENDSTOP_Y #define MAX_SOFTWARE_ENDSTOP_Z #endif #if ENABLED(MIN_SOFTWARE_ENDSTOPS) || ENABLED(MAX_SOFTWARE_ENDSTOPS) //#define SOFT_ENDSTOPS_MENU_ITEM // Enable/Disable software endstops from the LCD #endif
Re: Marlin upgrade and wrong coordinates January 28, 2019 03:26PM |
Registered: 6 years ago Posts: 1,863 |
Re: Marlin upgrade and wrong coordinates January 28, 2019 10:06PM |
Registered: 5 years ago Posts: 3 |
Re: Marlin upgrade and wrong coordinates January 29, 2019 07:32AM |
Registered: 6 years ago Posts: 1,863 |
#define X_BED_SIZE (X_MAX_POS-X_MIN_POS) #define Y_BED_SIZE (Y_MAX_POS-Y_MIN_POS)
#define X_BED_SIZE 200 #define Y_BED_SIZE 200 // Travel limits (mm) after homing, corresponding to endstop positions. #define X_MIN_POS 0 #define Y_MIN_POS 0 #define Z_MIN_POS 0 #define X_MAX_POS X_BED_SIZE #define Y_MAX_POS Y_BED_SIZE #define Z_MAX_POS 160
// Travel limits (mm) after homing, corresponding to endstop positions. #define X_MIN_POS 0 #define Y_MIN_POS 0 #define Z_MIN_POS 0 #define X_MAX_POS 200 #define Y_MAX_POS 200 #define Z_MAX_POS 160 #define X_BED_SIZE (X_MAX_POS-X_MIN_POS) #define Y_BED_SIZE (Y_MAX_POS-Y_MIN_POS)
Re: Marlin upgrade and wrong coordinates January 31, 2019 01:11PM |
Registered: 5 years ago Posts: 3 |