From 94f57294507f65bbce3e84a9994b816c4a8458c8 Mon Sep 17 00:00:00 2001 From: Luiz Borges Date: Mon, 27 Feb 2023 17:15:27 -0300 Subject: [PATCH] Adiciona Input Shaping altera corrente dos motores Aumenta corrente do Y para 800 e adiciona monitoramento de corrente. Reduz os buffers para caber o Input Shaping. --- Marlin/Configuration.h | 2 +- Marlin/Configuration_adv.h | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 3fabefb575f3f..7f44ff97f3b4f 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -1307,7 +1307,7 @@ * M204 T Travel Acceleration */ #define DEFAULT_ACCELERATION 1000 // X, Y, Z and E acceleration for printing moves -#define DEFAULT_RETRACT_ACCELERATION 500 // E acceleration for retracts +#define DEFAULT_RETRACT_ACCELERATION 1000 // E acceleration for retracts #define DEFAULT_TRAVEL_ACCELERATION 1000 // X, Y, Z acceleration for travel (non printing) moves /** diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index 7e9f02a4a30c6..624365b05f5be 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -1202,8 +1202,8 @@ * X<1> Set the given parameters only for the X axis. * Y<1> Set the given parameters only for the Y axis. */ -//#define INPUT_SHAPING_X -//#define INPUT_SHAPING_Y +#define INPUT_SHAPING_X +#define INPUT_SHAPING_Y #if ANY(INPUT_SHAPING_X, INPUT_SHAPING_Y) #if ENABLED(INPUT_SHAPING_X) #define SHAPING_FREQ_X 40 // (Hz) The default dominant resonant frequency on the X axis. @@ -1215,7 +1215,7 @@ #endif //#define SHAPING_MIN_FREQ 20 // By default the minimum of the shaping frequencies. Override to affect SRAM usage. //#define SHAPING_MAX_STEPRATE 10000 // By default the maximum total step rate of the shaped axes. Override to affect SRAM usage. - //#define SHAPING_MENU // Add a menu to the LCD to set shaping parameters. + #define SHAPING_MENU // Add a menu to the LCD to set shaping parameters. #endif // @section motion @@ -2604,14 +2604,14 @@ #elif HAS_MEDIA #define BLOCK_BUFFER_SIZE 32 #else - #define BLOCK_BUFFER_SIZE 64 + #define BLOCK_BUFFER_SIZE 32 #endif // @section serial // The ASCII buffer for serial input #define MAX_CMD_SIZE 96 -#define BUFSIZE 32 +#define BUFSIZE 16 // Transmission to Host Buffer Size // To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. @@ -2993,7 +2993,7 @@ #endif #if AXIS_IS_TMC_CONFIG(Y) - #define Y_CURRENT 750 + #define Y_CURRENT 800 #define Y_CURRENT_HOME Y_CURRENT #define Y_MICROSTEPS 16 #define Y_RSENSE 0.11 @@ -3342,7 +3342,7 @@ * M912 - Clear stepper driver overtemperature pre-warn condition flag. * M122 - Report driver parameters (Requires TMC_DEBUG) */ - //#define MONITOR_DRIVER_STATUS + #define MONITOR_DRIVER_STATUS #if ENABLED(MONITOR_DRIVER_STATUS) #define CURRENT_STEP_DOWN 50 // [mA]