Marlin Firmware February 05, 2015 07:05AM |
Registered: 9 years ago Posts: 3 |
Re: Marlin Firmware February 05, 2015 12:43PM |
Registered: 10 years ago Posts: 39 |
Re: Marlin Firmware February 05, 2015 04:13PM |
Registered: 9 years ago Posts: 3 |
Re: Marlin Firmware February 05, 2015 05:09PM |
Registered: 10 years ago Posts: 39 |
Re: Marlin Firmware February 05, 2015 10:06PM |
Registered: 9 years ago Posts: 329 |
Re: Marlin Firmware February 06, 2015 04:07PM |
Registered: 9 years ago Posts: 3 |
Re: Marlin Firmware February 06, 2015 04:49PM |
Registered: 9 years ago Posts: 329 |
//=========================================================================== //============================= PID Settings ================================ //=========================================================================== // PID Tuning Guide here: [reprap.org] // Comment the following line to disable PID and enable bang-bang. #define PIDTEMP #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current #ifdef PIDTEMP //#define PID_DEBUG // Sends debug data to the serial port. //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay //#define PID_PARAMS_PER_EXTRUDER // Uses separate PID parameters for each extruder (useful for mismatched extruders) // Set/get with gcode: M301 E[extruder number, 0-2] #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature // is more then PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max. #define PID_INTEGRAL_DRIVE_MAX PID_MAX //limit for the integral term #define K1 0.95 //smoothing factor within the PID #define PID_dT ((OVERSAMPLENR * 10.0)/(F_CPU / 64.0 / 256.0)) //sampling period of the temperature routine // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it // Ultimaker #define DEFAULT_Kp 22.2 #define DEFAULT_Ki 1.08 #define DEFAULT_Kd 114 // MakerGear // #define DEFAULT_Kp 7.0 // #define DEFAULT_Ki 0.1 // #define DEFAULT_Kd 12 // Mendel Parts V9 on 12V // #define DEFAULT_Kp 63.0 // #define DEFAULT_Ki 2.25 // #define DEFAULT_Kd 440 #endif // PIDTEMP
Re: Marlin Firmware February 13, 2015 08:36AM |
Registered: 9 years ago Posts: 1 |