|
|
|
|
148
|
#ifdef PIDTEMP
|
148
|
#ifdef PIDTEMP
|
149
|
//#define PID_DEBUG // Sends debug data to the serial port.
|
149
|
//#define PID_DEBUG // Sends debug data to the serial port.
|
150
|
//#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
|
150
|
//#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
|
|
|
151
|
+ //#define SLOW_PWM_HEATERS // PWM with very low frequency (circa 0.125Hz=8s) and miminum state time of circa 1s usefoul for heater drived by relay
|
151
|
#define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
|
152
|
#define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
|
152
|
// is more then PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
|
153
|
// is more then PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
|
153
|
#define PID_INTEGRAL_DRIVE_MAX PID_MAX //limit for the integral term
|
154
|
#define PID_INTEGRAL_DRIVE_MAX PID_MAX //limit for the integral term
|