Browse Source

Update Configuration.h

Rerouter 9 years ago
parent
commit
5f5d87cad3

+ 1
- 3
Marlin/Configuration.h View File

288
 // Comment the following line to disable PID and enable bang-bang.
288
 // Comment the following line to disable PID and enable bang-bang.
289
 #define PIDTEMP
289
 #define PIDTEMP
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
291
-#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
291
+#define PID_MAX BANG_MAX // limits current to nozzle while PID is active); 255=full current
292
 #if ENABLED(PIDTEMP)
292
 #if ENABLED(PIDTEMP)
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
296
   //#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
296
   //#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
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
299
-  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
300
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
301
   #define K1 0.95 //smoothing factor within the PID
299
   #define K1 0.95 //smoothing factor within the PID
302
 
300
 
303
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
301
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it

+ 1
- 3
Marlin/example_configurations/Cartesio/Configuration.h View File

289
 // Comment the following line to disable PID and enable bang-bang.
289
 // Comment the following line to disable PID and enable bang-bang.
290
 #define PIDTEMP
290
 #define PIDTEMP
291
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
291
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
292
-#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
292
+#define PID_MAX BANG_MAX // limits current to nozzle while PID is active; 255=full current
293
 #if ENABLED(PIDTEMP)
293
 #if ENABLED(PIDTEMP)
294
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
294
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
295
   //#define PID_DEBUG // Sends debug data to the serial port.
295
   //#define PID_DEBUG // Sends debug data to the serial port.
297
   //#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
297
   //#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
298
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
298
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
299
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
299
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
300
-  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
301
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
302
   #define K1 0.95 //smoothing factor within the PID
300
   #define K1 0.95 //smoothing factor within the PID
303
 
301
 
304
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
302
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it

+ 1
- 3
Marlin/example_configurations/Felix/Configuration.h View File

288
 // Comment the following line to disable PID and enable bang-bang.
288
 // Comment the following line to disable PID and enable bang-bang.
289
 #define PIDTEMP
289
 #define PIDTEMP
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
291
-#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
291
+#define PID_MAX BANG_MAX // limits current to nozzle while PID is active; 255=full current
292
 #if ENABLED(PIDTEMP)
292
 #if ENABLED(PIDTEMP)
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
296
   //#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
296
   //#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
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
299
-  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
300
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
301
   #define K1 0.95 //smoothing factor within the PID
299
   #define K1 0.95 //smoothing factor within the PID
302
 
300
 
303
   // Felix 2.0+ electronics with v4 Hotend
301
   // Felix 2.0+ electronics with v4 Hotend

+ 1
- 3
Marlin/example_configurations/Felix/DUAL/Configuration.h View File

288
 // Comment the following line to disable PID and enable bang-bang.
288
 // Comment the following line to disable PID and enable bang-bang.
289
 #define PIDTEMP
289
 #define PIDTEMP
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
291
-#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
291
+#define PID_MAX BANG_MAX // limits current to nozzle while PID is active; 255=full current
292
 #if ENABLED(PIDTEMP)
292
 #if ENABLED(PIDTEMP)
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
296
   //#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
296
   //#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
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
299
-  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
300
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
301
   #define K1 0.95 //smoothing factor within the PID
299
   #define K1 0.95 //smoothing factor within the PID
302
 
300
 
303
   // Felix 2.0+ electronics with v4 Hotend
301
   // Felix 2.0+ electronics with v4 Hotend

+ 1
- 3
Marlin/example_configurations/Hephestos/Configuration.h View File

291
 // Comment the following line to disable PID and enable bang-bang.
291
 // Comment the following line to disable PID and enable bang-bang.
292
 #define PIDTEMP
292
 #define PIDTEMP
293
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
293
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
294
-#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
294
+#define PID_MAX BANG_MAX // limits current to nozzle while PID is active; 255=full current
295
 #if ENABLED(PIDTEMP)
295
 #if ENABLED(PIDTEMP)
296
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
296
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
297
   //#define PID_DEBUG // Sends debug data to the serial port.
297
   //#define PID_DEBUG // Sends debug data to the serial port.
299
   //#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
299
   //#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
300
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
300
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
301
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
301
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
302
-  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
303
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
304
   #define K1 0.95 //smoothing factor within the PID
302
   #define K1 0.95 //smoothing factor within the PID
305
 
303
 
306
   // Hephestos i3
304
   // Hephestos i3

+ 1
- 3
Marlin/example_configurations/Hephestos_2/Configuration.h View File

288
 // Comment the following line to disable PID and enable bang-bang.
288
 // Comment the following line to disable PID and enable bang-bang.
289
 #define PIDTEMP
289
 #define PIDTEMP
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
291
-#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
291
+#define PID_MAX BANG_MAX // limits current to nozzle while PID is active; 255=full current
292
 #if ENABLED(PIDTEMP)
292
 #if ENABLED(PIDTEMP)
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
296
   //#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
296
   //#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
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
299
-  #define PID_FUNCTIONAL_RANGE 250  // If the temperature difference between the target temperature and the actual temperature
300
-                                    // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
301
   #define K1 0.95 //smoothing factor within the PID
299
   #define K1 0.95 //smoothing factor within the PID
302
 
300
 
303
   // Tuned PID values using M303
301
   // Tuned PID values using M303

+ 1
- 3
Marlin/example_configurations/K8200/Configuration.h View File

295
 // Comment the following line to disable PID and enable bang-bang.
295
 // Comment the following line to disable PID and enable bang-bang.
296
 #define PIDTEMP
296
 #define PIDTEMP
297
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
297
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
298
-#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
298
+#define PID_MAX BANG_MAX // limits current to nozzle while PID is active; 255=full current
299
 #if ENABLED(PIDTEMP)
299
 #if ENABLED(PIDTEMP)
300
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
300
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
301
   //#define PID_DEBUG // Sends debug data to the serial port.
301
   //#define PID_DEBUG // Sends debug data to the serial port.
303
   //#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
303
   //#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
304
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
304
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
305
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
305
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
306
-  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
307
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
308
   #define K1 0.95 //smoothing factor within the PID
306
   #define K1 0.95 //smoothing factor within the PID
309
 
307
 
310
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
308
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it

+ 1
- 3
Marlin/example_configurations/K8400/Configuration.h View File

288
 // Comment the following line to disable PID and enable bang-bang.
288
 // Comment the following line to disable PID and enable bang-bang.
289
 #define PIDTEMP
289
 #define PIDTEMP
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
291
-#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
291
+#define PID_MAX BANG_MAX // limits current to nozzle while PID is active; 255=full current
292
 #if ENABLED(PIDTEMP)
292
 #if ENABLED(PIDTEMP)
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
296
   //#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
296
   //#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
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
299
-  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
300
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
301
   #define K1 0.95 //smoothing factor within the PID
299
   #define K1 0.95 //smoothing factor within the PID
302
 
300
 
303
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
301
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it

+ 1
- 3
Marlin/example_configurations/K8400/Dual-head/Configuration.h View File

288
 // Comment the following line to disable PID and enable bang-bang.
288
 // Comment the following line to disable PID and enable bang-bang.
289
 #define PIDTEMP
289
 #define PIDTEMP
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
291
-#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
291
+#define PID_MAX BANG_MAX // limits current to nozzle while PID is active; 255=full current
292
 #if ENABLED(PIDTEMP)
292
 #if ENABLED(PIDTEMP)
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
296
   //#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
296
   //#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
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
299
-  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
300
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
301
   #define K1 0.95 //smoothing factor within the PID
299
   #define K1 0.95 //smoothing factor within the PID
302
 
300
 
303
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
301
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it

+ 1
- 3
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h View File

288
 // Comment the following line to disable PID and enable bang-bang.
288
 // Comment the following line to disable PID and enable bang-bang.
289
 #define PIDTEMP
289
 #define PIDTEMP
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
291
-#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
291
+#define PID_MAX BANG_MAX // limits current to nozzle while PID is active; 255=full current
292
 #if ENABLED(PIDTEMP)
292
 #if ENABLED(PIDTEMP)
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
296
   //#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
296
   //#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
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
299
-  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
300
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
301
   #define K1 0.95 //smoothing factor within the PID
299
   #define K1 0.95 //smoothing factor within the PID
302
 
300
 
303
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
301
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it

+ 1
- 3
Marlin/example_configurations/RigidBot/Configuration.h View File

291
 // Comment the following line to disable PID and enable bang-bang.
291
 // Comment the following line to disable PID and enable bang-bang.
292
 #define PIDTEMP
292
 #define PIDTEMP
293
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
293
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
294
-#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
294
+#define PID_MAX BANG_MAX // limits current to nozzle while PID is active; 255=full current
295
 #if ENABLED(PIDTEMP)
295
 #if ENABLED(PIDTEMP)
296
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
296
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
297
   //#define PID_DEBUG // Sends debug data to the serial port.
297
   //#define PID_DEBUG // Sends debug data to the serial port.
299
   //#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
299
   //#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
300
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
300
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
301
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
301
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
302
-  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
303
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
304
   #define K1 0.95 //smoothing factor within the PID
302
   #define K1 0.95 //smoothing factor within the PID
305
 
303
 
306
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
304
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it

+ 1
- 3
Marlin/example_configurations/SCARA/Configuration.h View File

320
 // Comment the following line to disable PID and enable bang-bang.
320
 // Comment the following line to disable PID and enable bang-bang.
321
 #define PIDTEMP
321
 #define PIDTEMP
322
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
322
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
323
-#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
323
+#define PID_MAX BANG_MAX // limits current to nozzle while PID is active; 255=full current
324
 #if ENABLED(PIDTEMP)
324
 #if ENABLED(PIDTEMP)
325
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
325
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
326
   //#define PID_DEBUG // Sends debug data to the serial port.
326
   //#define PID_DEBUG // Sends debug data to the serial port.
328
   //#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
328
   //#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
329
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
329
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
330
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
330
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
331
-  #define PID_FUNCTIONAL_RANGE 20 // If the temperature difference between the target temperature and the actual temperature
332
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
333
   #define K1 0.95 //smoothing factor within the PID
331
   #define K1 0.95 //smoothing factor within the PID
334
 
332
 
335
   // Merlin Hotend: From Autotune
333
   // Merlin Hotend: From Autotune

+ 1
- 3
Marlin/example_configurations/TAZ4/Configuration.h View File

288
 // Comment the following line to disable PID and enable bang-bang.
288
 // Comment the following line to disable PID and enable bang-bang.
289
 #define PIDTEMP
289
 #define PIDTEMP
290
 #define BANG_MAX 70 // limits current to nozzle while in bang-bang mode; 255=full current
290
 #define BANG_MAX 70 // limits current to nozzle while in bang-bang mode; 255=full current
291
-#define PID_MAX 74 // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
291
+#define PID_MAX 74 // limits current to nozzle while PID is active; 255=full current
292
 #if ENABLED(PIDTEMP)
292
 #if ENABLED(PIDTEMP)
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
296
   //#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
296
   //#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
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
299
-  #define PID_FUNCTIONAL_RANGE 16 // If the temperature difference between the target temperature and the actual temperature
300
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
301
   #define K1 0.95 //smoothing factor within the PID
299
   #define K1 0.95 //smoothing factor within the PID
302
 
300
 
303
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
301
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it

+ 1
- 3
Marlin/example_configurations/WITBOX/Configuration.h View File

291
 // Comment the following line to disable PID and enable bang-bang.
291
 // Comment the following line to disable PID and enable bang-bang.
292
 #define PIDTEMP
292
 #define PIDTEMP
293
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
293
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
294
-#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
294
+#define PID_MAX BANG_MAX // limits current to nozzle while PID is active; 255=full current
295
 #if ENABLED(PIDTEMP)
295
 #if ENABLED(PIDTEMP)
296
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
296
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
297
   //#define PID_DEBUG // Sends debug data to the serial port.
297
   //#define PID_DEBUG // Sends debug data to the serial port.
299
   //#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
299
   //#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
300
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
300
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
301
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
301
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
302
-  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
303
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
304
   #define K1 0.95 //smoothing factor within the PID
302
   #define K1 0.95 //smoothing factor within the PID
305
 
303
 
306
   // Witbox
304
   // Witbox

+ 1
- 3
Marlin/example_configurations/adafruit/ST7565/Configuration.h View File

288
 // Comment the following line to disable PID and enable bang-bang.
288
 // Comment the following line to disable PID and enable bang-bang.
289
 #define PIDTEMP
289
 #define PIDTEMP
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
291
-#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
291
+#define PID_MAX BANG_MAX // limits current to nozzle while PID is active; 255=full current
292
 #if ENABLED(PIDTEMP)
292
 #if ENABLED(PIDTEMP)
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
296
   //#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
296
   //#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
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
299
-  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
300
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
301
   #define K1 0.95 //smoothing factor within the PID
299
   #define K1 0.95 //smoothing factor within the PID
302
 
300
 
303
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
301
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it

+ 1
- 3
Marlin/example_configurations/delta/biv2.5/Configuration.h View File

288
 // Comment the following line to disable PID and enable bang-bang.
288
 // Comment the following line to disable PID and enable bang-bang.
289
 #define PIDTEMP
289
 #define PIDTEMP
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
291
-#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
291
+#define PID_MAX BANG_MAX // limits current to nozzle while PID is active; 255=full current
292
 #if ENABLED(PIDTEMP)
292
 #if ENABLED(PIDTEMP)
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
296
   //#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
296
   //#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
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
299
-  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
300
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
301
   #define K1 0.95 //smoothing factor within the PID
299
   #define K1 0.95 //smoothing factor within the PID
302
 
300
 
303
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
301
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it

+ 1
- 3
Marlin/example_configurations/delta/generic/Configuration.h View File

288
 // Comment the following line to disable PID and enable bang-bang.
288
 // Comment the following line to disable PID and enable bang-bang.
289
 #define PIDTEMP
289
 #define PIDTEMP
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
291
-#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
291
+#define PID_MAX BANG_MAX // limits current to nozzle while PID is active; 255=full current
292
 #if ENABLED(PIDTEMP)
292
 #if ENABLED(PIDTEMP)
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
296
   //#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
296
   //#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
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
299
-  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
300
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
301
   #define K1 0.95 //smoothing factor within the PID
299
   #define K1 0.95 //smoothing factor within the PID
302
 
300
 
303
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
301
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it

+ 1
- 3
Marlin/example_configurations/delta/kossel_mini/Configuration.h View File

288
 // Comment the following line to disable PID and enable bang-bang.
288
 // Comment the following line to disable PID and enable bang-bang.
289
 #define PIDTEMP
289
 #define PIDTEMP
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
291
-#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
291
+#define PID_MAX BANG_MAX // limits current to nozzle while PID is active; 255=full current
292
 #if ENABLED(PIDTEMP)
292
 #if ENABLED(PIDTEMP)
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
296
   //#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
296
   //#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
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
299
-  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
300
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
301
   #define K1 0.95 //smoothing factor within the PID
299
   #define K1 0.95 //smoothing factor within the PID
302
 
300
 
303
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
301
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it

+ 1
- 3
Marlin/example_configurations/delta/kossel_pro/Configuration.h View File

294
 // Comment the following line to disable PID and enable bang-bang.
294
 // Comment the following line to disable PID and enable bang-bang.
295
 #define PIDTEMP
295
 #define PIDTEMP
296
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
296
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
297
-#define PID_MAX  125 // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
297
+#define PID_MAX  125 // limits current to nozzle while PID is active; 255=full current
298
 #if ENABLED(PIDTEMP)
298
 #if ENABLED(PIDTEMP)
299
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
299
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
300
   //#define PID_DEBUG // Sends debug data to the serial port.
300
   //#define PID_DEBUG // Sends debug data to the serial port.
302
   //#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
302
   //#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
303
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
303
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
304
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
304
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
305
-  #define PID_FUNCTIONAL_RANGE 50 // If the temperature difference between the target temperature and the actual temperature
306
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
307
   #define K1 0.95 //smoothing factor within the PID
305
   #define K1 0.95 //smoothing factor within the PID
308
 
306
 
309
   // Kossel Pro
307
   // Kossel Pro

+ 1
- 3
Marlin/example_configurations/delta/kossel_xl/Configuration.h View File

281
 // Comment the following line to disable PID and enable bang-bang.
281
 // Comment the following line to disable PID and enable bang-bang.
282
 #define PIDTEMP
282
 #define PIDTEMP
283
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
283
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
284
-#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
284
+#define PID_MAX BANG_MAX // limits current to nozzle while PID is active; 255=full current
285
 #if ENABLED(PIDTEMP)
285
 #if ENABLED(PIDTEMP)
286
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
286
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
287
   //#define PID_DEBUG // Sends debug data to the serial port.
287
   //#define PID_DEBUG // Sends debug data to the serial port.
289
   //#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
289
   //#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
290
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
290
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
291
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
291
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
292
-  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
293
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
294
   #define K1 0.95 //smoothing factor within the PID
292
   #define K1 0.95 //smoothing factor within the PID
295
 
293
 
296
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
294
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it

+ 1
- 3
Marlin/example_configurations/makibox/Configuration.h View File

288
 // Comment the following line to disable PID and enable bang-bang.
288
 // Comment the following line to disable PID and enable bang-bang.
289
 #define PIDTEMP
289
 #define PIDTEMP
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
291
-#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
291
+#define PID_MAX BANG_MAX // limits current to nozzle while PID is active; 255=full current
292
 #if ENABLED(PIDTEMP)
292
 #if ENABLED(PIDTEMP)
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
296
   //#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
296
   //#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
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
299
-  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
300
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
301
   #define K1 0.95 //smoothing factor within the PID
299
   #define K1 0.95 //smoothing factor within the PID
302
 
300
 
303
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
301
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it

+ 1
- 3
Marlin/example_configurations/tvrrug/Round2/Configuration.h View File

288
 // Comment the following line to disable PID and enable bang-bang.
288
 // Comment the following line to disable PID and enable bang-bang.
289
 #define PIDTEMP
289
 #define PIDTEMP
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
290
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
291
-#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
291
+#define PID_MAX BANG_MAX // limits current to nozzle while PID is active; 255=full current
292
 #if ENABLED(PIDTEMP)
292
 #if ENABLED(PIDTEMP)
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
293
   //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
294
   //#define PID_DEBUG // Sends debug data to the serial port.
296
   //#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
296
   //#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
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
297
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
298
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
299
-  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
300
-                                  // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
301
   #define K1 0.95 //smoothing factor within the PID
299
   #define K1 0.95 //smoothing factor within the PID
302
 
300
 
303
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
301
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it

Loading…
Cancel
Save