Browse Source

Add CONTROLLERFAN_SPEED_Z_ONLY (#14956)

Marcio Teixeira 5 years ago
parent
commit
8bdb3d9970
100 changed files with 500 additions and 399 deletions
  1. 4
    3
      Marlin/Configuration_adv.h
  2. 9
    9
      Marlin/src/Marlin.cpp
  3. 23
    16
      Marlin/src/feature/controllerfan.cpp
  4. 10
    10
      Marlin/src/feature/power.cpp
  5. 4
    4
      Marlin/src/module/stepper.cpp
  6. 78
    78
      Marlin/src/module/stepper_indirection.h
  7. 4
    3
      config/default/Configuration_adv.h
  8. 4
    3
      config/examples/3DFabXYZ/Migbot/Configuration_adv.h
  9. 4
    3
      config/examples/AlephObjects/TAZ4/Configuration_adv.h
  10. 4
    3
      config/examples/Alfawise/U20/Configuration_adv.h
  11. 4
    3
      config/examples/AliExpress/UM2pExt/Configuration_adv.h
  12. 4
    3
      config/examples/Anet/A2/Configuration_adv.h
  13. 4
    3
      config/examples/Anet/A2plus/Configuration_adv.h
  14. 4
    3
      config/examples/Anet/A6/Configuration_adv.h
  15. 4
    3
      config/examples/Anet/A8/Configuration_adv.h
  16. 4
    3
      config/examples/Anet/A8plus/Configuration_adv.h
  17. 4
    3
      config/examples/Anet/E16/Configuration_adv.h
  18. 4
    3
      config/examples/AnyCubic/i3/Configuration_adv.h
  19. 4
    3
      config/examples/ArmEd/Configuration_adv.h
  20. 4
    3
      config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  21. 4
    3
      config/examples/BIBO/TouchX/default/Configuration_adv.h
  22. 4
    3
      config/examples/BQ/Hephestos/Configuration_adv.h
  23. 4
    3
      config/examples/BQ/Hephestos_2/Configuration_adv.h
  24. 4
    3
      config/examples/BQ/WITBOX/Configuration_adv.h
  25. 4
    3
      config/examples/Cartesio/Configuration_adv.h
  26. 4
    3
      config/examples/Creality/CR-10/Configuration_adv.h
  27. 4
    3
      config/examples/Creality/CR-10S/Configuration_adv.h
  28. 4
    3
      config/examples/Creality/CR-10_5S/Configuration_adv.h
  29. 4
    3
      config/examples/Creality/CR-10mini/Configuration_adv.h
  30. 4
    3
      config/examples/Creality/CR-20 Pro/Configuration_adv.h
  31. 4
    3
      config/examples/Creality/CR-20/Configuration_adv.h
  32. 4
    3
      config/examples/Creality/CR-8/Configuration_adv.h
  33. 4
    3
      config/examples/Creality/Ender-2/Configuration_adv.h
  34. 4
    3
      config/examples/Creality/Ender-3/Configuration_adv.h
  35. 4
    3
      config/examples/Creality/Ender-4/Configuration_adv.h
  36. 4
    3
      config/examples/Creality/Ender-5/Configuration_adv.h
  37. 4
    3
      config/examples/Dagoma/Disco Ultimate/Configuration_adv.h
  38. 4
    3
      config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration_adv.h
  39. 4
    3
      config/examples/Einstart-S/Configuration_adv.h
  40. 4
    3
      config/examples/FYSETC/AIO_II/Configuration_adv.h
  41. 4
    3
      config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration_adv.h
  42. 4
    3
      config/examples/FYSETC/Cheetah 1.2/base/Configuration_adv.h
  43. 4
    3
      config/examples/FYSETC/Cheetah/BLTouch/Configuration_adv.h
  44. 4
    3
      config/examples/FYSETC/Cheetah/base/Configuration_adv.h
  45. 4
    3
      config/examples/FYSETC/F6_13/Configuration_adv.h
  46. 4
    3
      config/examples/Felix/Configuration_adv.h
  47. 4
    3
      config/examples/FlashForge/CreatorPro/Configuration_adv.h
  48. 4
    3
      config/examples/FolgerTech/i3-2020/Configuration_adv.h
  49. 4
    3
      config/examples/Formbot/Raptor/Configuration_adv.h
  50. 4
    3
      config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  51. 4
    3
      config/examples/Formbot/T_Rex_3/Configuration_adv.h
  52. 4
    3
      config/examples/Geeetech/A10/Configuration_adv.h
  53. 4
    3
      config/examples/Geeetech/A10M/Configuration_adv.h
  54. 4
    3
      config/examples/Geeetech/A20M/Configuration_adv.h
  55. 4
    3
      config/examples/Geeetech/MeCreator2/Configuration_adv.h
  56. 4
    3
      config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  57. 4
    3
      config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  58. 4
    3
      config/examples/Infitary/i3-M508/Configuration_adv.h
  59. 4
    3
      config/examples/JGAurora/A1/Configuration_adv.h
  60. 4
    3
      config/examples/JGAurora/A5/Configuration_adv.h
  61. 4
    3
      config/examples/JGAurora/A5S/Configuration_adv.h
  62. 4
    3
      config/examples/MakerParts/Configuration_adv.h
  63. 4
    3
      config/examples/Malyan/M150/Configuration_adv.h
  64. 4
    3
      config/examples/Malyan/M200/Configuration_adv.h
  65. 4
    3
      config/examples/Micromake/C1/enhanced/Configuration_adv.h
  66. 4
    3
      config/examples/Mks/Robin/Configuration_adv.h
  67. 4
    3
      config/examples/Mks/Sbase/Configuration_adv.h
  68. 4
    3
      config/examples/RapideLite/RL200/Configuration_adv.h
  69. 4
    3
      config/examples/RigidBot/Configuration_adv.h
  70. 4
    3
      config/examples/SCARA/Configuration_adv.h
  71. 4
    3
      config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h
  72. 4
    3
      config/examples/Sanguinololu/Configuration_adv.h
  73. 4
    3
      config/examples/Tevo/Michelangelo/Configuration_adv.h
  74. 4
    3
      config/examples/Tevo/Tarantula Pro/Configuration_adv.h
  75. 4
    3
      config/examples/Tevo/Tornado/V1 (MKS Base)/Configuration_adv.h
  76. 4
    3
      config/examples/Tevo/Tornado/V2 (MKS GEN-L)/Configuration_adv.h
  77. 4
    3
      config/examples/TheBorg/Configuration_adv.h
  78. 4
    3
      config/examples/TinyBoy2/Configuration_adv.h
  79. 4
    3
      config/examples/Tronxy/X3A/Configuration_adv.h
  80. 4
    3
      config/examples/Tronxy/X5S-2E/Configuration_adv.h
  81. 4
    3
      config/examples/UltiMachine/Archim1/Configuration_adv.h
  82. 4
    3
      config/examples/UltiMachine/Archim2/Configuration_adv.h
  83. 4
    3
      config/examples/VORONDesign/Configuration_adv.h
  84. 4
    3
      config/examples/Velleman/K8200/Configuration_adv.h
  85. 4
    3
      config/examples/Velleman/K8400/Configuration_adv.h
  86. 4
    3
      config/examples/WASP/PowerWASP/Configuration_adv.h
  87. 4
    3
      config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  88. 4
    3
      config/examples/Wanhao/Duplicator i3 Mini/Configuration_adv.h
  89. 4
    3
      config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  90. 4
    3
      config/examples/delta/Dreammaker/Overlord/Configuration_adv.h
  91. 4
    3
      config/examples/delta/Dreammaker/Overlord_Pro/Configuration_adv.h
  92. 4
    3
      config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  93. 4
    3
      config/examples/delta/FLSUN/kossel/Configuration_adv.h
  94. 4
    3
      config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  95. 4
    3
      config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h
  96. 4
    3
      config/examples/delta/MKS/SBASE/Configuration_adv.h
  97. 4
    3
      config/examples/delta/Tevo Little Monster/Configuration_adv.h
  98. 4
    3
      config/examples/delta/generic/Configuration_adv.h
  99. 4
    3
      config/examples/delta/kossel_mini/Configuration_adv.h
  100. 0
    0
      config/examples/delta/kossel_xl/Configuration_adv.h

+ 4
- 3
Marlin/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 9
- 9
Marlin/src/Marlin.cpp View File

548
       #if ENABLED(SWITCHING_EXTRUDER)
548
       #if ENABLED(SWITCHING_EXTRUDER)
549
         bool oldstatus;
549
         bool oldstatus;
550
         switch (active_extruder) {
550
         switch (active_extruder) {
551
-          default: oldstatus = E0_ENABLE_READ; enable_E0(); break;
551
+          default: oldstatus = E0_ENABLE_READ(); enable_E0(); break;
552
           #if E_STEPPERS > 1
552
           #if E_STEPPERS > 1
553
-            case 2: case 3: oldstatus = E1_ENABLE_READ; enable_E1(); break;
553
+            case 2: case 3: oldstatus = E1_ENABLE_READ(); enable_E1(); break;
554
             #if E_STEPPERS > 2
554
             #if E_STEPPERS > 2
555
-              case 4: case 5: oldstatus = E2_ENABLE_READ; enable_E2(); break;
555
+              case 4: case 5: oldstatus = E2_ENABLE_READ(); enable_E2(); break;
556
             #endif // E_STEPPERS > 2
556
             #endif // E_STEPPERS > 2
557
           #endif // E_STEPPERS > 1
557
           #endif // E_STEPPERS > 1
558
         }
558
         }
559
       #else // !SWITCHING_EXTRUDER
559
       #else // !SWITCHING_EXTRUDER
560
         bool oldstatus;
560
         bool oldstatus;
561
         switch (active_extruder) {
561
         switch (active_extruder) {
562
-          default: oldstatus = E0_ENABLE_READ; enable_E0(); break;
562
+          default: oldstatus = E0_ENABLE_READ(); enable_E0(); break;
563
           #if E_STEPPERS > 1
563
           #if E_STEPPERS > 1
564
-            case 1: oldstatus = E1_ENABLE_READ; enable_E1(); break;
564
+            case 1: oldstatus = E1_ENABLE_READ(); enable_E1(); break;
565
             #if E_STEPPERS > 2
565
             #if E_STEPPERS > 2
566
-              case 2: oldstatus = E2_ENABLE_READ; enable_E2(); break;
566
+              case 2: oldstatus = E2_ENABLE_READ(); enable_E2(); break;
567
               #if E_STEPPERS > 3
567
               #if E_STEPPERS > 3
568
-                case 3: oldstatus = E3_ENABLE_READ; enable_E3(); break;
568
+                case 3: oldstatus = E3_ENABLE_READ(); enable_E3(); break;
569
                 #if E_STEPPERS > 4
569
                 #if E_STEPPERS > 4
570
-                  case 4: oldstatus = E4_ENABLE_READ; enable_E4(); break;
570
+                  case 4: oldstatus = E4_ENABLE_READ(); enable_E4(); break;
571
                   #if E_STEPPERS > 5
571
                   #if E_STEPPERS > 5
572
-                    case 5: oldstatus = E5_ENABLE_READ; enable_E5(); break;
572
+                    case 5: oldstatus = E5_ENABLE_READ(); enable_E5(); break;
573
                   #endif // E_STEPPERS > 5
573
                   #endif // E_STEPPERS > 5
574
                 #endif // E_STEPPERS > 4
574
                 #endif // E_STEPPERS > 4
575
               #endif // E_STEPPERS > 3
575
               #endif // E_STEPPERS > 3

+ 23
- 16
Marlin/src/feature/controllerfan.cpp View File

36
   if (ELAPSED(ms, nextMotorCheck)) {
36
   if (ELAPSED(ms, nextMotorCheck)) {
37
     nextMotorCheck = ms + 2500UL; // Not a time critical function, so only check every 2.5s
37
     nextMotorCheck = ms + 2500UL; // Not a time critical function, so only check every 2.5s
38
 
38
 
39
+    const bool xory = X_ENABLE_READ() == X_ENABLE_ON || Y_ENABLE_READ() == Y_ENABLE_ON;
40
+
39
     // If any of the drivers or the bed are enabled...
41
     // If any of the drivers or the bed are enabled...
40
-    if (X_ENABLE_READ == X_ENABLE_ON || Y_ENABLE_READ == Y_ENABLE_ON || Z_ENABLE_READ == Z_ENABLE_ON
42
+    if (xory || Z_ENABLE_READ() == Z_ENABLE_ON
41
       #if HAS_HEATED_BED
43
       #if HAS_HEATED_BED
42
         || thermalManager.temp_bed.soft_pwm_amount > 0
44
         || thermalManager.temp_bed.soft_pwm_amount > 0
43
       #endif
45
       #endif
44
         #if HAS_X2_ENABLE
46
         #if HAS_X2_ENABLE
45
-          || X2_ENABLE_READ == X_ENABLE_ON
47
+          || X2_ENABLE_READ() == X_ENABLE_ON
46
         #endif
48
         #endif
47
         #if HAS_Y2_ENABLE
49
         #if HAS_Y2_ENABLE
48
-          || Y2_ENABLE_READ == Y_ENABLE_ON
50
+          || Y2_ENABLE_READ() == Y_ENABLE_ON
49
         #endif
51
         #endif
50
         #if HAS_Z2_ENABLE
52
         #if HAS_Z2_ENABLE
51
-          || Z2_ENABLE_READ == Z_ENABLE_ON
53
+          || Z2_ENABLE_READ() == Z_ENABLE_ON
52
         #endif
54
         #endif
53
         #if HAS_Z3_ENABLE
55
         #if HAS_Z3_ENABLE
54
-          || Z3_ENABLE_READ == Z_ENABLE_ON
56
+          || Z3_ENABLE_READ() == Z_ENABLE_ON
55
         #endif
57
         #endif
56
         #if E_STEPPERS
58
         #if E_STEPPERS
57
-          || E0_ENABLE_READ == E_ENABLE_ON
59
+          || E0_ENABLE_READ() == E_ENABLE_ON
58
           #if E_STEPPERS > 1
60
           #if E_STEPPERS > 1
59
-            || E1_ENABLE_READ == E_ENABLE_ON
61
+            || E1_ENABLE_READ() == E_ENABLE_ON
60
             #if E_STEPPERS > 2
62
             #if E_STEPPERS > 2
61
-              || E2_ENABLE_READ == E_ENABLE_ON
63
+              || E2_ENABLE_READ() == E_ENABLE_ON
62
               #if E_STEPPERS > 3
64
               #if E_STEPPERS > 3
63
-                || E3_ENABLE_READ == E_ENABLE_ON
65
+                || E3_ENABLE_READ() == E_ENABLE_ON
64
                 #if E_STEPPERS > 4
66
                 #if E_STEPPERS > 4
65
-                  || E4_ENABLE_READ == E_ENABLE_ON
67
+                  || E4_ENABLE_READ() == E_ENABLE_ON
66
                   #if E_STEPPERS > 5
68
                   #if E_STEPPERS > 5
67
-                    || E5_ENABLE_READ == E_ENABLE_ON
69
+                    || E5_ENABLE_READ() == E_ENABLE_ON
68
                   #endif // E_STEPPERS > 5
70
                   #endif // E_STEPPERS > 5
69
                 #endif // E_STEPPERS > 4
71
                 #endif // E_STEPPERS > 4
70
               #endif // E_STEPPERS > 3
72
               #endif // E_STEPPERS > 3
76
     }
78
     }
77
 
79
 
78
     // Fan off if no steppers have been enabled for CONTROLLERFAN_SECS seconds
80
     // Fan off if no steppers have been enabled for CONTROLLERFAN_SECS seconds
79
-    uint8_t speed = (!lastMotorOn || ELAPSED(ms, lastMotorOn + (CONTROLLERFAN_SECS) * 1000UL)) ? 0 : CONTROLLERFAN_SPEED;
80
-    controllerfan_speed = speed;
81
+    controllerfan_speed = (!lastMotorOn || ELAPSED(ms, lastMotorOn + (CONTROLLERFAN_SECS) * 1000UL)) ? 0 : (
82
+      #ifdef CONTROLLERFAN_SPEED_Z_ONLY
83
+        xory ? CONTROLLERFAN_SPEED : CONTROLLERFAN_SPEED_Z_ONLY
84
+      #else
85
+        CONTROLLERFAN_SPEED
86
+      #endif
87
+    );
81
 
88
 
82
-    // allows digital or PWM fan output to be used (see M42 handling)
83
-    WRITE(CONTROLLER_FAN_PIN, speed);
84
-    analogWrite(pin_t(CONTROLLER_FAN_PIN), speed);
89
+    // Allow digital or PWM fan output (see M42 handling)
90
+    WRITE(CONTROLLER_FAN_PIN, controllerfan_speed);
91
+    analogWrite(pin_t(CONTROLLER_FAN_PIN), controllerfan_speed);
85
   }
92
   }
86
 }
93
 }
87
 
94
 

+ 10
- 10
Marlin/src/feature/power.cpp View File

55
   #endif
55
   #endif
56
 
56
 
57
   // If any of the drivers or the bed are enabled...
57
   // If any of the drivers or the bed are enabled...
58
-  if (X_ENABLE_READ == X_ENABLE_ON || Y_ENABLE_READ == Y_ENABLE_ON || Z_ENABLE_READ == Z_ENABLE_ON
58
+  if (X_ENABLE_READ() == X_ENABLE_ON || Y_ENABLE_READ() == Y_ENABLE_ON || Z_ENABLE_READ() == Z_ENABLE_ON
59
     #if HAS_HEATED_BED
59
     #if HAS_HEATED_BED
60
       || thermalManager.temp_bed.soft_pwm_amount > 0
60
       || thermalManager.temp_bed.soft_pwm_amount > 0
61
     #endif
61
     #endif
62
       #if HAS_X2_ENABLE
62
       #if HAS_X2_ENABLE
63
-        || X2_ENABLE_READ == X_ENABLE_ON
63
+        || X2_ENABLE_READ() == X_ENABLE_ON
64
       #endif
64
       #endif
65
       #if HAS_Y2_ENABLE
65
       #if HAS_Y2_ENABLE
66
-        || Y2_ENABLE_READ == Y_ENABLE_ON
66
+        || Y2_ENABLE_READ() == Y_ENABLE_ON
67
       #endif
67
       #endif
68
       #if HAS_Z2_ENABLE
68
       #if HAS_Z2_ENABLE
69
-        || Z2_ENABLE_READ == Z_ENABLE_ON
69
+        || Z2_ENABLE_READ() == Z_ENABLE_ON
70
       #endif
70
       #endif
71
       #if E_STEPPERS
71
       #if E_STEPPERS
72
-        || E0_ENABLE_READ == E_ENABLE_ON
72
+        || E0_ENABLE_READ() == E_ENABLE_ON
73
         #if E_STEPPERS > 1
73
         #if E_STEPPERS > 1
74
-          || E1_ENABLE_READ == E_ENABLE_ON
74
+          || E1_ENABLE_READ() == E_ENABLE_ON
75
           #if E_STEPPERS > 2
75
           #if E_STEPPERS > 2
76
-            || E2_ENABLE_READ == E_ENABLE_ON
76
+            || E2_ENABLE_READ() == E_ENABLE_ON
77
             #if E_STEPPERS > 3
77
             #if E_STEPPERS > 3
78
-              || E3_ENABLE_READ == E_ENABLE_ON
78
+              || E3_ENABLE_READ() == E_ENABLE_ON
79
               #if E_STEPPERS > 4
79
               #if E_STEPPERS > 4
80
-                || E4_ENABLE_READ == E_ENABLE_ON
80
+                || E4_ENABLE_READ() == E_ENABLE_ON
81
                 #if E_STEPPERS > 5
81
                 #if E_STEPPERS > 5
82
-                  || E5_ENABLE_READ == E_ENABLE_ON
82
+                  || E5_ENABLE_READ() == E_ENABLE_ON
83
                 #endif // E_STEPPERS > 5
83
                 #endif // E_STEPPERS > 5
84
               #endif // E_STEPPERS > 4
84
               #endif // E_STEPPERS > 4
85
             #endif // E_STEPPERS > 3
85
             #endif // E_STEPPERS > 3

+ 4
- 4
Marlin/src/module/stepper.cpp View File

2316
   #define EXTRA_CYCLES_BABYSTEP (STEP_PULSE_CYCLES - (CYCLES_EATEN_BABYSTEP))
2316
   #define EXTRA_CYCLES_BABYSTEP (STEP_PULSE_CYCLES - (CYCLES_EATEN_BABYSTEP))
2317
 
2317
 
2318
   #define _ENABLE(AXIS) enable_## AXIS()
2318
   #define _ENABLE(AXIS) enable_## AXIS()
2319
-  #define _READ_DIR(AXIS) AXIS ##_DIR_READ
2319
+  #define _READ_DIR(AXIS) AXIS ##_DIR_READ()
2320
   #define _INVERT_DIR(AXIS) INVERT_## AXIS ##_DIR
2320
   #define _INVERT_DIR(AXIS) INVERT_## AXIS ##_DIR
2321
   #define _APPLY_DIR(AXIS, INVERT) AXIS ##_APPLY_DIR(INVERT, true)
2321
   #define _APPLY_DIR(AXIS, INVERT) AXIS ##_APPLY_DIR(INVERT, true)
2322
 
2322
 
2404
           enable_Y();
2404
           enable_Y();
2405
           enable_Z();
2405
           enable_Z();
2406
 
2406
 
2407
-          const uint8_t old_x_dir_pin = X_DIR_READ,
2408
-                        old_y_dir_pin = Y_DIR_READ,
2409
-                        old_z_dir_pin = Z_DIR_READ;
2407
+          const uint8_t old_x_dir_pin = X_DIR_READ(),
2408
+                        old_y_dir_pin = Y_DIR_READ(),
2409
+                        old_z_dir_pin = Z_DIR_READ();
2410
 
2410
 
2411
           X_DIR_WRITE(INVERT_X_DIR ^ z_direction);
2411
           X_DIR_WRITE(INVERT_X_DIR ^ z_direction);
2412
           Y_DIR_WRITE(INVERT_Y_DIR ^ z_direction);
2412
           Y_DIR_WRITE(INVERT_Y_DIR ^ z_direction);

+ 78
- 78
Marlin/src/module/stepper_indirection.h View File

90
   extern L6470 stepperX;
90
   extern L6470 stepperX;
91
   #define X_ENABLE_INIT NOOP
91
   #define X_ENABLE_INIT NOOP
92
   #define X_ENABLE_WRITE(STATE) NOOP
92
   #define X_ENABLE_WRITE(STATE) NOOP
93
-  #define X_ENABLE_READ (stepperX.getStatus() & STATUS_HIZ)
93
+  #define X_ENABLE_READ() (stepperX.getStatus() & STATUS_HIZ)
94
   #define X_DIR_INIT NOOP
94
   #define X_DIR_INIT NOOP
95
   #define X_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,X)
95
   #define X_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,X)
96
-  #define X_DIR_READ (stepperX.getStatus() & STATUS_DIR)
96
+  #define X_DIR_READ() (stepperX.getStatus() & STATUS_DIR)
97
 #else
97
 #else
98
   #if AXIS_IS_TMC(X)
98
   #if AXIS_IS_TMC(X)
99
     extern TMC_CLASS(X, X) stepperX;
99
     extern TMC_CLASS(X, X) stepperX;
102
     extern TMC26XStepper stepperX;
102
     extern TMC26XStepper stepperX;
103
     #define X_ENABLE_INIT NOOP
103
     #define X_ENABLE_INIT NOOP
104
     #define X_ENABLE_WRITE(STATE) stepperX.setEnabled(STATE)
104
     #define X_ENABLE_WRITE(STATE) stepperX.setEnabled(STATE)
105
-    #define X_ENABLE_READ stepperX.isEnabled()
105
+    #define X_ENABLE_READ() stepperX.isEnabled()
106
   #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(X)
106
   #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(X)
107
     #define X_ENABLE_INIT NOOP
107
     #define X_ENABLE_INIT NOOP
108
     #define X_ENABLE_WRITE(STATE) stepperX.toff((STATE)==X_ENABLE_ON ? chopper_timing.toff : 0)
108
     #define X_ENABLE_WRITE(STATE) stepperX.toff((STATE)==X_ENABLE_ON ? chopper_timing.toff : 0)
109
-    #define X_ENABLE_READ stepperX.isEnabled()
109
+    #define X_ENABLE_READ() stepperX.isEnabled()
110
   #else
110
   #else
111
     #define X_ENABLE_INIT SET_OUTPUT(X_ENABLE_PIN)
111
     #define X_ENABLE_INIT SET_OUTPUT(X_ENABLE_PIN)
112
     #define X_ENABLE_WRITE(STATE) WRITE(X_ENABLE_PIN,STATE)
112
     #define X_ENABLE_WRITE(STATE) WRITE(X_ENABLE_PIN,STATE)
113
-    #define X_ENABLE_READ READ(X_ENABLE_PIN)
113
+    #define X_ENABLE_READ() READ(X_ENABLE_PIN)
114
   #endif
114
   #endif
115
   #define X_DIR_INIT SET_OUTPUT(X_DIR_PIN)
115
   #define X_DIR_INIT SET_OUTPUT(X_DIR_PIN)
116
   #define X_DIR_WRITE(STATE) WRITE(X_DIR_PIN,STATE)
116
   #define X_DIR_WRITE(STATE) WRITE(X_DIR_PIN,STATE)
117
-  #define X_DIR_READ READ(X_DIR_PIN)
117
+  #define X_DIR_READ() READ(X_DIR_PIN)
118
 #endif
118
 #endif
119
 #define X_STEP_INIT SET_OUTPUT(X_STEP_PIN)
119
 #define X_STEP_INIT SET_OUTPUT(X_STEP_PIN)
120
 #if AXIS_HAS_SQUARE_WAVE(X)
120
 #if AXIS_HAS_SQUARE_WAVE(X)
129
   extern L6470 stepperY;
129
   extern L6470 stepperY;
130
   #define Y_ENABLE_INIT NOOP
130
   #define Y_ENABLE_INIT NOOP
131
   #define Y_ENABLE_WRITE(STATE) NOOP
131
   #define Y_ENABLE_WRITE(STATE) NOOP
132
-  #define Y_ENABLE_READ (stepperY.getStatus() & STATUS_HIZ)
132
+  #define Y_ENABLE_READ() (stepperY.getStatus() & STATUS_HIZ)
133
   #define Y_DIR_INIT NOOP
133
   #define Y_DIR_INIT NOOP
134
   #define Y_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,Y)
134
   #define Y_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,Y)
135
-  #define Y_DIR_READ (stepperY.getStatus() & STATUS_DIR)
135
+  #define Y_DIR_READ() (stepperY.getStatus() & STATUS_DIR)
136
 #else
136
 #else
137
   #if AXIS_IS_TMC(Y)
137
   #if AXIS_IS_TMC(Y)
138
     extern TMC_CLASS(Y, Y) stepperY;
138
     extern TMC_CLASS(Y, Y) stepperY;
141
     extern TMC26XStepper stepperY;
141
     extern TMC26XStepper stepperY;
142
     #define Y_ENABLE_INIT NOOP
142
     #define Y_ENABLE_INIT NOOP
143
     #define Y_ENABLE_WRITE(STATE) stepperY.setEnabled(STATE)
143
     #define Y_ENABLE_WRITE(STATE) stepperY.setEnabled(STATE)
144
-    #define Y_ENABLE_READ stepperY.isEnabled()
144
+    #define Y_ENABLE_READ() stepperY.isEnabled()
145
   #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(Y)
145
   #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(Y)
146
     #define Y_ENABLE_INIT NOOP
146
     #define Y_ENABLE_INIT NOOP
147
     #define Y_ENABLE_WRITE(STATE) stepperY.toff((STATE)==Y_ENABLE_ON ? chopper_timing.toff : 0)
147
     #define Y_ENABLE_WRITE(STATE) stepperY.toff((STATE)==Y_ENABLE_ON ? chopper_timing.toff : 0)
148
-    #define Y_ENABLE_READ stepperY.isEnabled()
148
+    #define Y_ENABLE_READ() stepperY.isEnabled()
149
   #else
149
   #else
150
     #define Y_ENABLE_INIT SET_OUTPUT(Y_ENABLE_PIN)
150
     #define Y_ENABLE_INIT SET_OUTPUT(Y_ENABLE_PIN)
151
     #define Y_ENABLE_WRITE(STATE) WRITE(Y_ENABLE_PIN,STATE)
151
     #define Y_ENABLE_WRITE(STATE) WRITE(Y_ENABLE_PIN,STATE)
152
-    #define Y_ENABLE_READ READ(Y_ENABLE_PIN)
152
+    #define Y_ENABLE_READ() READ(Y_ENABLE_PIN)
153
   #endif
153
   #endif
154
   #define Y_DIR_INIT SET_OUTPUT(Y_DIR_PIN)
154
   #define Y_DIR_INIT SET_OUTPUT(Y_DIR_PIN)
155
   #define Y_DIR_WRITE(STATE) WRITE(Y_DIR_PIN,STATE)
155
   #define Y_DIR_WRITE(STATE) WRITE(Y_DIR_PIN,STATE)
156
-  #define Y_DIR_READ READ(Y_DIR_PIN)
156
+  #define Y_DIR_READ() READ(Y_DIR_PIN)
157
 #endif
157
 #endif
158
 #define Y_STEP_INIT SET_OUTPUT(Y_STEP_PIN)
158
 #define Y_STEP_INIT SET_OUTPUT(Y_STEP_PIN)
159
 #if AXIS_HAS_SQUARE_WAVE(Y)
159
 #if AXIS_HAS_SQUARE_WAVE(Y)
168
   extern L6470 stepperZ;
168
   extern L6470 stepperZ;
169
   #define Z_ENABLE_INIT NOOP
169
   #define Z_ENABLE_INIT NOOP
170
   #define Z_ENABLE_WRITE(STATE) NOOP
170
   #define Z_ENABLE_WRITE(STATE) NOOP
171
-  #define Z_ENABLE_READ (stepperZ.getStatus() & STATUS_HIZ)
171
+  #define Z_ENABLE_READ() (stepperZ.getStatus() & STATUS_HIZ)
172
   #define Z_DIR_INIT NOOP
172
   #define Z_DIR_INIT NOOP
173
   #define Z_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,Z)
173
   #define Z_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,Z)
174
-  #define Z_DIR_READ (stepperZ.getStatus() & STATUS_DIR)
174
+  #define Z_DIR_READ() (stepperZ.getStatus() & STATUS_DIR)
175
 #else
175
 #else
176
   #if AXIS_IS_TMC(Z)
176
   #if AXIS_IS_TMC(Z)
177
     extern TMC_CLASS(Z, Z) stepperZ;
177
     extern TMC_CLASS(Z, Z) stepperZ;
180
     extern TMC26XStepper stepperZ;
180
     extern TMC26XStepper stepperZ;
181
     #define Z_ENABLE_INIT NOOP
181
     #define Z_ENABLE_INIT NOOP
182
     #define Z_ENABLE_WRITE(STATE) stepperZ.setEnabled(STATE)
182
     #define Z_ENABLE_WRITE(STATE) stepperZ.setEnabled(STATE)
183
-    #define Z_ENABLE_READ stepperZ.isEnabled()
183
+    #define Z_ENABLE_READ() stepperZ.isEnabled()
184
   #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(Z)
184
   #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(Z)
185
     #define Z_ENABLE_INIT NOOP
185
     #define Z_ENABLE_INIT NOOP
186
     #define Z_ENABLE_WRITE(STATE) stepperZ.toff((STATE)==Z_ENABLE_ON ? chopper_timing.toff : 0)
186
     #define Z_ENABLE_WRITE(STATE) stepperZ.toff((STATE)==Z_ENABLE_ON ? chopper_timing.toff : 0)
187
-    #define Z_ENABLE_READ stepperZ.isEnabled()
187
+    #define Z_ENABLE_READ() stepperZ.isEnabled()
188
   #else
188
   #else
189
     #define Z_ENABLE_INIT SET_OUTPUT(Z_ENABLE_PIN)
189
     #define Z_ENABLE_INIT SET_OUTPUT(Z_ENABLE_PIN)
190
     #define Z_ENABLE_WRITE(STATE) WRITE(Z_ENABLE_PIN,STATE)
190
     #define Z_ENABLE_WRITE(STATE) WRITE(Z_ENABLE_PIN,STATE)
191
-    #define Z_ENABLE_READ READ(Z_ENABLE_PIN)
191
+    #define Z_ENABLE_READ() READ(Z_ENABLE_PIN)
192
   #endif
192
   #endif
193
   #define Z_DIR_INIT SET_OUTPUT(Z_DIR_PIN)
193
   #define Z_DIR_INIT SET_OUTPUT(Z_DIR_PIN)
194
   #define Z_DIR_WRITE(STATE) WRITE(Z_DIR_PIN,STATE)
194
   #define Z_DIR_WRITE(STATE) WRITE(Z_DIR_PIN,STATE)
195
-  #define Z_DIR_READ READ(Z_DIR_PIN)
195
+  #define Z_DIR_READ() READ(Z_DIR_PIN)
196
 #endif
196
 #endif
197
 #define Z_STEP_INIT SET_OUTPUT(Z_STEP_PIN)
197
 #define Z_STEP_INIT SET_OUTPUT(Z_STEP_PIN)
198
 #if AXIS_HAS_SQUARE_WAVE(Z)
198
 #if AXIS_HAS_SQUARE_WAVE(Z)
208
     extern L6470 stepperX2;
208
     extern L6470 stepperX2;
209
     #define X2_ENABLE_INIT NOOP
209
     #define X2_ENABLE_INIT NOOP
210
     #define X2_ENABLE_WRITE(STATE) NOOP
210
     #define X2_ENABLE_WRITE(STATE) NOOP
211
-    #define X2_ENABLE_READ (stepperX2.getStatus() & STATUS_HIZ)
211
+    #define X2_ENABLE_READ() (stepperX2.getStatus() & STATUS_HIZ)
212
     #define X2_DIR_INIT NOOP
212
     #define X2_DIR_INIT NOOP
213
     #define X2_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,X2)
213
     #define X2_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,X2)
214
-    #define X2_DIR_READ (stepperX2.getStatus() & STATUS_DIR)
214
+    #define X2_DIR_READ() (stepperX2.getStatus() & STATUS_DIR)
215
   #else
215
   #else
216
     #if AXIS_IS_TMC(X2)
216
     #if AXIS_IS_TMC(X2)
217
       extern TMC_CLASS(X2, X) stepperX2;
217
       extern TMC_CLASS(X2, X) stepperX2;
220
       extern TMC26XStepper stepperX2;
220
       extern TMC26XStepper stepperX2;
221
       #define X2_ENABLE_INIT NOOP
221
       #define X2_ENABLE_INIT NOOP
222
       #define X2_ENABLE_WRITE(STATE) stepperX2.setEnabled(STATE)
222
       #define X2_ENABLE_WRITE(STATE) stepperX2.setEnabled(STATE)
223
-      #define X2_ENABLE_READ stepperX2.isEnabled()
223
+      #define X2_ENABLE_READ() stepperX2.isEnabled()
224
     #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(X2)
224
     #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(X2)
225
       #define X2_ENABLE_INIT NOOP
225
       #define X2_ENABLE_INIT NOOP
226
       #define X2_ENABLE_WRITE(STATE) stepperX2.toff((STATE)==X_ENABLE_ON ? chopper_timing.toff : 0)
226
       #define X2_ENABLE_WRITE(STATE) stepperX2.toff((STATE)==X_ENABLE_ON ? chopper_timing.toff : 0)
227
-      #define X2_ENABLE_READ stepperX2.isEnabled()
227
+      #define X2_ENABLE_READ() stepperX2.isEnabled()
228
     #else
228
     #else
229
       #define X2_ENABLE_INIT SET_OUTPUT(X2_ENABLE_PIN)
229
       #define X2_ENABLE_INIT SET_OUTPUT(X2_ENABLE_PIN)
230
       #define X2_ENABLE_WRITE(STATE) WRITE(X2_ENABLE_PIN,STATE)
230
       #define X2_ENABLE_WRITE(STATE) WRITE(X2_ENABLE_PIN,STATE)
231
-      #define X2_ENABLE_READ READ(X2_ENABLE_PIN)
231
+      #define X2_ENABLE_READ() READ(X2_ENABLE_PIN)
232
     #endif
232
     #endif
233
     #define X2_DIR_INIT SET_OUTPUT(X2_DIR_PIN)
233
     #define X2_DIR_INIT SET_OUTPUT(X2_DIR_PIN)
234
     #define X2_DIR_WRITE(STATE) WRITE(X2_DIR_PIN,STATE)
234
     #define X2_DIR_WRITE(STATE) WRITE(X2_DIR_PIN,STATE)
235
-    #define X2_DIR_READ READ(X2_DIR_PIN)
235
+    #define X2_DIR_READ() READ(X2_DIR_PIN)
236
   #endif
236
   #endif
237
   #define X2_STEP_INIT SET_OUTPUT(X2_STEP_PIN)
237
   #define X2_STEP_INIT SET_OUTPUT(X2_STEP_PIN)
238
   #if AXIS_HAS_SQUARE_WAVE(X2)
238
   #if AXIS_HAS_SQUARE_WAVE(X2)
250
     extern L6470 stepperY2;
250
     extern L6470 stepperY2;
251
     #define Y2_ENABLE_INIT NOOP
251
     #define Y2_ENABLE_INIT NOOP
252
     #define Y2_ENABLE_WRITE(STATE) NOOP
252
     #define Y2_ENABLE_WRITE(STATE) NOOP
253
-    #define Y2_ENABLE_READ (stepperY2.getStatus() & STATUS_HIZ)
253
+    #define Y2_ENABLE_READ() (stepperY2.getStatus() & STATUS_HIZ)
254
     #define Y2_DIR_INIT NOOP
254
     #define Y2_DIR_INIT NOOP
255
     #define Y2_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,Y2)
255
     #define Y2_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,Y2)
256
-    #define Y2_DIR_READ (stepperY2.getStatus() & STATUS_DIR)
256
+    #define Y2_DIR_READ() (stepperY2.getStatus() & STATUS_DIR)
257
   #else
257
   #else
258
     #if AXIS_IS_TMC(Y2)
258
     #if AXIS_IS_TMC(Y2)
259
       extern TMC_CLASS(Y2, Y) stepperY2;
259
       extern TMC_CLASS(Y2, Y) stepperY2;
262
       extern TMC26XStepper stepperY2;
262
       extern TMC26XStepper stepperY2;
263
       #define Y2_ENABLE_INIT NOOP
263
       #define Y2_ENABLE_INIT NOOP
264
       #define Y2_ENABLE_WRITE(STATE) stepperY2.setEnabled(STATE)
264
       #define Y2_ENABLE_WRITE(STATE) stepperY2.setEnabled(STATE)
265
-      #define Y2_ENABLE_READ stepperY2.isEnabled()
265
+      #define Y2_ENABLE_READ() stepperY2.isEnabled()
266
     #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(Y2)
266
     #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(Y2)
267
       #define Y2_ENABLE_INIT NOOP
267
       #define Y2_ENABLE_INIT NOOP
268
       #define Y2_ENABLE_WRITE(STATE) stepperY2.toff((STATE)==Y_ENABLE_ON ? chopper_timing.toff : 0)
268
       #define Y2_ENABLE_WRITE(STATE) stepperY2.toff((STATE)==Y_ENABLE_ON ? chopper_timing.toff : 0)
269
-      #define Y2_ENABLE_READ stepperY2.isEnabled()
269
+      #define Y2_ENABLE_READ() stepperY2.isEnabled()
270
     #else
270
     #else
271
       #define Y2_ENABLE_INIT SET_OUTPUT(Y2_ENABLE_PIN)
271
       #define Y2_ENABLE_INIT SET_OUTPUT(Y2_ENABLE_PIN)
272
       #define Y2_ENABLE_WRITE(STATE) WRITE(Y2_ENABLE_PIN,STATE)
272
       #define Y2_ENABLE_WRITE(STATE) WRITE(Y2_ENABLE_PIN,STATE)
273
-      #define Y2_ENABLE_READ READ(Y2_ENABLE_PIN)
273
+      #define Y2_ENABLE_READ() READ(Y2_ENABLE_PIN)
274
     #endif
274
     #endif
275
     #define Y2_DIR_INIT SET_OUTPUT(Y2_DIR_PIN)
275
     #define Y2_DIR_INIT SET_OUTPUT(Y2_DIR_PIN)
276
     #define Y2_DIR_WRITE(STATE) WRITE(Y2_DIR_PIN,STATE)
276
     #define Y2_DIR_WRITE(STATE) WRITE(Y2_DIR_PIN,STATE)
277
-    #define Y2_DIR_READ READ(Y2_DIR_PIN)
277
+    #define Y2_DIR_READ() READ(Y2_DIR_PIN)
278
   #endif
278
   #endif
279
   #define Y2_STEP_INIT SET_OUTPUT(Y2_STEP_PIN)
279
   #define Y2_STEP_INIT SET_OUTPUT(Y2_STEP_PIN)
280
   #if AXIS_HAS_SQUARE_WAVE(Y2)
280
   #if AXIS_HAS_SQUARE_WAVE(Y2)
294
     extern L6470 stepperZ2;
294
     extern L6470 stepperZ2;
295
     #define Z2_ENABLE_INIT NOOP
295
     #define Z2_ENABLE_INIT NOOP
296
     #define Z2_ENABLE_WRITE(STATE) NOOP
296
     #define Z2_ENABLE_WRITE(STATE) NOOP
297
-    #define Z2_ENABLE_READ (stepperZ2.getStatus() & STATUS_HIZ)
297
+    #define Z2_ENABLE_READ() (stepperZ2.getStatus() & STATUS_HIZ)
298
     #define Z2_DIR_INIT NOOP
298
     #define Z2_DIR_INIT NOOP
299
     #define Z2_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,Z2)
299
     #define Z2_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,Z2)
300
-    #define Z2_DIR_READ (stepperZ2.getStatus() & STATUS_DIR)
300
+    #define Z2_DIR_READ() (stepperZ2.getStatus() & STATUS_DIR)
301
   #else
301
   #else
302
     #if AXIS_IS_TMC(Z2)
302
     #if AXIS_IS_TMC(Z2)
303
       extern TMC_CLASS(Z2, Z) stepperZ2;
303
       extern TMC_CLASS(Z2, Z) stepperZ2;
306
       extern TMC26XStepper stepperZ2;
306
       extern TMC26XStepper stepperZ2;
307
       #define Z2_ENABLE_INIT NOOP
307
       #define Z2_ENABLE_INIT NOOP
308
       #define Z2_ENABLE_WRITE(STATE) stepperZ2.setEnabled(STATE)
308
       #define Z2_ENABLE_WRITE(STATE) stepperZ2.setEnabled(STATE)
309
-      #define Z2_ENABLE_READ stepperZ2.isEnabled()
309
+      #define Z2_ENABLE_READ() stepperZ2.isEnabled()
310
     #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(Z2)
310
     #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(Z2)
311
       #define Z2_ENABLE_INIT NOOP
311
       #define Z2_ENABLE_INIT NOOP
312
       #define Z2_ENABLE_WRITE(STATE) stepperZ2.toff((STATE)==Z_ENABLE_ON ? chopper_timing.toff : 0)
312
       #define Z2_ENABLE_WRITE(STATE) stepperZ2.toff((STATE)==Z_ENABLE_ON ? chopper_timing.toff : 0)
313
-      #define Z2_ENABLE_READ stepperZ2.isEnabled()
313
+      #define Z2_ENABLE_READ() stepperZ2.isEnabled()
314
     #else
314
     #else
315
       #define Z2_ENABLE_INIT SET_OUTPUT(Z2_ENABLE_PIN)
315
       #define Z2_ENABLE_INIT SET_OUTPUT(Z2_ENABLE_PIN)
316
       #define Z2_ENABLE_WRITE(STATE) WRITE(Z2_ENABLE_PIN,STATE)
316
       #define Z2_ENABLE_WRITE(STATE) WRITE(Z2_ENABLE_PIN,STATE)
317
-      #define Z2_ENABLE_READ READ(Z2_ENABLE_PIN)
317
+      #define Z2_ENABLE_READ() READ(Z2_ENABLE_PIN)
318
     #endif
318
     #endif
319
     #define Z2_DIR_INIT SET_OUTPUT(Z2_DIR_PIN)
319
     #define Z2_DIR_INIT SET_OUTPUT(Z2_DIR_PIN)
320
     #define Z2_DIR_WRITE(STATE) WRITE(Z2_DIR_PIN,STATE)
320
     #define Z2_DIR_WRITE(STATE) WRITE(Z2_DIR_PIN,STATE)
321
-    #define Z2_DIR_READ READ(Z2_DIR_PIN)
321
+    #define Z2_DIR_READ() READ(Z2_DIR_PIN)
322
   #endif
322
   #endif
323
   #define Z2_STEP_INIT SET_OUTPUT(Z2_STEP_PIN)
323
   #define Z2_STEP_INIT SET_OUTPUT(Z2_STEP_PIN)
324
   #if AXIS_HAS_SQUARE_WAVE(Z2)
324
   #if AXIS_HAS_SQUARE_WAVE(Z2)
338
     extern L6470 stepperZ3;
338
     extern L6470 stepperZ3;
339
     #define Z3_ENABLE_INIT NOOP
339
     #define Z3_ENABLE_INIT NOOP
340
     #define Z3_ENABLE_WRITE(STATE) NOOP
340
     #define Z3_ENABLE_WRITE(STATE) NOOP
341
-    #define Z3_ENABLE_READ (stepperZ3.getStatus() & STATUS_HIZ)
341
+    #define Z3_ENABLE_READ() (stepperZ3.getStatus() & STATUS_HIZ)
342
     #define Z3_DIR_INIT NOOP
342
     #define Z3_DIR_INIT NOOP
343
     #define Z3_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,Z3)
343
     #define Z3_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,Z3)
344
-    #define Z3_DIR_READ (stepperZ3.getStatus() & STATUS_DIR)
344
+    #define Z3_DIR_READ() (stepperZ3.getStatus() & STATUS_DIR)
345
   #else
345
   #else
346
     #if AXIS_IS_TMC(Z3)
346
     #if AXIS_IS_TMC(Z3)
347
       extern TMC_CLASS(Z3, Z) stepperZ3;
347
       extern TMC_CLASS(Z3, Z) stepperZ3;
350
       extern TMC26XStepper stepperZ3;
350
       extern TMC26XStepper stepperZ3;
351
       #define Z3_ENABLE_INIT NOOP
351
       #define Z3_ENABLE_INIT NOOP
352
       #define Z3_ENABLE_WRITE(STATE) stepperZ3.setEnabled(STATE)
352
       #define Z3_ENABLE_WRITE(STATE) stepperZ3.setEnabled(STATE)
353
-      #define Z3_ENABLE_READ stepperZ3.isEnabled()
353
+      #define Z3_ENABLE_READ() stepperZ3.isEnabled()
354
     #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(Z3)
354
     #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(Z3)
355
       #define Z3_ENABLE_INIT NOOP
355
       #define Z3_ENABLE_INIT NOOP
356
       #define Z3_ENABLE_WRITE(STATE) stepperZ3.toff((STATE)==Z_ENABLE_ON ? chopper_timing.toff : 0)
356
       #define Z3_ENABLE_WRITE(STATE) stepperZ3.toff((STATE)==Z_ENABLE_ON ? chopper_timing.toff : 0)
357
-      #define Z3_ENABLE_READ stepperZ3.isEnabled()
357
+      #define Z3_ENABLE_READ() stepperZ3.isEnabled()
358
     #else
358
     #else
359
       #define Z3_ENABLE_INIT SET_OUTPUT(Z3_ENABLE_PIN)
359
       #define Z3_ENABLE_INIT SET_OUTPUT(Z3_ENABLE_PIN)
360
       #define Z3_ENABLE_WRITE(STATE) WRITE(Z3_ENABLE_PIN,STATE)
360
       #define Z3_ENABLE_WRITE(STATE) WRITE(Z3_ENABLE_PIN,STATE)
361
-      #define Z3_ENABLE_READ READ(Z3_ENABLE_PIN)
361
+      #define Z3_ENABLE_READ() READ(Z3_ENABLE_PIN)
362
     #endif
362
     #endif
363
     #define Z3_DIR_INIT SET_OUTPUT(Z3_DIR_PIN)
363
     #define Z3_DIR_INIT SET_OUTPUT(Z3_DIR_PIN)
364
     #define Z3_DIR_WRITE(STATE) WRITE(Z3_DIR_PIN,STATE)
364
     #define Z3_DIR_WRITE(STATE) WRITE(Z3_DIR_PIN,STATE)
365
-    #define Z3_DIR_READ READ(Z3_DIR_PIN)
365
+    #define Z3_DIR_READ() READ(Z3_DIR_PIN)
366
   #endif
366
   #endif
367
   #define Z3_STEP_INIT SET_OUTPUT(Z3_STEP_PIN)
367
   #define Z3_STEP_INIT SET_OUTPUT(Z3_STEP_PIN)
368
   #if AXIS_HAS_SQUARE_WAVE(Z3)
368
   #if AXIS_HAS_SQUARE_WAVE(Z3)
381
   extern L6470 stepperE0;
381
   extern L6470 stepperE0;
382
   #define E0_ENABLE_INIT NOOP
382
   #define E0_ENABLE_INIT NOOP
383
   #define E0_ENABLE_WRITE(STATE) NOOP
383
   #define E0_ENABLE_WRITE(STATE) NOOP
384
-  #define E0_ENABLE_READ (stepperE0.getStatus() & STATUS_HIZ)
384
+  #define E0_ENABLE_READ() (stepperE0.getStatus() & STATUS_HIZ)
385
   #define E0_DIR_INIT NOOP
385
   #define E0_DIR_INIT NOOP
386
   #define E0_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,E0)
386
   #define E0_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,E0)
387
-  #define E0_DIR_READ (stepperE0.getStatus() & STATUS_DIR)
387
+  #define E0_DIR_READ() (stepperE0.getStatus() & STATUS_DIR)
388
 #else
388
 #else
389
   #if AXIS_IS_TMC(E0)
389
   #if AXIS_IS_TMC(E0)
390
     extern TMC_CLASS_E(0) stepperE0;
390
     extern TMC_CLASS_E(0) stepperE0;
393
     extern TMC26XStepper stepperE0;
393
     extern TMC26XStepper stepperE0;
394
     #define E0_ENABLE_INIT NOOP
394
     #define E0_ENABLE_INIT NOOP
395
     #define E0_ENABLE_WRITE(STATE) stepperE0.setEnabled(STATE)
395
     #define E0_ENABLE_WRITE(STATE) stepperE0.setEnabled(STATE)
396
-    #define E0_ENABLE_READ stepperE0.isEnabled()
396
+    #define E0_ENABLE_READ() stepperE0.isEnabled()
397
   #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(E0)
397
   #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(E0)
398
     #define E0_ENABLE_INIT NOOP
398
     #define E0_ENABLE_INIT NOOP
399
     #define E0_ENABLE_WRITE(STATE) stepperE0.toff((STATE)==E_ENABLE_ON ? chopper_timing.toff : 0)
399
     #define E0_ENABLE_WRITE(STATE) stepperE0.toff((STATE)==E_ENABLE_ON ? chopper_timing.toff : 0)
400
-    #define E0_ENABLE_READ stepperE0.isEnabled()
400
+    #define E0_ENABLE_READ() stepperE0.isEnabled()
401
   #else
401
   #else
402
     #define E0_ENABLE_INIT SET_OUTPUT(E0_ENABLE_PIN)
402
     #define E0_ENABLE_INIT SET_OUTPUT(E0_ENABLE_PIN)
403
     #define E0_ENABLE_WRITE(STATE) WRITE(E0_ENABLE_PIN,STATE)
403
     #define E0_ENABLE_WRITE(STATE) WRITE(E0_ENABLE_PIN,STATE)
404
-    #define E0_ENABLE_READ READ(E0_ENABLE_PIN)
404
+    #define E0_ENABLE_READ() READ(E0_ENABLE_PIN)
405
   #endif
405
   #endif
406
   #define E0_DIR_INIT SET_OUTPUT(E0_DIR_PIN)
406
   #define E0_DIR_INIT SET_OUTPUT(E0_DIR_PIN)
407
   #define E0_DIR_WRITE(STATE) WRITE(E0_DIR_PIN,STATE)
407
   #define E0_DIR_WRITE(STATE) WRITE(E0_DIR_PIN,STATE)
408
-  #define E0_DIR_READ READ(E0_DIR_PIN)
408
+  #define E0_DIR_READ() READ(E0_DIR_PIN)
409
 #endif
409
 #endif
410
 #define E0_STEP_INIT SET_OUTPUT(E0_STEP_PIN)
410
 #define E0_STEP_INIT SET_OUTPUT(E0_STEP_PIN)
411
 #if AXIS_HAS_SQUARE_WAVE(E0)
411
 #if AXIS_HAS_SQUARE_WAVE(E0)
420
   extern L6470 stepperE1;
420
   extern L6470 stepperE1;
421
   #define E1_ENABLE_INIT NOOP
421
   #define E1_ENABLE_INIT NOOP
422
   #define E1_ENABLE_WRITE(STATE) NOOP
422
   #define E1_ENABLE_WRITE(STATE) NOOP
423
-  #define E1_ENABLE_READ (stepperE1.getStatus() & STATUS_HIZ)
423
+  #define E1_ENABLE_READ() (stepperE1.getStatus() & STATUS_HIZ)
424
   #define E1_DIR_INIT NOOP
424
   #define E1_DIR_INIT NOOP
425
   #define E1_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,E1)
425
   #define E1_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,E1)
426
-  #define E1_DIR_READ (stepperE1.getStatus() & STATUS_DIR)
426
+  #define E1_DIR_READ() (stepperE1.getStatus() & STATUS_DIR)
427
 #else
427
 #else
428
   #if AXIS_IS_TMC(E1)
428
   #if AXIS_IS_TMC(E1)
429
     extern TMC_CLASS_E(1) stepperE1;
429
     extern TMC_CLASS_E(1) stepperE1;
432
     extern TMC26XStepper stepperE1;
432
     extern TMC26XStepper stepperE1;
433
     #define E1_ENABLE_INIT NOOP
433
     #define E1_ENABLE_INIT NOOP
434
     #define E1_ENABLE_WRITE(STATE) stepperE1.setEnabled(STATE)
434
     #define E1_ENABLE_WRITE(STATE) stepperE1.setEnabled(STATE)
435
-    #define E1_ENABLE_READ stepperE1.isEnabled()
435
+    #define E1_ENABLE_READ() stepperE1.isEnabled()
436
   #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(E1)
436
   #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(E1)
437
     #define E1_ENABLE_INIT NOOP
437
     #define E1_ENABLE_INIT NOOP
438
     #define E1_ENABLE_WRITE(STATE) stepperE1.toff((STATE)==E_ENABLE_ON ? chopper_timing.toff : 0)
438
     #define E1_ENABLE_WRITE(STATE) stepperE1.toff((STATE)==E_ENABLE_ON ? chopper_timing.toff : 0)
439
-    #define E1_ENABLE_READ stepperE1.isEnabled()
439
+    #define E1_ENABLE_READ() stepperE1.isEnabled()
440
   #else
440
   #else
441
     #define E1_ENABLE_INIT SET_OUTPUT(E1_ENABLE_PIN)
441
     #define E1_ENABLE_INIT SET_OUTPUT(E1_ENABLE_PIN)
442
     #define E1_ENABLE_WRITE(STATE) WRITE(E1_ENABLE_PIN,STATE)
442
     #define E1_ENABLE_WRITE(STATE) WRITE(E1_ENABLE_PIN,STATE)
443
-    #define E1_ENABLE_READ READ(E1_ENABLE_PIN)
443
+    #define E1_ENABLE_READ() READ(E1_ENABLE_PIN)
444
   #endif
444
   #endif
445
   #define E1_DIR_INIT SET_OUTPUT(E1_DIR_PIN)
445
   #define E1_DIR_INIT SET_OUTPUT(E1_DIR_PIN)
446
   #define E1_DIR_WRITE(STATE) WRITE(E1_DIR_PIN,STATE)
446
   #define E1_DIR_WRITE(STATE) WRITE(E1_DIR_PIN,STATE)
447
-  #define E1_DIR_READ READ(E1_DIR_PIN)
447
+  #define E1_DIR_READ() READ(E1_DIR_PIN)
448
 #endif
448
 #endif
449
 #define E1_STEP_INIT SET_OUTPUT(E1_STEP_PIN)
449
 #define E1_STEP_INIT SET_OUTPUT(E1_STEP_PIN)
450
 #if AXIS_HAS_SQUARE_WAVE(E1)
450
 #if AXIS_HAS_SQUARE_WAVE(E1)
459
   extern L6470 stepperE2;
459
   extern L6470 stepperE2;
460
   #define E2_ENABLE_INIT NOOP
460
   #define E2_ENABLE_INIT NOOP
461
   #define E2_ENABLE_WRITE(STATE) NOOP
461
   #define E2_ENABLE_WRITE(STATE) NOOP
462
-  #define E2_ENABLE_READ (stepperE2.getStatus() & STATUS_HIZ)
462
+  #define E2_ENABLE_READ() (stepperE2.getStatus() & STATUS_HIZ)
463
   #define E2_DIR_INIT NOOP
463
   #define E2_DIR_INIT NOOP
464
   #define E2_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,E2)
464
   #define E2_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,E2)
465
-  #define E2_DIR_READ (stepperE2.getStatus() & STATUS_DIR)
465
+  #define E2_DIR_READ() (stepperE2.getStatus() & STATUS_DIR)
466
 #else
466
 #else
467
   #if AXIS_IS_TMC(E2)
467
   #if AXIS_IS_TMC(E2)
468
     extern TMC_CLASS_E(2) stepperE2;
468
     extern TMC_CLASS_E(2) stepperE2;
471
     extern TMC26XStepper stepperE2;
471
     extern TMC26XStepper stepperE2;
472
     #define E2_ENABLE_INIT NOOP
472
     #define E2_ENABLE_INIT NOOP
473
     #define E2_ENABLE_WRITE(STATE) stepperE2.setEnabled(STATE)
473
     #define E2_ENABLE_WRITE(STATE) stepperE2.setEnabled(STATE)
474
-    #define E2_ENABLE_READ stepperE2.isEnabled()
474
+    #define E2_ENABLE_READ() stepperE2.isEnabled()
475
   #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(E2)
475
   #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(E2)
476
     #define E2_ENABLE_INIT NOOP
476
     #define E2_ENABLE_INIT NOOP
477
     #define E2_ENABLE_WRITE(STATE) stepperE2.toff((STATE)==E_ENABLE_ON ? chopper_timing.toff : 0)
477
     #define E2_ENABLE_WRITE(STATE) stepperE2.toff((STATE)==E_ENABLE_ON ? chopper_timing.toff : 0)
478
-    #define E2_ENABLE_READ stepperE2.isEnabled()
478
+    #define E2_ENABLE_READ() stepperE2.isEnabled()
479
   #else
479
   #else
480
     #define E2_ENABLE_INIT SET_OUTPUT(E2_ENABLE_PIN)
480
     #define E2_ENABLE_INIT SET_OUTPUT(E2_ENABLE_PIN)
481
     #define E2_ENABLE_WRITE(STATE) WRITE(E2_ENABLE_PIN,STATE)
481
     #define E2_ENABLE_WRITE(STATE) WRITE(E2_ENABLE_PIN,STATE)
482
-    #define E2_ENABLE_READ READ(E2_ENABLE_PIN)
482
+    #define E2_ENABLE_READ() READ(E2_ENABLE_PIN)
483
   #endif
483
   #endif
484
   #define E2_DIR_INIT SET_OUTPUT(E2_DIR_PIN)
484
   #define E2_DIR_INIT SET_OUTPUT(E2_DIR_PIN)
485
   #define E2_DIR_WRITE(STATE) WRITE(E2_DIR_PIN,STATE)
485
   #define E2_DIR_WRITE(STATE) WRITE(E2_DIR_PIN,STATE)
486
-  #define E2_DIR_READ READ(E2_DIR_PIN)
486
+  #define E2_DIR_READ() READ(E2_DIR_PIN)
487
 #endif
487
 #endif
488
 #define E2_STEP_INIT SET_OUTPUT(E2_STEP_PIN)
488
 #define E2_STEP_INIT SET_OUTPUT(E2_STEP_PIN)
489
 #if AXIS_HAS_SQUARE_WAVE(E2)
489
 #if AXIS_HAS_SQUARE_WAVE(E2)
498
   extern L6470 stepperE3;
498
   extern L6470 stepperE3;
499
   #define E3_ENABLE_INIT NOOP
499
   #define E3_ENABLE_INIT NOOP
500
   #define E3_ENABLE_WRITE(STATE) NOOP
500
   #define E3_ENABLE_WRITE(STATE) NOOP
501
-  #define E3_ENABLE_READ (stepperE3.getStatus() & STATUS_HIZ)
501
+  #define E3_ENABLE_READ() (stepperE3.getStatus() & STATUS_HIZ)
502
   #define E3_DIR_INIT NOOP
502
   #define E3_DIR_INIT NOOP
503
   #define E3_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,E3)
503
   #define E3_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,E3)
504
-  #define E3_DIR_READ (stepperE3.getStatus() & STATUS_DIR)
504
+  #define E3_DIR_READ() (stepperE3.getStatus() & STATUS_DIR)
505
 #else
505
 #else
506
   #if AXIS_IS_TMC(E3)
506
   #if AXIS_IS_TMC(E3)
507
     extern TMC_CLASS_E(3) stepperE3;
507
     extern TMC_CLASS_E(3) stepperE3;
510
     extern TMC26XStepper stepperE3;
510
     extern TMC26XStepper stepperE3;
511
     #define E3_ENABLE_INIT NOOP
511
     #define E3_ENABLE_INIT NOOP
512
     #define E3_ENABLE_WRITE(STATE) stepperE3.setEnabled(STATE)
512
     #define E3_ENABLE_WRITE(STATE) stepperE3.setEnabled(STATE)
513
-    #define E3_ENABLE_READ stepperE3.isEnabled()
513
+    #define E3_ENABLE_READ() stepperE3.isEnabled()
514
   #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(E3)
514
   #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(E3)
515
     #define E3_ENABLE_INIT NOOP
515
     #define E3_ENABLE_INIT NOOP
516
     #define E3_ENABLE_WRITE(STATE) stepperE3.toff((STATE)==E_ENABLE_ON ? chopper_timing.toff : 0)
516
     #define E3_ENABLE_WRITE(STATE) stepperE3.toff((STATE)==E_ENABLE_ON ? chopper_timing.toff : 0)
517
-    #define E3_ENABLE_READ stepperE3.isEnabled()
517
+    #define E3_ENABLE_READ() stepperE3.isEnabled()
518
   #else
518
   #else
519
     #define E3_ENABLE_INIT SET_OUTPUT(E3_ENABLE_PIN)
519
     #define E3_ENABLE_INIT SET_OUTPUT(E3_ENABLE_PIN)
520
     #define E3_ENABLE_WRITE(STATE) WRITE(E3_ENABLE_PIN,STATE)
520
     #define E3_ENABLE_WRITE(STATE) WRITE(E3_ENABLE_PIN,STATE)
521
-    #define E3_ENABLE_READ READ(E3_ENABLE_PIN)
521
+    #define E3_ENABLE_READ() READ(E3_ENABLE_PIN)
522
   #endif
522
   #endif
523
   #define E3_DIR_INIT SET_OUTPUT(E3_DIR_PIN)
523
   #define E3_DIR_INIT SET_OUTPUT(E3_DIR_PIN)
524
   #define E3_DIR_WRITE(STATE) WRITE(E3_DIR_PIN,STATE)
524
   #define E3_DIR_WRITE(STATE) WRITE(E3_DIR_PIN,STATE)
525
-  #define E3_DIR_READ READ(E3_DIR_PIN)
525
+  #define E3_DIR_READ() READ(E3_DIR_PIN)
526
 #endif
526
 #endif
527
 #define E3_STEP_INIT SET_OUTPUT(E3_STEP_PIN)
527
 #define E3_STEP_INIT SET_OUTPUT(E3_STEP_PIN)
528
 #if AXIS_HAS_SQUARE_WAVE(E3)
528
 #if AXIS_HAS_SQUARE_WAVE(E3)
537
   extern L6470 stepperE4;
537
   extern L6470 stepperE4;
538
   #define E4_ENABLE_INIT NOOP
538
   #define E4_ENABLE_INIT NOOP
539
   #define E4_ENABLE_WRITE(STATE) NOOP
539
   #define E4_ENABLE_WRITE(STATE) NOOP
540
-  #define E4_ENABLE_READ (stepperE4.getStatus() & STATUS_HIZ)
540
+  #define E4_ENABLE_READ() (stepperE4.getStatus() & STATUS_HIZ)
541
   #define E4_DIR_INIT NOOP
541
   #define E4_DIR_INIT NOOP
542
   #define E4_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,E4)
542
   #define E4_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,E4)
543
-  #define E4_DIR_READ (stepperE4.getStatus() & STATUS_DIR)
543
+  #define E4_DIR_READ() (stepperE4.getStatus() & STATUS_DIR)
544
 #else
544
 #else
545
   #if AXIS_IS_TMC(E4)
545
   #if AXIS_IS_TMC(E4)
546
     extern TMC_CLASS_E(4) stepperE4;
546
     extern TMC_CLASS_E(4) stepperE4;
549
     extern TMC26XStepper stepperE4;
549
     extern TMC26XStepper stepperE4;
550
     #define E4_ENABLE_INIT NOOP
550
     #define E4_ENABLE_INIT NOOP
551
     #define E4_ENABLE_WRITE(STATE) stepperE4.setEnabled(STATE)
551
     #define E4_ENABLE_WRITE(STATE) stepperE4.setEnabled(STATE)
552
-    #define E4_ENABLE_READ stepperE4.isEnabled()
552
+    #define E4_ENABLE_READ() stepperE4.isEnabled()
553
   #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(E4)
553
   #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(E4)
554
     #define E4_ENABLE_INIT NOOP
554
     #define E4_ENABLE_INIT NOOP
555
     #define E4_ENABLE_WRITE(STATE) stepperE4.toff((STATE)==E_ENABLE_ON ? chopper_timing.toff : 0)
555
     #define E4_ENABLE_WRITE(STATE) stepperE4.toff((STATE)==E_ENABLE_ON ? chopper_timing.toff : 0)
556
-    #define E4_ENABLE_READ stepperE4.isEnabled()
556
+    #define E4_ENABLE_READ() stepperE4.isEnabled()
557
   #else
557
   #else
558
     #define E4_ENABLE_INIT SET_OUTPUT(E4_ENABLE_PIN)
558
     #define E4_ENABLE_INIT SET_OUTPUT(E4_ENABLE_PIN)
559
     #define E4_ENABLE_WRITE(STATE) WRITE(E4_ENABLE_PIN,STATE)
559
     #define E4_ENABLE_WRITE(STATE) WRITE(E4_ENABLE_PIN,STATE)
560
-    #define E4_ENABLE_READ READ(E4_ENABLE_PIN)
560
+    #define E4_ENABLE_READ() READ(E4_ENABLE_PIN)
561
   #endif
561
   #endif
562
   #define E4_DIR_INIT SET_OUTPUT(E4_DIR_PIN)
562
   #define E4_DIR_INIT SET_OUTPUT(E4_DIR_PIN)
563
   #define E4_DIR_WRITE(STATE) WRITE(E4_DIR_PIN,STATE)
563
   #define E4_DIR_WRITE(STATE) WRITE(E4_DIR_PIN,STATE)
564
-  #define E4_DIR_READ READ(E4_DIR_PIN)
564
+  #define E4_DIR_READ() READ(E4_DIR_PIN)
565
 #endif
565
 #endif
566
 #define E4_STEP_INIT SET_OUTPUT(E4_STEP_PIN)
566
 #define E4_STEP_INIT SET_OUTPUT(E4_STEP_PIN)
567
 #if AXIS_HAS_SQUARE_WAVE(E4)
567
 #if AXIS_HAS_SQUARE_WAVE(E4)
576
   extern L6470 stepperE5;
576
   extern L6470 stepperE5;
577
   #define E5_ENABLE_INIT NOOP
577
   #define E5_ENABLE_INIT NOOP
578
   #define E5_ENABLE_WRITE(STATE) NOOP
578
   #define E5_ENABLE_WRITE(STATE) NOOP
579
-  #define E5_ENABLE_READ (stepperE5.getStatus() & STATUS_HIZ)
579
+  #define E5_ENABLE_READ() (stepperE5.getStatus() & STATUS_HIZ)
580
   #define E5_DIR_INIT NOOP
580
   #define E5_DIR_INIT NOOP
581
   #define E5_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,E5)
581
   #define E5_DIR_WRITE(STATE) L6470_WRITE_DIR_COMMAND(STATE,E5)
582
-  #define E5_DIR_READ (stepperE5.getStatus() & STATUS_DIR)
582
+  #define E5_DIR_READ() (stepperE5.getStatus() & STATUS_DIR)
583
 #else
583
 #else
584
   #if AXIS_IS_TMC(E5)
584
   #if AXIS_IS_TMC(E5)
585
     extern TMC_CLASS_E(5) stepperE5;
585
     extern TMC_CLASS_E(5) stepperE5;
588
     extern TMC26XStepper stepperE5;
588
     extern TMC26XStepper stepperE5;
589
     #define E5_ENABLE_INIT NOOP
589
     #define E5_ENABLE_INIT NOOP
590
     #define E5_ENABLE_WRITE(STATE) stepperE5.setEnabled(STATE)
590
     #define E5_ENABLE_WRITE(STATE) stepperE5.setEnabled(STATE)
591
-    #define E5_ENABLE_READ stepperE5.isEnabled()
591
+    #define E5_ENABLE_READ() stepperE5.isEnabled()
592
   #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(E5)
592
   #elif ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(E5)
593
     #define E5_ENABLE_INIT NOOP
593
     #define E5_ENABLE_INIT NOOP
594
     #define E5_ENABLE_WRITE(STATE) stepperE5.toff((STATE)==E_ENABLE_ON ? chopper_timing.toff : 0)
594
     #define E5_ENABLE_WRITE(STATE) stepperE5.toff((STATE)==E_ENABLE_ON ? chopper_timing.toff : 0)
595
-    #define E5_ENABLE_READ stepperE5.isEnabled()
595
+    #define E5_ENABLE_READ() stepperE5.isEnabled()
596
   #else
596
   #else
597
     #define E5_ENABLE_INIT SET_OUTPUT(E5_ENABLE_PIN)
597
     #define E5_ENABLE_INIT SET_OUTPUT(E5_ENABLE_PIN)
598
     #define E5_ENABLE_WRITE(STATE) WRITE(E5_ENABLE_PIN,STATE)
598
     #define E5_ENABLE_WRITE(STATE) WRITE(E5_ENABLE_PIN,STATE)
599
-    #define E5_ENABLE_READ READ(E5_ENABLE_PIN)
599
+    #define E5_ENABLE_READ() READ(E5_ENABLE_PIN)
600
   #endif
600
   #endif
601
   #define E5_DIR_INIT SET_OUTPUT(E5_DIR_PIN)
601
   #define E5_DIR_INIT SET_OUTPUT(E5_DIR_PIN)
602
   #define E5_DIR_WRITE(STATE) WRITE(E5_DIR_PIN,STATE)
602
   #define E5_DIR_WRITE(STATE) WRITE(E5_DIR_PIN,STATE)
603
-  #define E5_DIR_READ READ(E5_DIR_PIN)
603
+  #define E5_DIR_READ() READ(E5_DIR_PIN)
604
 #endif
604
 #endif
605
 #define E5_STEP_INIT SET_OUTPUT(E5_STEP_PIN)
605
 #define E5_STEP_INIT SET_OUTPUT(E5_STEP_PIN)
606
 #if AXIS_HAS_SQUARE_WAVE(E5)
606
 #if AXIS_HAS_SQUARE_WAVE(E5)

+ 4
- 3
config/default/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/3DFabXYZ/Migbot/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  #define CONTROLLER_FAN_PIN 9           // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  #define CONTROLLER_FAN_PIN 9              // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/AlephObjects/TAZ4/Configuration_adv.h View File

279
  */
279
  */
280
 #define USE_CONTROLLER_FAN
280
 #define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  #define CONTROLLER_FAN_PIN 2           // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 130        // 255 == full speed
282
+  #define CONTROLLER_FAN_PIN 2              // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 130           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Alfawise/U20/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/AliExpress/UM2pExt/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Anet/A2/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Anet/A2plus/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Anet/A6/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Anet/A8/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Anet/A8plus/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Anet/E16/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/AnyCubic/i3/Configuration_adv.h View File

279
  */
279
  */
280
 #define USE_CONTROLLER_FAN
280
 #define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  #define CONTROLLER_FAN_PIN 7        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  #define CONTROLLER_FAN_PIN  7             // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/ArmEd/Configuration_adv.h View File

283
  */
283
  */
284
 //#define USE_CONTROLLER_FAN
284
 //#define USE_CONTROLLER_FAN
285
 #if ENABLED(USE_CONTROLLER_FAN)
285
 #if ENABLED(USE_CONTROLLER_FAN)
286
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
287
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
288
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
286
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
287
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
288
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
289
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
289
 #endif
290
 #endif
290
 
291
 
291
 // When first starting the main fan, run it at full speed for the
292
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/BIBO/TouchX/cyclops/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/BIBO/TouchX/default/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/BQ/Hephestos/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/BQ/Hephestos_2/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/BQ/WITBOX/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Cartesio/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Creality/CR-10/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Creality/CR-10S/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Creality/CR-10_5S/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Creality/CR-10mini/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Creality/CR-20 Pro/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Creality/CR-20/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Creality/CR-8/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Creality/Ender-2/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Creality/Ender-3/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Creality/Ender-4/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Creality/Ender-5/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Dagoma/Disco Ultimate/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Einstart-S/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/FYSETC/AIO_II/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/FYSETC/Cheetah 1.2/base/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/FYSETC/Cheetah/BLTouch/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/FYSETC/Cheetah/base/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/FYSETC/F6_13/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Felix/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/FlashForge/CreatorPro/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/FolgerTech/i3-2020/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Formbot/Raptor/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Formbot/T_Rex_2+/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Formbot/T_Rex_3/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Geeetech/A10/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Geeetech/A10M/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Geeetech/A20M/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Geeetech/MeCreator2/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Infitary/i3-M508/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/JGAurora/A1/Configuration_adv.h View File

284
  */
284
  */
285
 //#define USE_CONTROLLER_FAN
285
 //#define USE_CONTROLLER_FAN
286
 #if ENABLED(USE_CONTROLLER_FAN)
286
 #if ENABLED(USE_CONTROLLER_FAN)
287
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
288
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
289
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
287
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
288
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
289
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
290
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
290
 #endif
291
 #endif
291
 
292
 
292
 // When first starting the main fan, run it at full speed for the
293
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/JGAurora/A5/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/JGAurora/A5S/Configuration_adv.h View File

284
  */
284
  */
285
 //#define USE_CONTROLLER_FAN
285
 //#define USE_CONTROLLER_FAN
286
 #if ENABLED(USE_CONTROLLER_FAN)
286
 #if ENABLED(USE_CONTROLLER_FAN)
287
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
288
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
289
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
287
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
288
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
289
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
290
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
290
 #endif
291
 #endif
291
 
292
 
292
 // When first starting the main fan, run it at full speed for the
293
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/MakerParts/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Malyan/M150/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Malyan/M200/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Micromake/C1/enhanced/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Mks/Robin/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Mks/Sbase/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/RapideLite/RL200/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/RigidBot/Configuration_adv.h View File

279
  */
279
  */
280
 #define USE_CONTROLLER_FAN
280
 #define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  #define CONTROLLER_FAN_PIN 4           // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  #define CONTROLLER_FAN_PIN 4              // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/SCARA/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Sanguinololu/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Tevo/Michelangelo/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Tevo/Tarantula Pro/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Tevo/Tornado/V1 (MKS Base)/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Tevo/Tornado/V2 (MKS GEN-L)/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/TheBorg/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/TinyBoy2/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Tronxy/X3A/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Tronxy/X5S-2E/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/UltiMachine/Archim1/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/UltiMachine/Archim2/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/VORONDesign/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Velleman/K8200/Configuration_adv.h View File

292
  */
292
  */
293
 //#define USE_CONTROLLER_FAN
293
 //#define USE_CONTROLLER_FAN
294
 #if ENABLED(USE_CONTROLLER_FAN)
294
 #if ENABLED(USE_CONTROLLER_FAN)
295
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
296
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
297
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
295
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
296
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
297
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
298
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
298
 #endif
299
 #endif
299
 
300
 
300
 // When first starting the main fan, run it at full speed for the
301
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Velleman/K8400/Configuration_adv.h View File

279
  */
279
  */
280
 #define USE_CONTROLLER_FAN
280
 #define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  #define CONTROLLER_FAN_PIN 2           // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  #define CONTROLLER_FAN_PIN 2              // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/WASP/PowerWASP/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Wanhao/Duplicator 6/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/Wanhao/Duplicator i3 Mini/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/delta/Anycubic/Kossel/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/delta/Dreammaker/Overlord/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/delta/Dreammaker/Overlord_Pro/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/delta/FLSUN/kossel/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/delta/MKS/SBASE/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/delta/Tevo Little Monster/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/delta/generic/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 4
- 3
config/examples/delta/kossel_mini/Configuration_adv.h View File

279
  */
279
  */
280
 //#define USE_CONTROLLER_FAN
280
 //#define USE_CONTROLLER_FAN
281
 #if ENABLED(USE_CONTROLLER_FAN)
281
 #if ENABLED(USE_CONTROLLER_FAN)
282
-  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
283
-  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
284
-  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
282
+  //#define CONTROLLER_FAN_PIN -1           // Set a custom pin for the controller fan
283
+  #define CONTROLLERFAN_SECS 60             // Duration in seconds for the fan to run after all motors are disabled
284
+  #define CONTROLLERFAN_SPEED 255           // 255 == full speed
285
+  //#define CONTROLLERFAN_SPEED_Z_ONLY 127  // Reduce noise on machines that keep Z enabled
285
 #endif
286
 #endif
286
 
287
 
287
 // When first starting the main fan, run it at full speed for the
288
 // When first starting the main fan, run it at full speed for the

+ 0
- 0
config/examples/delta/kossel_xl/Configuration_adv.h View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save