|
@@ -486,24 +486,17 @@
|
486
|
486
|
//#define PID_AUTOTUNE_MENU // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
|
487
|
487
|
//#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
|
488
|
488
|
// Set/get with gcode: M301 E[extruder number, 0-2]
|
489
|
|
-
|
490
|
|
- // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
|
491
|
|
-
|
492
|
|
- // Ultimaker
|
493
|
|
- #define DEFAULT_Kp 22.2
|
494
|
|
- #define DEFAULT_Ki 1.08
|
495
|
|
- #define DEFAULT_Kd 114
|
496
|
|
-
|
497
|
|
- // MakerGear
|
498
|
|
- //#define DEFAULT_Kp 7.0
|
499
|
|
- //#define DEFAULT_Ki 0.1
|
500
|
|
- //#define DEFAULT_Kd 12
|
501
|
|
-
|
502
|
|
- // Mendel Parts V9 on 12V
|
503
|
|
- //#define DEFAULT_Kp 63.0
|
504
|
|
- //#define DEFAULT_Ki 2.25
|
505
|
|
- //#define DEFAULT_Kd 440
|
506
|
|
-
|
|
489
|
+ #if ENABLED(PID_PARAMS_PER_HOTEND)
|
|
490
|
+ // Specify between 1 and HOTENDS values per array.
|
|
491
|
+ // If fewer than EXTRUDER values are provided, the last element will be repeated.
|
|
492
|
+ #define DEFAULT_Kp_LIST { 22.20, 20.0 }
|
|
493
|
+ #define DEFAULT_Ki_LIST { 1.08, 1.0 }
|
|
494
|
+ #define DEFAULT_Kd_LIST { 114.00, 112.0 }
|
|
495
|
+ #else
|
|
496
|
+ #define DEFAULT_Kp 22.20
|
|
497
|
+ #define DEFAULT_Ki 1.08
|
|
498
|
+ #define DEFAULT_Kd 114.00
|
|
499
|
+ #endif
|
507
|
500
|
#endif // PIDTEMP
|
508
|
501
|
|
509
|
502
|
//===========================================================================
|