Browse Source

Formalize some dependencies on PIDTEMPBED

Scott Lahteine 8 years ago
parent
commit
53cc6cca46
34 changed files with 116 additions and 84 deletions
  1. 2
    2
      Marlin/Configuration.h
  2. 5
    3
      Marlin/Configuration_adv.h
  3. 2
    2
      Marlin/example_configurations/Felix/Configuration.h
  4. 5
    3
      Marlin/example_configurations/Felix/Configuration_adv.h
  5. 2
    2
      Marlin/example_configurations/Hephestos/Configuration.h
  6. 5
    3
      Marlin/example_configurations/Hephestos/Configuration_adv.h
  7. 2
    2
      Marlin/example_configurations/Hephestos_2/Configuration.h
  8. 5
    3
      Marlin/example_configurations/Hephestos_2/Configuration_adv.h
  9. 2
    2
      Marlin/example_configurations/K8200/Configuration.h
  10. 5
    3
      Marlin/example_configurations/K8200/Configuration_adv.h
  11. 2
    2
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  12. 2
    2
      Marlin/example_configurations/RigidBot/Configuration.h
  13. 5
    3
      Marlin/example_configurations/RigidBot/Configuration_adv.h
  14. 2
    2
      Marlin/example_configurations/SCARA/Configuration.h
  15. 5
    3
      Marlin/example_configurations/SCARA/Configuration_adv.h
  16. 2
    2
      Marlin/example_configurations/TAZ4/Configuration.h
  17. 5
    3
      Marlin/example_configurations/TAZ4/Configuration_adv.h
  18. 2
    2
      Marlin/example_configurations/WITBOX/Configuration.h
  19. 5
    3
      Marlin/example_configurations/WITBOX/Configuration_adv.h
  20. 2
    2
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  21. 2
    2
      Marlin/example_configurations/delta/biv2.5/Configuration.h
  22. 5
    3
      Marlin/example_configurations/delta/biv2.5/Configuration_adv.h
  23. 2
    2
      Marlin/example_configurations/delta/generic/Configuration.h
  24. 5
    3
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  25. 2
    2
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  26. 5
    3
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  27. 2
    2
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  28. 5
    3
      Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h
  29. 2
    2
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  30. 5
    3
      Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h
  31. 2
    2
      Marlin/example_configurations/makibox/Configuration.h
  32. 5
    3
      Marlin/example_configurations/makibox/Configuration_adv.h
  33. 2
    2
      Marlin/example_configurations/tvrrug/Round2/Configuration.h
  34. 5
    3
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h

+ 2
- 2
Marlin/Configuration.h View File

@@ -280,10 +280,10 @@
280 280
 // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED)
281 281
 #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
282 282
 
283
-//#define PID_BED_DEBUG // Sends debug data to the serial port.
284
-
285 283
 #if ENABLED(PIDTEMPBED)
286 284
 
285
+  //#define PID_BED_DEBUG // Sends debug data to the serial port.
286
+
287 287
   #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
288 288
 
289 289
   //120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)

+ 5
- 3
Marlin/Configuration_adv.h View File

@@ -41,10 +41,12 @@
41 41
 //=============================Thermal Settings  ============================
42 42
 //===========================================================================
43 43
 
44
-#if ENABLED(BED_LIMIT_SWITCHING)
45
-  #define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
44
+#if DISABLED(PIDTEMPBED)
45
+  #define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
46
+  #if ENABLED(BED_LIMIT_SWITCHING)
47
+    #define BED_HYSTERESIS 2 // Only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
48
+  #endif
46 49
 #endif
47
-#define BED_CHECK_INTERVAL 5000 //ms between checks in bang-bang control
48 50
 
49 51
 /**
50 52
  * Thermal Protection protects your printer from damage and fire if a

+ 2
- 2
Marlin/example_configurations/Felix/Configuration.h View File

@@ -269,10 +269,10 @@
269 269
 // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED)
270 270
 #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
271 271
 
272
-//#define PID_BED_DEBUG // Sends debug data to the serial port.
273
-
274 272
 #if ENABLED(PIDTEMPBED)
275 273
 
274
+  //#define PID_BED_DEBUG // Sends debug data to the serial port.
275
+
276 276
   #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
277 277
 
278 278
   // Felix Foil Heater

+ 5
- 3
Marlin/example_configurations/Felix/Configuration_adv.h View File

@@ -41,10 +41,12 @@
41 41
 //=============================Thermal Settings  ============================
42 42
 //===========================================================================
43 43
 
44
-#if ENABLED(BED_LIMIT_SWITCHING)
45
-  #define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
44
+#if DISABLED(PIDTEMPBED)
45
+  #define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
46
+  #if ENABLED(BED_LIMIT_SWITCHING)
47
+    #define BED_HYSTERESIS 2 // Only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
48
+  #endif
46 49
 #endif
47
-#define BED_CHECK_INTERVAL 5000 //ms between checks in bang-bang control
48 50
 
49 51
 /**
50 52
  * Thermal Protection protects your printer from damage and fire if a

+ 2
- 2
Marlin/example_configurations/Hephestos/Configuration.h View File

@@ -272,10 +272,10 @@
272 272
 // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED)
273 273
 #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
274 274
 
275
-//#define PID_BED_DEBUG // Sends debug data to the serial port.
276
-
277 275
 #if ENABLED(PIDTEMPBED)
278 276
 
277
+  //#define PID_BED_DEBUG // Sends debug data to the serial port.
278
+
279 279
   #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
280 280
 
281 281
   //120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)

+ 5
- 3
Marlin/example_configurations/Hephestos/Configuration_adv.h View File

@@ -41,10 +41,12 @@
41 41
 //=============================Thermal Settings  ============================
42 42
 //===========================================================================
43 43
 
44
-#if ENABLED(BED_LIMIT_SWITCHING)
45
-  #define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
44
+#if DISABLED(PIDTEMPBED)
45
+  #define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
46
+  #if ENABLED(BED_LIMIT_SWITCHING)
47
+    #define BED_HYSTERESIS 2 // Only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
48
+  #endif
46 49
 #endif
47
-#define BED_CHECK_INTERVAL 5000 //ms between checks in bang-bang control
48 50
 
49 51
 /**
50 52
  * Thermal Protection protects your printer from damage and fire if a

+ 2
- 2
Marlin/example_configurations/Hephestos_2/Configuration.h View File

@@ -274,10 +274,10 @@
274 274
 // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED)
275 275
 #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
276 276
 
277
-//#define PID_BED_DEBUG // Sends debug data to the serial port.
278
-
279 277
 #if ENABLED(PIDTEMPBED)
280 278
 
279
+  //#define PID_BED_DEBUG // Sends debug data to the serial port.
280
+
281 281
   #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
282 282
 
283 283
   //120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)

+ 5
- 3
Marlin/example_configurations/Hephestos_2/Configuration_adv.h View File

@@ -41,10 +41,12 @@
41 41
 //=============================Thermal Settings  ============================
42 42
 //===========================================================================
43 43
 
44
-#if ENABLED(BED_LIMIT_SWITCHING)
45
-  #define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
44
+#if DISABLED(PIDTEMPBED)
45
+  #define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
46
+  #if ENABLED(BED_LIMIT_SWITCHING)
47
+    #define BED_HYSTERESIS 2 // Only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
48
+  #endif
46 49
 #endif
47
-#define BED_CHECK_INTERVAL 5000 //ms between checks in bang-bang control
48 50
 
49 51
 /**
50 52
  * Thermal Protection protects your printer from damage and fire if a

+ 2
- 2
Marlin/example_configurations/K8200/Configuration.h View File

@@ -291,10 +291,10 @@
291 291
 // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED)
292 292
 #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
293 293
 
294
-//#define PID_BED_DEBUG // Sends debug data to the serial port.
295
-
296 294
 #if ENABLED(PIDTEMPBED)
297 295
 
296
+  //#define PID_BED_DEBUG // Sends debug data to the serial port.
297
+
298 298
   #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
299 299
 
300 300
   //120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)

+ 5
- 3
Marlin/example_configurations/K8200/Configuration_adv.h View File

@@ -47,10 +47,12 @@
47 47
 //=============================Thermal Settings  ============================
48 48
 //===========================================================================
49 49
 
50
-#if ENABLED(BED_LIMIT_SWITCHING)
51
-  #define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
50
+#if DISABLED(PIDTEMPBED)
51
+  #define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
52
+  #if ENABLED(BED_LIMIT_SWITCHING)
53
+    #define BED_HYSTERESIS 2 // Only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
54
+  #endif
52 55
 #endif
53
-#define BED_CHECK_INTERVAL 5000 //ms between checks in bang-bang control
54 56
 
55 57
 /**
56 58
  * Thermal Protection protects your printer from damage and fire if a

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

@@ -280,10 +280,10 @@
280 280
 // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED)
281 281
 #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
282 282
 
283
-//#define PID_BED_DEBUG // Sends debug data to the serial port.
284
-
285 283
 #if ENABLED(PIDTEMPBED)
286 284
 
285
+  //#define PID_BED_DEBUG // Sends debug data to the serial port.
286
+
287 287
   #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
288 288
 
289 289
   //120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)

+ 2
- 2
Marlin/example_configurations/RigidBot/Configuration.h View File

@@ -281,10 +281,10 @@
281 281
 // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED)
282 282
 #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
283 283
 
284
-//#define PID_BED_DEBUG // Sends debug data to the serial port.
285
-
286 284
 #if ENABLED(PIDTEMPBED)
287 285
 
286
+  //#define PID_BED_DEBUG // Sends debug data to the serial port.
287
+
288 288
   #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
289 289
 
290 290
   //RigidBot, from pid autotune

+ 5
- 3
Marlin/example_configurations/RigidBot/Configuration_adv.h View File

@@ -41,10 +41,12 @@
41 41
 //=============================Thermal Settings  ============================
42 42
 //===========================================================================
43 43
 
44
-#if ENABLED(BED_LIMIT_SWITCHING)
45
-  #define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
44
+#if DISABLED(PIDTEMPBED)
45
+  #define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
46
+  #if ENABLED(BED_LIMIT_SWITCHING)
47
+    #define BED_HYSTERESIS 2 // Only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
48
+  #endif
46 49
 #endif
47
-#define BED_CHECK_INTERVAL 5000 //ms between checks in bang-bang control
48 50
 
49 51
 /**
50 52
  * Thermal Protection protects your printer from damage and fire if a

+ 2
- 2
Marlin/example_configurations/SCARA/Configuration.h View File

@@ -294,10 +294,10 @@
294 294
 // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED)
295 295
 #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
296 296
 
297
-//#define PID_BED_DEBUG // Sends debug data to the serial port.
298
-
299 297
 #if ENABLED(PIDTEMPBED)
300 298
 
299
+  //#define PID_BED_DEBUG // Sends debug data to the serial port.
300
+
301 301
   #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
302 302
 
303 303
   //12v Heatbed Mk3 12V in parallel

+ 5
- 3
Marlin/example_configurations/SCARA/Configuration_adv.h View File

@@ -41,10 +41,12 @@
41 41
 //=============================Thermal Settings  ============================
42 42
 //===========================================================================
43 43
 
44
-#if ENABLED(BED_LIMIT_SWITCHING)
45
-  #define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
44
+#if DISABLED(PIDTEMPBED)
45
+  #define BED_CHECK_INTERVAL 3000 // ms between checks in bang-bang control
46
+  #if ENABLED(BED_LIMIT_SWITCHING)
47
+    #define BED_HYSTERESIS 2 // Only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
48
+  #endif
46 49
 #endif
47
-#define BED_CHECK_INTERVAL 3000 //ms between checks in bang-bang control
48 50
 
49 51
 /**
50 52
  * Thermal Protection protects your printer from damage and fire if a

+ 2
- 2
Marlin/example_configurations/TAZ4/Configuration.h View File

@@ -290,10 +290,10 @@
290 290
 // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED)
291 291
 #define MAX_BED_POWER 206 // limits duty cycle to bed; 255=full current
292 292
 
293
-//#define PID_BED_DEBUG // Sends debug data to the serial port.
294
-
295 293
 #if ENABLED(PIDTEMPBED)
296 294
 
295
+  //#define PID_BED_DEBUG // Sends debug data to the serial port.
296
+
297 297
   #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
298 298
 
299 299
   //24V 360W silicone heater from NPH on 3mm borosilicate (TAZ 2.2+)

+ 5
- 3
Marlin/example_configurations/TAZ4/Configuration_adv.h View File

@@ -41,10 +41,12 @@
41 41
 //=============================Thermal Settings  ============================
42 42
 //===========================================================================
43 43
 
44
-#if ENABLED(BED_LIMIT_SWITCHING)
45
-  #define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
44
+#if DISABLED(PIDTEMPBED)
45
+  #define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
46
+  #if ENABLED(BED_LIMIT_SWITCHING)
47
+    #define BED_HYSTERESIS 2 // Only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
48
+  #endif
46 49
 #endif
47
-#define BED_CHECK_INTERVAL 5000 //ms between checks in bang-bang control
48 50
 
49 51
 /**
50 52
  * Thermal Protection protects your printer from damage and fire if a

+ 2
- 2
Marlin/example_configurations/WITBOX/Configuration.h View File

@@ -272,10 +272,10 @@
272 272
 // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED)
273 273
 #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
274 274
 
275
-//#define PID_BED_DEBUG // Sends debug data to the serial port.
276
-
277 275
 #if ENABLED(PIDTEMPBED)
278 276
 
277
+  //#define PID_BED_DEBUG // Sends debug data to the serial port.
278
+
279 279
   #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
280 280
 
281 281
   //120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)

+ 5
- 3
Marlin/example_configurations/WITBOX/Configuration_adv.h View File

@@ -41,10 +41,12 @@
41 41
 //=============================Thermal Settings  ============================
42 42
 //===========================================================================
43 43
 
44
-#if ENABLED(BED_LIMIT_SWITCHING)
45
-  #define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
44
+#if DISABLED(PIDTEMPBED)
45
+  #define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
46
+  #if ENABLED(BED_LIMIT_SWITCHING)
47
+    #define BED_HYSTERESIS 2 // Only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
48
+  #endif
46 49
 #endif
47
-#define BED_CHECK_INTERVAL 5000 //ms between checks in bang-bang control
48 50
 
49 51
 /**
50 52
  * Thermal Protection protects your printer from damage and fire if a

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

@@ -280,10 +280,10 @@
280 280
 // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED)
281 281
 #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
282 282
 
283
-//#define PID_BED_DEBUG // Sends debug data to the serial port.
284
-
285 283
 #if ENABLED(PIDTEMPBED)
286 284
 
285
+  //#define PID_BED_DEBUG // Sends debug data to the serial port.
286
+
287 287
   #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
288 288
 
289 289
   //120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)

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

@@ -280,10 +280,10 @@
280 280
 // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED)
281 281
 #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
282 282
 
283
-//#define PID_BED_DEBUG // Sends debug data to the serial port.
284
-
285 283
 #if ENABLED(PIDTEMPBED)
286 284
 
285
+  //#define PID_BED_DEBUG // Sends debug data to the serial port.
286
+
287 287
   #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
288 288
 
289 289
   //120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)

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

@@ -41,10 +41,12 @@
41 41
 //=============================Thermal Settings  ============================
42 42
 //===========================================================================
43 43
 
44
-#if ENABLED(BED_LIMIT_SWITCHING)
45
-  #define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
44
+#if DISABLED(PIDTEMPBED)
45
+  #define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
46
+  #if ENABLED(BED_LIMIT_SWITCHING)
47
+    #define BED_HYSTERESIS 2 // Only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
48
+  #endif
46 49
 #endif
47
-#define BED_CHECK_INTERVAL 5000 //ms between checks in bang-bang control
48 50
 
49 51
 /**
50 52
  * Thermal Protection protects your printer from damage and fire if a

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

@@ -280,10 +280,10 @@
280 280
 // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED)
281 281
 #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
282 282
 
283
-//#define PID_BED_DEBUG // Sends debug data to the serial port.
284
-
285 283
 #if ENABLED(PIDTEMPBED)
286 284
 
285
+  //#define PID_BED_DEBUG // Sends debug data to the serial port.
286
+
287 287
   #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
288 288
 
289 289
   //120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)

+ 5
- 3
Marlin/example_configurations/delta/generic/Configuration_adv.h View File

@@ -41,10 +41,12 @@
41 41
 //=============================Thermal Settings  ============================
42 42
 //===========================================================================
43 43
 
44
-#if ENABLED(BED_LIMIT_SWITCHING)
45
-  #define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
44
+#if DISABLED(PIDTEMPBED)
45
+  #define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
46
+  #if ENABLED(BED_LIMIT_SWITCHING)
47
+    #define BED_HYSTERESIS 2 // Only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
48
+  #endif
46 49
 #endif
47
-#define BED_CHECK_INTERVAL 5000 //ms between checks in bang-bang control
48 50
 
49 51
 /**
50 52
  * Thermal Protection protects your printer from damage and fire if a

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

@@ -280,10 +280,10 @@
280 280
 // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED)
281 281
 #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
282 282
 
283
-//#define PID_BED_DEBUG // Sends debug data to the serial port.
284
-
285 283
 #if ENABLED(PIDTEMPBED)
286 284
 
285
+  //#define PID_BED_DEBUG // Sends debug data to the serial port.
286
+
287 287
   #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
288 288
 
289 289
   //120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)

+ 5
- 3
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h View File

@@ -41,10 +41,12 @@
41 41
 //=============================Thermal Settings  ============================
42 42
 //===========================================================================
43 43
 
44
-#if ENABLED(BED_LIMIT_SWITCHING)
45
-  #define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
44
+#if DISABLED(PIDTEMPBED)
45
+  #define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
46
+  #if ENABLED(BED_LIMIT_SWITCHING)
47
+    #define BED_HYSTERESIS 2 // Only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
48
+  #endif
46 49
 #endif
47
-#define BED_CHECK_INTERVAL 5000 //ms between checks in bang-bang control
48 50
 
49 51
 /**
50 52
  * Thermal Protection protects your printer from damage and fire if a

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

@@ -275,10 +275,10 @@
275 275
 // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED)
276 276
 #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
277 277
 
278
-//#define PID_BED_DEBUG // Sends debug data to the serial port.
279
-
280 278
 #if ENABLED(PIDTEMPBED)
281 279
 
280
+  //#define PID_BED_DEBUG // Sends debug data to the serial port.
281
+
282 282
   #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
283 283
 
284 284
   //Kossel Pro heated bed plate with borosilicate glass

+ 5
- 3
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h View File

@@ -46,10 +46,12 @@
46 46
 //=============================Thermal Settings  ============================
47 47
 //===========================================================================
48 48
 
49
-#if ENABLED(BED_LIMIT_SWITCHING)
50
-  #define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
49
+#if DISABLED(PIDTEMPBED)
50
+  #define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
51
+  #if ENABLED(BED_LIMIT_SWITCHING)
52
+    #define BED_HYSTERESIS 2 // Only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
53
+  #endif
51 54
 #endif
52
-#define BED_CHECK_INTERVAL 5000 //ms between checks in bang-bang control
53 55
 
54 56
 /**
55 57
  * Thermal Protection protects your printer from damage and fire if a

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

@@ -308,10 +308,10 @@
308 308
 // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED)
309 309
 #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
310 310
 
311
-//#define PID_BED_DEBUG // Sends debug data to the serial port.
312
-
313 311
 #if ENABLED(PIDTEMPBED)
314 312
 
313
+  //#define PID_BED_DEBUG // Sends debug data to the serial port.
314
+
315 315
   #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
316 316
 
317 317
   //120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)

+ 5
- 3
Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h View File

@@ -41,10 +41,12 @@
41 41
 //=============================Thermal Settings  ============================
42 42
 //===========================================================================
43 43
 
44
-#if ENABLED(BED_LIMIT_SWITCHING)
45
-  #define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
44
+#if DISABLED(PIDTEMPBED)
45
+  #define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
46
+  #if ENABLED(BED_LIMIT_SWITCHING)
47
+    #define BED_HYSTERESIS 2 // Only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
48
+  #endif
46 49
 #endif
47
-#define BED_CHECK_INTERVAL 5000 //ms between checks in bang-bang control
48 50
 
49 51
 /**
50 52
  * Thermal Protection protects your printer from damage and fire if a

+ 2
- 2
Marlin/example_configurations/makibox/Configuration.h View File

@@ -283,10 +283,10 @@
283 283
 // to increase the heat up rate. However, if changed, user must be aware of the safety concerns
284 284
 // of drawing too much current from the power supply.
285 285
 
286
-//#define PID_BED_DEBUG // Sends debug data to the serial port.
287
-
288 286
 #if ENABLED(PIDTEMPBED)
289 287
 
288
+  //#define PID_BED_DEBUG // Sends debug data to the serial port.
289
+
290 290
   #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
291 291
 
292 292
   //120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)

+ 5
- 3
Marlin/example_configurations/makibox/Configuration_adv.h View File

@@ -41,10 +41,12 @@
41 41
 //=============================Thermal Settings  ============================
42 42
 //===========================================================================
43 43
 
44
-#if ENABLED(BED_LIMIT_SWITCHING)
45
-  #define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
44
+#if DISABLED(PIDTEMPBED)
45
+  #define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
46
+  #if ENABLED(BED_LIMIT_SWITCHING)
47
+    #define BED_HYSTERESIS 2 // Only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
48
+  #endif
46 49
 #endif
47
-#define BED_CHECK_INTERVAL 5000 //ms between checks in bang-bang control
48 50
 
49 51
 /**
50 52
  * Thermal Protection protects your printer from damage and fire if a

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

@@ -270,10 +270,10 @@
270 270
 // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED)
271 271
 #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
272 272
 
273
-//#define PID_BED_DEBUG // Sends debug data to the serial port.
274
-
275 273
 #if ENABLED(PIDTEMPBED)
276 274
 
275
+  //#define PID_BED_DEBUG // Sends debug data to the serial port.
276
+
277 277
   #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
278 278
 
279 279
   //120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)

+ 5
- 3
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h View File

@@ -41,10 +41,12 @@
41 41
 //=============================Thermal Settings  ============================
42 42
 //===========================================================================
43 43
 
44
-#if ENABLED(BED_LIMIT_SWITCHING)
45
-  #define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
44
+#if DISABLED(PIDTEMPBED)
45
+  #define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
46
+  #if ENABLED(BED_LIMIT_SWITCHING)
47
+    #define BED_HYSTERESIS 2 // Only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
48
+  #endif
46 49
 #endif
47
-#define BED_CHECK_INTERVAL 5000 //ms between checks in bang-bang control
48 50
 
49 51
 /**
50 52
  * Thermal Protection protects your printer from damage and fire if a

Loading…
Cancel
Save