From 701756af111422d5d501c3b89f67ef794affd0c8 Mon Sep 17 00:00:00 2001 From: abe yoshimasa Date: Sat, 17 Dec 2022 18:43:20 +0900 Subject: [PATCH 1/2] add setting --- Marlin/Configuration.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 5c93a13ae7cc..82dbd5fc7a7d 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -1071,7 +1071,7 @@ // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup). #define X_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop. #define Y_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop. -#define Z_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop. +#define Z_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop. #define I_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop. #define J_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop. #define K_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop. @@ -1135,14 +1135,14 @@ * Override with M92 * X, Y, Z [, I [, J [, K...]]], E0 [, E1[, E2...]] */ -#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 80, 80 } +#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 80/9, 80 } /** * Default Max Feed Rate (linear=mm/s, rotational=°/s) * Override with M203 * X, Y, Z [, I [, J [, K...]]], E0 [, E1[, E2...]] */ -#define DEFAULT_MAX_FEEDRATE { 300, 300, 300, 300 } +#define DEFAULT_MAX_FEEDRATE { 300, 300, 2700, 300 } //#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2 #if ENABLED(LIMITED_MAX_FR_EDITING) @@ -1607,8 +1607,8 @@ // @section machine // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way. -#define INVERT_X_DIR true -#define INVERT_Y_DIR true +#define INVERT_X_DIR false +#define INVERT_Y_DIR false #define INVERT_Z_DIR true #define INVERT_I_DIR true //#define INVERT_J_DIR false @@ -1641,7 +1641,7 @@ */ //#define Z_IDLE_HEIGHT Z_HOME_POS -//#define Z_HOMING_HEIGHT 4 // (mm) Minimal Z height before homing (G28) for Z clearance above the bed, clamps, ... +#define Z_HOMING_HEIGHT 0 // (mm) Minimal Z height before homing (G28) for Z clearance above the bed, clamps, ... // Be sure to have this much clearance over your Z_MAX_POS to prevent grinding. //#define Z_AFTER_HOMING 10 // (mm) Height to move to after homing Z From ea39b3458b4010ae404c323206deb919f3e54926 Mon Sep 17 00:00:00 2001 From: abe yoshimasa Date: Tue, 28 Feb 2023 14:08:39 +0900 Subject: [PATCH 2/2] fix move range --- Marlin/Configuration.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 82dbd5fc7a7d..1d8c18153662 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -1135,18 +1135,18 @@ * Override with M92 * X, Y, Z [, I [, J [, K...]]], E0 [, E1[, E2...]] */ -#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 80/9, 80 } +#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 4.44444444, 80 } /** * Default Max Feed Rate (linear=mm/s, rotational=°/s) * Override with M203 * X, Y, Z [, I [, J [, K...]]], E0 [, E1[, E2...]] */ -#define DEFAULT_MAX_FEEDRATE { 300, 300, 2700, 300 } +#define DEFAULT_MAX_FEEDRATE { 900, 900, 3000, 300 } //#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2 #if ENABLED(LIMITED_MAX_FR_EDITING) - #define MAX_FEEDRATE_EDIT_VALUES { 600, 600, 600, 600 } // ...or, set your own edit limits + #define MAX_FEEDRATE_EDIT_VALUES { 1800, 1800, 6000, 600 } // ...or, set your own edit limits #endif /** @@ -1155,11 +1155,11 @@ * Override with M201 * X, Y, Z [, I [, J [, K...]]], E0 [, E1[, E2...]] */ -#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 3000, 3000 } +#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 300000, 3000 } //#define LIMITED_MAX_ACCEL_EDITING // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2 #if ENABLED(LIMITED_MAX_ACCEL_EDITING) - #define MAX_ACCEL_EDIT_VALUES { 6000, 6000, 6000, 6000 } // ...or, set your own edit limits + #define MAX_ACCEL_EDIT_VALUES { 6000, 6000, 600000, 6000 } // ...or, set your own edit limits #endif /** @@ -1661,8 +1661,8 @@ // @section machine // The size of the printable area -#define X_BED_SIZE 200 -#define Y_BED_SIZE 200 +#define X_BED_SIZE 400 +#define Y_BED_SIZE 400 // Travel limits (linear=mm, rotational=°) after homing, corresponding to endstop positions. #define X_MIN_POS 0 @@ -1670,7 +1670,7 @@ #define Z_MIN_POS 0 #define X_MAX_POS X_BED_SIZE #define Y_MAX_POS Y_BED_SIZE -#define Z_MAX_POS 200 +#define Z_MAX_POS 3600 #define I_MIN_POS 0 #define I_MAX_POS 200 //#define J_MIN_POS 0 @@ -2052,7 +2052,7 @@ #endif // Homing speeds (linear=mm/min, rotational=°/min) -#define HOMING_FEEDRATE_MM_M { (50*60), (50*60), (50*60), (50*60) } +#define HOMING_FEEDRATE_MM_M { (50*60), (50*60), (50*600), (50*60) } // Validate that endstops are triggered on homing moves #define VALIDATE_HOMING_ENDSTOPS