Переглянути джерело

Add a minimum Z change option to power-loss recovery (#13859)

Robby Candra 5 роки тому
джерело
коміт
0181e57417
73 змінених файлів з 295 додано та 4 видалено
  1. 4
    0
      Marlin/Configuration_adv.h
  2. 7
    4
      Marlin/src/feature/power_loss_recovery.cpp
  3. 4
    0
      config/default/Configuration_adv.h
  4. 4
    0
      config/examples/3DFabXYZ/Migbot/Configuration_adv.h
  5. 4
    0
      config/examples/AlephObjects/TAZ4/Configuration_adv.h
  6. 4
    0
      config/examples/AliExpress/UM2pExt/Configuration_adv.h
  7. 4
    0
      config/examples/Anet/A2/Configuration_adv.h
  8. 4
    0
      config/examples/Anet/A2plus/Configuration_adv.h
  9. 4
    0
      config/examples/Anet/A6/Configuration_adv.h
  10. 4
    0
      config/examples/Anet/A8/Configuration_adv.h
  11. 4
    0
      config/examples/AnyCubic/i3/Configuration_adv.h
  12. 4
    0
      config/examples/ArmEd/Configuration_adv.h
  13. 4
    0
      config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  14. 4
    0
      config/examples/BIBO/TouchX/default/Configuration_adv.h
  15. 4
    0
      config/examples/BQ/Hephestos/Configuration_adv.h
  16. 4
    0
      config/examples/BQ/Hephestos_2/Configuration_adv.h
  17. 4
    0
      config/examples/BQ/WITBOX/Configuration_adv.h
  18. 4
    0
      config/examples/Cartesio/Configuration_adv.h
  19. 4
    0
      config/examples/Creality/CR-10/Configuration_adv.h
  20. 4
    0
      config/examples/Creality/CR-10S/Configuration_adv.h
  21. 4
    0
      config/examples/Creality/CR-10_5S/Configuration_adv.h
  22. 4
    0
      config/examples/Creality/CR-10mini/Configuration_adv.h
  23. 4
    0
      config/examples/Creality/CR-8/Configuration_adv.h
  24. 4
    0
      config/examples/Creality/Ender-2/Configuration_adv.h
  25. 4
    0
      config/examples/Creality/Ender-3/Configuration_adv.h
  26. 4
    0
      config/examples/Creality/Ender-4/Configuration_adv.h
  27. 4
    0
      config/examples/Einstart-S/Configuration_adv.h
  28. 4
    0
      config/examples/Felix/Configuration_adv.h
  29. 4
    0
      config/examples/FlashForge/CreatorPro/Configuration_adv.h
  30. 4
    0
      config/examples/FolgerTech/i3-2020/Configuration_adv.h
  31. 4
    0
      config/examples/Formbot/Raptor/Configuration_adv.h
  32. 4
    0
      config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  33. 4
    0
      config/examples/Formbot/T_Rex_3/Configuration_adv.h
  34. 4
    0
      config/examples/Geeetech/MeCreator2/Configuration_adv.h
  35. 4
    0
      config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  36. 4
    0
      config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  37. 4
    0
      config/examples/Infitary/i3-M508/Configuration_adv.h
  38. 4
    0
      config/examples/JGAurora/A5/Configuration_adv.h
  39. 4
    0
      config/examples/MakerParts/Configuration_adv.h
  40. 4
    0
      config/examples/Malyan/M150/Configuration_adv.h
  41. 4
    0
      config/examples/Malyan/M200/Configuration_adv.h
  42. 4
    0
      config/examples/Micromake/C1/enhanced/Configuration_adv.h
  43. 4
    0
      config/examples/Mks/Robin/Configuration_adv.h
  44. 4
    0
      config/examples/Mks/Sbase/Configuration_adv.h
  45. 4
    0
      config/examples/RapideLite/RL200/Configuration_adv.h
  46. 4
    0
      config/examples/RigidBot/Configuration_adv.h
  47. 4
    0
      config/examples/SCARA/Configuration_adv.h
  48. 4
    0
      config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h
  49. 4
    0
      config/examples/Sanguinololu/Configuration_adv.h
  50. 4
    0
      config/examples/TheBorg/Configuration_adv.h
  51. 4
    0
      config/examples/TinyBoy2/Configuration_adv.h
  52. 4
    0
      config/examples/Tronxy/X3A/Configuration_adv.h
  53. 4
    0
      config/examples/Tronxy/X5S-2E/Configuration_adv.h
  54. 4
    0
      config/examples/UltiMachine/Archim1/Configuration_adv.h
  55. 4
    0
      config/examples/UltiMachine/Archim2/Configuration_adv.h
  56. 4
    0
      config/examples/VORONDesign/Configuration_adv.h
  57. 4
    0
      config/examples/Velleman/K8200/Configuration_adv.h
  58. 4
    0
      config/examples/Velleman/K8400/Configuration_adv.h
  59. 4
    0
      config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  60. 4
    0
      config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  61. 4
    0
      config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  62. 4
    0
      config/examples/delta/FLSUN/kossel/Configuration_adv.h
  63. 4
    0
      config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  64. 4
    0
      config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h
  65. 4
    0
      config/examples/delta/MKS/SBASE/Configuration_adv.h
  66. 4
    0
      config/examples/delta/Tevo Little Monster/Configuration_adv.h
  67. 4
    0
      config/examples/delta/generic/Configuration_adv.h
  68. 4
    0
      config/examples/delta/kossel_mini/Configuration_adv.h
  69. 4
    0
      config/examples/delta/kossel_xl/Configuration_adv.h
  70. 4
    0
      config/examples/gCreate/gMax1.5+/Configuration_adv.h
  71. 4
    0
      config/examples/makibox/Configuration_adv.h
  72. 4
    0
      config/examples/tvrrug/Round2/Configuration_adv.h
  73. 4
    0
      config/examples/wt150/Configuration_adv.h

+ 4
- 0
Marlin/Configuration_adv.h Переглянути файл

@@ -803,6 +803,10 @@
803 803
   #if ENABLED(POWER_LOSS_RECOVERY)
804 804
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
805 805
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
806
+
807
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
808
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
809
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
806 810
   #endif
807 811
 
808 812
   /**

+ 7
- 4
Marlin/src/feature/power_loss_recovery.cpp Переглянути файл

@@ -126,6 +126,10 @@ void PrintJobRecovery::save(const bool force/*=false*/, const bool save_queue/*=
126 126
     millis_t ms = millis();
127 127
   #endif
128 128
 
129
+  #ifndef POWER_LOSS_MIN_Z_CHANGE
130
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05  // Vase-mode-friendly out of the box
131
+  #endif
132
+
129 133
   // Did Z change since the last call?
130 134
   if (force
131 135
     #if DISABLED(SAVE_EACH_CMD_MODE)      // Always save state when enabled
@@ -135,8 +139,8 @@ void PrintJobRecovery::save(const bool force/*=false*/, const bool save_queue/*=
135 139
       #if SAVE_INFO_INTERVAL_MS > 0       // Save if interval is elapsed
136 140
         || ELAPSED(ms, next_save_ms)
137 141
       #endif
138
-        // Save every time Z is higher than the last call
139
-        || current_position[Z_AXIS] > info.current_position[Z_AXIS]
142
+      // Save if Z is above the last-saved position by some minimum height
143
+      || current_position[Z_AXIS] > info.current_position[Z_AXIS] + POWER_LOSS_MIN_Z_CHANGE
140 144
     #endif
141 145
   ) {
142 146
 
@@ -228,9 +232,8 @@ void PrintJobRecovery::write() {
228 232
   open(false);
229 233
   file.seekSet(0);
230 234
   const int16_t ret = file.write(&info, sizeof(info));
231
-  close();
232
-
233 235
   if (ret == -1) DEBUG_ECHOLNPGM("Power-loss file write failed.");
236
+  if (!file.close()) DEBUG_ECHOLNPGM("Power-loss file close failed.");
234 237
 }
235 238
 
236 239
 /**

+ 4
- 0
config/default/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/3DFabXYZ/Migbot/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/AlephObjects/TAZ4/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/AliExpress/UM2pExt/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Anet/A2/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Anet/A2plus/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Anet/A6/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Anet/A8/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/AnyCubic/i3/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/ArmEd/Configuration_adv.h Переглянути файл

@@ -809,6 +809,10 @@
809 809
   #if ENABLED(POWER_LOSS_RECOVERY)
810 810
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
811 811
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
812
+
813
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
814
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
815
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
812 816
   #endif
813 817
 
814 818
   /**

+ 4
- 0
config/examples/BIBO/TouchX/cyclops/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/BIBO/TouchX/default/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/BQ/Hephestos/Configuration_adv.h Переглянути файл

@@ -802,6 +802,10 @@
802 802
   #if ENABLED(POWER_LOSS_RECOVERY)
803 803
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
804 804
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
805
+
806
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
807
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
808
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
805 809
   #endif
806 810
 
807 811
   /**

+ 4
- 0
config/examples/BQ/Hephestos_2/Configuration_adv.h Переглянути файл

@@ -810,6 +810,10 @@
810 810
   #if ENABLED(POWER_LOSS_RECOVERY)
811 811
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
812 812
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
813
+
814
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
815
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
816
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
813 817
   #endif
814 818
 
815 819
   /**

+ 4
- 0
config/examples/BQ/WITBOX/Configuration_adv.h Переглянути файл

@@ -802,6 +802,10 @@
802 802
   #if ENABLED(POWER_LOSS_RECOVERY)
803 803
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
804 804
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
805
+
806
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
807
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
808
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
805 809
   #endif
806 810
 
807 811
   /**

+ 4
- 0
config/examples/Cartesio/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Creality/CR-10/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Creality/CR-10S/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Creality/CR-10_5S/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Creality/CR-10mini/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Creality/CR-8/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Creality/Ender-2/Configuration_adv.h Переглянути файл

@@ -802,6 +802,10 @@
802 802
   #if ENABLED(POWER_LOSS_RECOVERY)
803 803
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
804 804
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
805
+
806
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
807
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
808
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
805 809
   #endif
806 810
 
807 811
   /**

+ 4
- 0
config/examples/Creality/Ender-3/Configuration_adv.h Переглянути файл

@@ -802,6 +802,10 @@
802 802
   #if ENABLED(POWER_LOSS_RECOVERY)
803 803
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
804 804
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
805
+
806
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
807
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
808
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
805 809
   #endif
806 810
 
807 811
   /**

+ 4
- 0
config/examples/Creality/Ender-4/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Einstart-S/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Felix/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/FlashForge/CreatorPro/Configuration_adv.h Переглянути файл

@@ -801,6 +801,10 @@
801 801
   #if ENABLED(POWER_LOSS_RECOVERY)
802 802
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
803 803
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
804
+
805
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
806
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
807
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
804 808
   #endif
805 809
 
806 810
   /**

+ 4
- 0
config/examples/FolgerTech/i3-2020/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Formbot/Raptor/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Formbot/T_Rex_2+/Configuration_adv.h Переглянути файл

@@ -809,6 +809,10 @@
809 809
   #if ENABLED(POWER_LOSS_RECOVERY)
810 810
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
811 811
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
812
+
813
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
814
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
815
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
812 816
   #endif
813 817
 
814 818
   /**

+ 4
- 0
config/examples/Formbot/T_Rex_3/Configuration_adv.h Переглянути файл

@@ -809,6 +809,10 @@
809 809
   #if ENABLED(POWER_LOSS_RECOVERY)
810 810
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
811 811
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
812
+
813
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
814
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
815
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
812 816
   #endif
813 817
 
814 818
   /**

+ 4
- 0
config/examples/Geeetech/MeCreator2/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Infitary/i3-M508/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/JGAurora/A5/Configuration_adv.h Переглянути файл

@@ -802,6 +802,10 @@
802 802
   #if ENABLED(POWER_LOSS_RECOVERY)
803 803
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
804 804
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
805
+
806
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
807
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
808
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
805 809
   #endif
806 810
 
807 811
   /**

+ 4
- 0
config/examples/MakerParts/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Malyan/M150/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Malyan/M200/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Micromake/C1/enhanced/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Mks/Robin/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Mks/Sbase/Configuration_adv.h Переглянути файл

@@ -806,6 +806,10 @@
806 806
   #if ENABLED(POWER_LOSS_RECOVERY)
807 807
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
808 808
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
809
+
810
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
811
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
812
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
809 813
   #endif
810 814
 
811 815
   /**

+ 4
- 0
config/examples/RapideLite/RL200/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/RigidBot/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/SCARA/Configuration_adv.h Переглянути файл

@@ -802,6 +802,10 @@
802 802
   #if ENABLED(POWER_LOSS_RECOVERY)
803 803
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
804 804
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
805
+
806
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
807
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
808
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
805 809
   #endif
806 810
 
807 811
   /**

+ 4
- 0
config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h Переглянути файл

@@ -802,6 +802,10 @@
802 802
   #if ENABLED(POWER_LOSS_RECOVERY)
803 803
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
804 804
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
805
+
806
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
807
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
808
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
805 809
   #endif
806 810
 
807 811
   /**

+ 4
- 0
config/examples/Sanguinololu/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/TheBorg/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/TinyBoy2/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Tronxy/X3A/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Tronxy/X5S-2E/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/UltiMachine/Archim1/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/UltiMachine/Archim2/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/VORONDesign/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Velleman/K8200/Configuration_adv.h Переглянути файл

@@ -818,6 +818,10 @@
818 818
   #if ENABLED(POWER_LOSS_RECOVERY)
819 819
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
820 820
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
821
+
822
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
823
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
824
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
821 825
   #endif
822 826
 
823 827
   /**

+ 4
- 0
config/examples/Velleman/K8400/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/Wanhao/Duplicator 6/Configuration_adv.h Переглянути файл

@@ -804,6 +804,10 @@
804 804
   #if ENABLED(POWER_LOSS_RECOVERY)
805 805
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
806 806
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
807
+
808
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
809
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
810
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
807 811
   #endif
808 812
 
809 813
   /**

+ 4
- 0
config/examples/delta/Anycubic/Kossel/Configuration_adv.h Переглянути файл

@@ -804,6 +804,10 @@
804 804
   #if ENABLED(POWER_LOSS_RECOVERY)
805 805
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
806 806
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
807
+
808
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
809
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
810
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
807 811
   #endif
808 812
 
809 813
   /**

+ 4
- 0
config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h Переглянути файл

@@ -804,6 +804,10 @@
804 804
   #if ENABLED(POWER_LOSS_RECOVERY)
805 805
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
806 806
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
807
+
808
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
809
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
810
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
807 811
   #endif
808 812
 
809 813
   /**

+ 4
- 0
config/examples/delta/FLSUN/kossel/Configuration_adv.h Переглянути файл

@@ -804,6 +804,10 @@
804 804
   #if ENABLED(POWER_LOSS_RECOVERY)
805 805
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
806 806
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
807
+
808
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
809
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
810
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
807 811
   #endif
808 812
 
809 813
   /**

+ 4
- 0
config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h Переглянути файл

@@ -804,6 +804,10 @@
804 804
   #if ENABLED(POWER_LOSS_RECOVERY)
805 805
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
806 806
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
807
+
808
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
809
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
810
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
807 811
   #endif
808 812
 
809 813
   /**

+ 4
- 0
config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h Переглянути файл

@@ -804,6 +804,10 @@
804 804
   #if ENABLED(POWER_LOSS_RECOVERY)
805 805
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
806 806
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
807
+
808
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
809
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
810
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
807 811
   #endif
808 812
 
809 813
   /**

+ 4
- 0
config/examples/delta/MKS/SBASE/Configuration_adv.h Переглянути файл

@@ -804,6 +804,10 @@
804 804
   #if ENABLED(POWER_LOSS_RECOVERY)
805 805
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
806 806
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
807
+
808
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
809
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
810
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
807 811
   #endif
808 812
 
809 813
   /**

+ 4
- 0
config/examples/delta/Tevo Little Monster/Configuration_adv.h Переглянути файл

@@ -804,6 +804,10 @@
804 804
   #if ENABLED(POWER_LOSS_RECOVERY)
805 805
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
806 806
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
807
+
808
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
809
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
810
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
807 811
   #endif
808 812
 
809 813
   /**

+ 4
- 0
config/examples/delta/generic/Configuration_adv.h Переглянути файл

@@ -804,6 +804,10 @@
804 804
   #if ENABLED(POWER_LOSS_RECOVERY)
805 805
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
806 806
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
807
+
808
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
809
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
810
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
807 811
   #endif
808 812
 
809 813
   /**

+ 4
- 0
config/examples/delta/kossel_mini/Configuration_adv.h Переглянути файл

@@ -803,6 +803,10 @@
803 803
   #if ENABLED(POWER_LOSS_RECOVERY)
804 804
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
805 805
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
806
+
807
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
808
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
809
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
806 810
   #endif
807 811
 
808 812
   /**

+ 4
- 0
config/examples/delta/kossel_xl/Configuration_adv.h Переглянути файл

@@ -804,6 +804,10 @@
804 804
   #if ENABLED(POWER_LOSS_RECOVERY)
805 805
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
806 806
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
807
+
808
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
809
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
810
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
807 811
   #endif
808 812
 
809 813
   /**

+ 4
- 0
config/examples/gCreate/gMax1.5+/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/makibox/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/tvrrug/Round2/Configuration_adv.h Переглянути файл

@@ -805,6 +805,10 @@
805 805
   #if ENABLED(POWER_LOSS_RECOVERY)
806 806
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
807 807
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
808
+
809
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
810
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
811
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
808 812
   #endif
809 813
 
810 814
   /**

+ 4
- 0
config/examples/wt150/Configuration_adv.h Переглянути файл

@@ -806,6 +806,10 @@
806 806
   #if ENABLED(POWER_LOSS_RECOVERY)
807 807
     //#define POWER_LOSS_PIN   44     // Pin to detect power loss
808 808
     //#define POWER_LOSS_STATE HIGH   // State of pin indicating power loss
809
+
810
+    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
811
+    // especially with "vase mode" printing. Set too high and vases cannot be continued.
812
+    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
809 813
   #endif
810 814
 
811 815
   /**

Завантаження…
Відмінити
Зберегти