Multiple PID defaults

This commit is contained in:
Scott Lahteine 2020-09-24 00:42:04 -05:00
parent 83970fc2dc
commit 9423a57c28
202 changed files with 2321 additions and 3312 deletions

View file

@ -487,19 +487,23 @@
//#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
// Set/get with gcode: M301 E[extruder number, 0-2]
// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
// ET4 Default settings
// #define DEFAULT_Kp 40.00
// #define DEFAULT_Ki 0.70
// #define DEFAULT_Kd 50.00
// ET4 Autotune PID results
#define DEFAULT_Kp 18.62
#define DEFAULT_Ki 1.38
#define DEFAULT_Kd 62.92
#if ENABLED(PID_PARAMS_PER_HOTEND)
// Specify between 1 and HOTENDS values per array.
// If fewer than EXTRUDER values are provided, the last element will be repeated.
#define DEFAULT_Kp_LIST { 18.62, 18.62 }
#define DEFAULT_Ki_LIST { 1.38, 1.38 }
#define DEFAULT_Kd_LIST { 62.92, 62.92 }
#else
// ET4 Default settings
//#define DEFAULT_Kp 40.00
//#define DEFAULT_Ki 0.70
//#define DEFAULT_Kd 50.00
// ET4 Autotune PID results
#define DEFAULT_Kp 18.62
#define DEFAULT_Ki 1.38
#define DEFAULT_Kd 62.92
#endif
#endif // PIDTEMP
//===========================================================================