ソースを参照

Simplify power supply naming logic (#14488)

Co-Authored-By: Tim Moore <tim.moore@lightbend.com>
Co-Authored-By: AnHardt <github@kitelab.de>
Tim Moore 6年前
コミット
eb6dec03bd
100個のファイルの変更942行の追加1201行の削除
  1. 10
    13
      Marlin/Configuration.h
  2. 2
    2
      Marlin/src/Marlin.h
  3. 2
    2
      Marlin/src/gcode/gcode.h
  4. 1
    1
      Marlin/src/inc/Conditionals_LCD.h
  5. 16
    13
      Marlin/src/inc/Conditionals_post.h
  6. 14
    1
      Marlin/src/inc/SanityCheck.h
  7. 1
    7
      Marlin/src/lcd/menu/menu_info.cpp
  8. 1
    1
      Marlin/src/pins/pins.h
  9. 2
    2
      Marlin/src/pins/pins_MKS_GEN_13.h
  10. 1
    2
      buildroot/share/tests/megaatmega2560-tests
  11. 10
    13
      config/default/Configuration.h
  12. 10
    13
      config/examples/3DFabXYZ/Migbot/Configuration.h
  13. 10
    13
      config/examples/AlephObjects/TAZ4/Configuration.h
  14. 10
    13
      config/examples/AliExpress/CL-260/Configuration.h
  15. 10
    13
      config/examples/AliExpress/UM2pExt/Configuration.h
  16. 10
    13
      config/examples/Anet/A2/Configuration.h
  17. 10
    13
      config/examples/Anet/A2plus/Configuration.h
  18. 10
    13
      config/examples/Anet/A6/Configuration.h
  19. 10
    13
      config/examples/Anet/A8/Configuration.h
  20. 10
    13
      config/examples/Anet/A8plus/Configuration.h
  21. 10
    13
      config/examples/Anet/E16/Configuration.h
  22. 10
    13
      config/examples/AnyCubic/i3/Configuration.h
  23. 10
    13
      config/examples/ArmEd/Configuration.h
  24. 10
    13
      config/examples/Azteeg/X5GT/Configuration.h
  25. 10
    13
      config/examples/BIBO/TouchX/cyclops/Configuration.h
  26. 10
    13
      config/examples/BIBO/TouchX/default/Configuration.h
  27. 10
    13
      config/examples/BQ/Hephestos/Configuration.h
  28. 10
    13
      config/examples/BQ/Hephestos_2/Configuration.h
  29. 10
    13
      config/examples/BQ/WITBOX/Configuration.h
  30. 10
    13
      config/examples/Cartesio/Configuration.h
  31. 10
    13
      config/examples/Creality/CR-10/Configuration.h
  32. 10
    13
      config/examples/Creality/CR-10S/Configuration.h
  33. 10
    13
      config/examples/Creality/CR-10_5S/Configuration.h
  34. 10
    13
      config/examples/Creality/CR-10mini/Configuration.h
  35. 10
    13
      config/examples/Creality/CR-20 Pro/Configuration.h
  36. 10
    13
      config/examples/Creality/CR-20/Configuration.h
  37. 10
    13
      config/examples/Creality/CR-8/Configuration.h
  38. 10
    13
      config/examples/Creality/Ender-2/Configuration.h
  39. 10
    13
      config/examples/Creality/Ender-3/Configuration.h
  40. 10
    13
      config/examples/Creality/Ender-4/Configuration.h
  41. 12
    13
      config/examples/Creality/Ender-5/Configuration.h
  42. 10
    13
      config/examples/Dagoma/Disco Ultimate/Configuration.h
  43. 10
    13
      config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration.h
  44. 10
    13
      config/examples/Einstart-S/Configuration.h
  45. 10
    13
      config/examples/Felix/Configuration.h
  46. 10
    13
      config/examples/Felix/DUAL/Configuration.h
  47. 10
    13
      config/examples/FlashForge/CreatorPro/Configuration.h
  48. 10
    13
      config/examples/FolgerTech/i3-2020/Configuration.h
  49. 10
    13
      config/examples/Formbot/Raptor/Configuration.h
  50. 10
    13
      config/examples/Formbot/T_Rex_2+/Configuration.h
  51. 10
    13
      config/examples/Formbot/T_Rex_3/Configuration.h
  52. 10
    13
      config/examples/Fysetc/AIO_II/Configuration.h
  53. 10
    13
      config/examples/Fysetc/CHEETAH/Configuration.h
  54. 10
    13
      config/examples/Fysetc/F6_13/Configuration.h
  55. 10
    13
      config/examples/Geeetech/A10/Configuration.h
  56. 10
    13
      config/examples/Geeetech/A10M/Configuration.h
  57. 10
    13
      config/examples/Geeetech/A20M/Configuration.h
  58. 10
    13
      config/examples/Geeetech/GT2560/Configuration.h
  59. 10
    13
      config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
  60. 10
    13
      config/examples/Geeetech/MeCreator2/Configuration.h
  61. 10
    13
      config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
  62. 10
    13
      config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
  63. 10
    13
      config/examples/Geeetech/Prusa i3 Pro C/Configuration.h
  64. 10
    13
      config/examples/Geeetech/Prusa i3 Pro W/Configuration.h
  65. 10
    13
      config/examples/Infitary/i3-M508/Configuration.h
  66. 10
    13
      config/examples/JGAurora/A1/Configuration.h
  67. 10
    13
      config/examples/JGAurora/A5/Configuration.h
  68. 10
    13
      config/examples/JGAurora/A5S/Configuration.h
  69. 10
    13
      config/examples/MakerParts/Configuration.h
  70. 10
    13
      config/examples/Malyan/M150/Configuration.h
  71. 10
    13
      config/examples/Malyan/M200/Configuration.h
  72. 10
    13
      config/examples/Micromake/C1/basic/Configuration.h
  73. 10
    13
      config/examples/Micromake/C1/enhanced/Configuration.h
  74. 10
    13
      config/examples/Mks/Robin/Configuration.h
  75. 10
    13
      config/examples/Mks/Sbase/Configuration.h
  76. 10
    13
      config/examples/Printrbot/PrintrboardG2/Configuration.h
  77. 10
    13
      config/examples/RapideLite/RL200/Configuration.h
  78. 10
    13
      config/examples/RepRapPro/Huxley/Configuration.h
  79. 10
    13
      config/examples/RepRapWorld/Megatronics/Configuration.h
  80. 10
    13
      config/examples/RigidBot/Configuration.h
  81. 10
    13
      config/examples/SCARA/Configuration.h
  82. 10
    13
      config/examples/STM32/Black_STM32F407VET6/Configuration.h
  83. 10
    13
      config/examples/STM32/STM32F10/Configuration.h
  84. 10
    13
      config/examples/STM32/STM32F4/Configuration.h
  85. 10
    13
      config/examples/STM32/stm32f103ret6/Configuration.h
  86. 10
    13
      config/examples/Sanguinololu/Configuration.h
  87. 10
    13
      config/examples/Tevo/Tarantula Pro/Configuration.h
  88. 10
    13
      config/examples/TheBorg/Configuration.h
  89. 10
    13
      config/examples/TinyBoy2/Configuration.h
  90. 10
    13
      config/examples/Tronxy/X1/Configuration.h
  91. 10
    13
      config/examples/Tronxy/X3A/Configuration.h
  92. 10
    13
      config/examples/Tronxy/X5S-2E/Configuration.h
  93. 10
    13
      config/examples/Tronxy/X5S/Configuration.h
  94. 10
    13
      config/examples/Tronxy/XY100/Configuration.h
  95. 10
    13
      config/examples/UltiMachine/Archim1/Configuration.h
  96. 10
    13
      config/examples/UltiMachine/Archim2/Configuration.h
  97. 10
    13
      config/examples/VORONDesign/Configuration.h
  98. 10
    13
      config/examples/Velleman/K8200/Configuration.h
  99. 10
    13
      config/examples/Velleman/K8400/Configuration.h
  100. 0
    0
      config/examples/Velleman/K8400/Dual-head/Configuration.h

+ 10
- 13
Marlin/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 2
- 2
Marlin/src/Marlin.h ファイルの表示

@@ -349,8 +349,8 @@ extern millis_t max_inactive_time, stepper_inactive_time;
349 349
 
350 350
 #if HAS_POWER_SWITCH
351 351
   extern bool powersupply_on;
352
-  #define PSU_PIN_ON()  do{ OUT_WRITE(PS_ON_PIN, PS_ON_AWAKE); powersupply_on = true; }while(0)
353
-  #define PSU_PIN_OFF() do{ OUT_WRITE(PS_ON_PIN, PS_ON_ASLEEP); powersupply_on = false; }while(0)
352
+  #define PSU_PIN_ON()  do{ OUT_WRITE(PS_ON_PIN,  PSU_ACTIVE_HIGH); powersupply_on = true; }while(0)
353
+  #define PSU_PIN_OFF() do{ OUT_WRITE(PS_ON_PIN, !PSU_ACTIVE_HIGH); powersupply_on = false; }while(0)
354 354
   #if ENABLED(AUTO_POWER_CONTROL)
355 355
     #define PSU_ON()  powerManager.power_on()
356 356
     #define PSU_OFF() powerManager.power_off()

+ 2
- 2
Marlin/src/gcode/gcode.h ファイルの表示

@@ -111,8 +111,8 @@
111 111
  * M76  - Pause the print job timer.
112 112
  * M77  - Stop the print job timer.
113 113
  * M78  - Show statistical information about the print jobs. (Requires PRINTCOUNTER)
114
- * M80  - Turn on Power Supply. (Requires POWER_SUPPLY > 0)
115
- * M81  - Turn off Power Supply. (Requires POWER_SUPPLY > 0)
114
+ * M80  - Turn on Power Supply. (Requires PSU_CONTROL)
115
+ * M81  - Turn off Power Supply. (Requires PSU_CONTROL)
116 116
  * M82  - Set E codes absolute (default).
117 117
  * M83  - Set E codes relative while in Absolute (G90) mode.
118 118
  * M84  - Disable steppers until next move, or use S<seconds> to specify an idle

+ 1
- 1
Marlin/src/inc/Conditionals_LCD.h ファイルの表示

@@ -148,7 +148,7 @@
148 148
   #define LCD_CONTRAST_MAX 255
149 149
   #define DEFAULT_LCD_CONTRAST 220
150 150
   #define LED_COLORS_REDUCE_GREEN
151
-  #if POWER_SUPPLY > 0 && EITHER(FYSETC_MINI_12864_2_0, FYSETC_MINI_12864_2_1)
151
+  #if (HAS_POWER_SWITCH && EITHER(FYSETC_MINI_12864_2_0, FYSETC_MINI_12864_2_1))
152 152
     #define LED_BACKLIGHT_TIMEOUT 10000
153 153
   #endif
154 154
 

+ 16
- 13
Marlin/src/inc/Conditionals_post.h ファイルの表示

@@ -269,19 +269,22 @@
269 269
   #define DISABLE_INACTIVE_E DISABLE_E
270 270
 #endif
271 271
 
272
-// Power Signal Control Definitions
273
-// By default use ATX definition
274
-#ifndef POWER_SUPPLY
275
-  #define POWER_SUPPLY 1
276
-#endif
277
-#if (POWER_SUPPLY == 1)     // 1 = ATX
278
-  #define PS_ON_AWAKE  LOW
279
-  #define PS_ON_ASLEEP HIGH
280
-#elif (POWER_SUPPLY == 2)   // 2 = X-Box 360 203W
281
-  #define PS_ON_AWAKE  HIGH
282
-  #define PS_ON_ASLEEP LOW
283
-#endif
284
-#define HAS_POWER_SWITCH (POWER_SUPPLY > 0 && PIN_EXISTS(PS_ON))
272
+/**
273
+ * Power Supply Control
274
+ */
275
+#ifndef PSU_NAME
276
+  #if ENABLED(PSU_CONTROL)
277
+    #if PSU_ACTIVE_HIGH
278
+      #define PSU_NAME "XBox"     // X-Box 360 (203W)
279
+    #else
280
+      #define PSU_NAME "ATX"      // ATX style
281
+    #endif
282
+  #else
283
+    #define PSU_NAME "Generic"    // No control
284
+  #endif
285
+#endif
286
+
287
+#define HAS_POWER_SWITCH (ENABLED(PSU_CONTROL) && PIN_EXISTS(PS_ON))
285 288
 
286 289
 /**
287 290
  * Temp Sensor defines

+ 14
- 1
Marlin/src/inc/SanityCheck.h ファイルの表示

@@ -376,6 +376,12 @@
376 376
   #error "USB_SD_DISABLED is now NO_SD_HOST_DRIVE. Please update your Configuration_adv.h."
377 377
 #elif defined(USB_SD_ONBOARD)
378 378
   #error "USB_SD_ONBOARD is obsolete. Disable NO_SD_HOST_DRIVE instead."
379
+#elif POWER_SUPPLY == 1
380
+  #error "Replace POWER_SUPPLY 1 by enabling PSU_CONTROL and setting PSU_ACTIVE_HIGH to 'false'."
381
+#elif POWER_SUPPLY == 2
382
+  #error "Replace POWER_SUPPLY 2 by enabling PSU_CONTROL and setting PSU_ACTIVE_HIGH to 'true'."
383
+#elif defined(POWER_SUPPLY)
384
+  #error "POWER_SUPPLY is now obsolete. Please remove it from Configuration.h."
379 385
 #endif
380 386
 
381 387
 #define BOARD_MKS_13     -47
@@ -1548,7 +1554,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
1548 1554
 /**
1549 1555
  * LED Backlight Timeout
1550 1556
  */
1551
-#if defined(LED_BACKLIGHT_TIMEOUT) && !(EITHER(FYSETC_MINI_12864_2_0, FYSETC_MINI_12864_2_1) && POWER_SUPPLY > 0)
1557
+#if defined(LED_BACKLIGHT_TIMEOUT) && !(EITHER(FYSETC_MINI_12864_2_0, FYSETC_MINI_12864_2_1) && HAS_POWER_SWITCH)
1552 1558
   #error "LED_BACKLIGHT_TIMEOUT requires a Fysetc Mini Panel and a Power Switch."
1553 1559
 #endif
1554 1560
 
@@ -2297,6 +2303,13 @@ static_assert(   _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
2297 2303
   #endif
2298 2304
 #endif
2299 2305
 
2306
+/**
2307
+ * Ensure this option is set intentionally
2308
+ */
2309
+#if ENABLED(PSU_CONTROL) && !defined(PSU_ACTIVE_HIGH)
2310
+  #error "PSU_CONTROL requires PSU_ACTIVE_HIGH to be defined as 'true' or 'false'."
2311
+#endif
2312
+
2300 2313
 #if HAS_CUTTER
2301 2314
   #define _PIN_CONFLICT(P) (PIN_EXISTS(P) && P##_PIN == SPINDLE_LASER_PWM_PIN)
2302 2315
   #if BOTH(SPINDLE_FEATURE, LASER_FEATURE)

+ 1
- 7
Marlin/src/lcd/menu/menu_info.cpp ファイルの表示

@@ -176,13 +176,7 @@ void menu_info_board() {
176 176
   STATIC_ITEM(BOARD_NAME, true, true);                           // MyPrinterController
177 177
   STATIC_ITEM(MSG_INFO_BAUDRATE ": " STRINGIFY(BAUDRATE), true); // Baud: 250000
178 178
   STATIC_ITEM(MSG_INFO_PROTOCOL ": " PROTOCOL_VERSION, true);    // Protocol: 1.0
179
-  #if POWER_SUPPLY == 0
180
-    STATIC_ITEM(MSG_INFO_PSU ": Generic", true);
181
-  #elif POWER_SUPPLY == 1
182
-    STATIC_ITEM(MSG_INFO_PSU ": ATX", true);  // Power Supply: ATX
183
-  #elif POWER_SUPPLY == 2
184
-    STATIC_ITEM(MSG_INFO_PSU ": XBox", true); // Power Supply: XBox
185
-  #endif
179
+  STATIC_ITEM(MSG_INFO_PSU ": " PSU_NAME, true);
186 180
   END_SCREEN();
187 181
 }
188 182
 

+ 1
- 1
Marlin/src/pins/pins.h ファイルの表示

@@ -741,7 +741,7 @@
741 741
 #ifndef LED_PIN
742 742
   #define LED_PIN -1
743 743
 #endif
744
-#if POWER_SUPPLY == 0 || !defined(PS_ON_PIN)
744
+#if DISABLED(PSU_CONTROL) || !defined(PS_ON_PIN)
745 745
   #undef PS_ON_PIN
746 746
   #define PS_ON_PIN -1
747 747
 #endif

+ 2
- 2
Marlin/src/pins/pins_MKS_GEN_13.h ファイルの表示

@@ -44,9 +44,9 @@
44 44
 //
45 45
 // PSU / SERVO
46 46
 //
47
-// If POWER_SUPPLY is specified, always hijack Servo 3
47
+// If PSU_CONTROL is specified, always hijack Servo 3
48 48
 //
49
-#if POWER_SUPPLY > 0
49
+#if ENABLED(PSU_CONTROL)
50 50
   #define SERVO3_PIN       -1
51 51
   #define PS_ON_PIN         4
52 52
 #endif

+ 1
- 2
buildroot/share/tests/megaatmega2560-tests ファイルの表示

@@ -27,7 +27,6 @@ opt_set EXTRUDERS 2
27 27
 opt_set TEMP_SENSOR_0 -2
28 28
 opt_set TEMP_SENSOR_1 1
29 29
 opt_set TEMP_SENSOR_BED 2
30
-opt_set POWER_SUPPLY 1
31 30
 opt_set GRID_MAX_POINTS_X 16
32 31
 opt_set FANMUX0_PIN 53
33 32
 opt_enable PIDTEMPBED FIX_MOUNTED_PROBE Z_SAFE_HOMING EEPROM_SETTINGS \
@@ -37,7 +36,7 @@ opt_enable PIDTEMPBED FIX_MOUNTED_PROBE Z_SAFE_HOMING EEPROM_SETTINGS \
37 36
            AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
38 37
            SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GCODE \
39 38
            FWRETRACT ARC_P_CIRCLES ADVANCED_PAUSE_FEATURE CNC_WORKSPACE_PLANES CNC_COORDINATE_SYSTEMS \
40
-           AUTO_POWER_CONTROL POWER_LOSS_RECOVERY POWER_LOSS_PIN POWER_LOSS_STATE \
39
+           PSU_CONTROL AUTO_POWER_CONTROL POWER_LOSS_RECOVERY POWER_LOSS_PIN POWER_LOSS_STATE \
41 40
            LCD_PROGRESS_BAR LCD_PROGRESS_BAR_TEST PINS_DEBUGGING \
42 41
            MAX7219_DEBUG LED_CONTROL_MENU CASE_LIGHT_ENABLE CASE_LIGHT_USE_NEOPIXEL CODEPENDENT_XY_HOMING BACKLASH_COMPENSATION BACKLASH_GCODE
43 42
 opt_enable SLOW_PWM_HEATERS THERMAL_PROTECTION_CHAMBER

+ 10
- 13
config/default/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/3DFabXYZ/Migbot/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/AlephObjects/TAZ4/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 1
320
+#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/AliExpress/CL-260/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/AliExpress/UM2pExt/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Anet/A2/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Anet/A2plus/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Anet/A6/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Anet/A8/Configuration.h ファイルの表示

@@ -313,22 +313,20 @@
313 313
 // @section machine
314 314
 
315 315
 /**
316
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
316
+ * Power Supply Control
317 317
  *
318
- * 0 = No Power Switch
319
- * 1 = ATX
320
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
321
- *
322
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
318
+ * Enable and connect the power supply to the PS_ON_PIN.
319
+ * Specify whether the power supply is active HIGH or active LOW.
323 320
  */
324
-#define POWER_SUPPLY 0
321
+//#define PSU_CONTROL
322
+//#define PSU_NAME "Power Supply"
323
+
324
+#if ENABLED(PSU_CONTROL)
325
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
325 326
 
326
-#if POWER_SUPPLY > 0
327
-  // Enable this option to leave the PSU off at startup.
328
-  // Power to steppers and heaters will need to be turned on with M80.
329
-  //#define PS_DEFAULT_OFF
327
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
330 328
 
331
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
329
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
332 330
   #if ENABLED(AUTO_POWER_CONTROL)
333 331
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
334 332
     #define AUTO_POWER_E_FANS
@@ -338,7 +336,6 @@
338 336
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
339 337
     #define POWER_TIMEOUT 30
340 338
   #endif
341
-
342 339
 #endif
343 340
 
344 341
 // @section temperature

+ 10
- 13
config/examples/Anet/A8plus/Configuration.h ファイルの表示

@@ -313,22 +313,20 @@
313 313
 // @section machine
314 314
 
315 315
 /**
316
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
316
+ * Power Supply Control
317 317
  *
318
- * 0 = No Power Switch
319
- * 1 = ATX
320
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
321
- *
322
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
318
+ * Enable and connect the power supply to the PS_ON_PIN.
319
+ * Specify whether the power supply is active HIGH or active LOW.
323 320
  */
324
-#define POWER_SUPPLY 0
321
+//#define PSU_CONTROL
322
+//#define PSU_NAME "Power Supply"
323
+
324
+#if ENABLED(PSU_CONTROL)
325
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
325 326
 
326
-#if POWER_SUPPLY > 0
327
-  // Enable this option to leave the PSU off at startup.
328
-  // Power to steppers and heaters will need to be turned on with M80.
329
-  //#define PS_DEFAULT_OFF
327
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
330 328
 
331
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
329
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
332 330
   #if ENABLED(AUTO_POWER_CONTROL)
333 331
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
334 332
     #define AUTO_POWER_E_FANS
@@ -338,7 +336,6 @@
338 336
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
339 337
     #define POWER_TIMEOUT 30
340 338
   #endif
341
-
342 339
 #endif
343 340
 
344 341
 // @section temperature

+ 10
- 13
config/examples/Anet/E16/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/AnyCubic/i3/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/ArmEd/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Azteeg/X5GT/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/BIBO/TouchX/cyclops/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/BIBO/TouchX/default/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/BQ/Hephestos/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 1
320
+#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/BQ/Hephestos_2/Configuration.h ファイルの表示

@@ -320,22 +320,20 @@
320 320
 // @section machine
321 321
 
322 322
 /**
323
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
323
+ * Power Supply Control
324 324
  *
325
- * 0 = No Power Switch
326
- * 1 = ATX
327
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
328
- *
329
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
325
+ * Enable and connect the power supply to the PS_ON_PIN.
326
+ * Specify whether the power supply is active HIGH or active LOW.
330 327
  */
331
-#define POWER_SUPPLY 0
328
+//#define PSU_CONTROL
329
+//#define PSU_NAME "Power Supply"
330
+
331
+#if ENABLED(PSU_CONTROL)
332
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
332 333
 
333
-#if POWER_SUPPLY > 0
334
-  // Enable this option to leave the PSU off at startup.
335
-  // Power to steppers and heaters will need to be turned on with M80.
336
-  //#define PS_DEFAULT_OFF
334
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
337 335
 
338
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
336
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
339 337
   #if ENABLED(AUTO_POWER_CONTROL)
340 338
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
341 339
     #define AUTO_POWER_E_FANS
@@ -345,7 +343,6 @@
345 343
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
346 344
     #define POWER_TIMEOUT 30
347 345
   #endif
348
-
349 346
 #endif
350 347
 
351 348
 // @section temperature

+ 10
- 13
config/examples/BQ/WITBOX/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 1
320
+#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Cartesio/Configuration.h ファイルの表示

@@ -313,22 +313,20 @@
313 313
 // @section machine
314 314
 
315 315
 /**
316
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
316
+ * Power Supply Control
317 317
  *
318
- * 0 = No Power Switch
319
- * 1 = ATX
320
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
321
- *
322
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
318
+ * Enable and connect the power supply to the PS_ON_PIN.
319
+ * Specify whether the power supply is active HIGH or active LOW.
323 320
  */
324
-#define POWER_SUPPLY 1
321
+#define PSU_CONTROL
322
+//#define PSU_NAME "Power Supply"
323
+
324
+#if ENABLED(PSU_CONTROL)
325
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
325 326
 
326
-#if POWER_SUPPLY > 0
327
-  // Enable this option to leave the PSU off at startup.
328
-  // Power to steppers and heaters will need to be turned on with M80.
329
-  //#define PS_DEFAULT_OFF
327
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
330 328
 
331
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
329
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
332 330
   #if ENABLED(AUTO_POWER_CONTROL)
333 331
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
334 332
     #define AUTO_POWER_E_FANS
@@ -338,7 +336,6 @@
338 336
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
339 337
     #define POWER_TIMEOUT 30
340 338
   #endif
341
-
342 339
 #endif
343 340
 
344 341
 // @section temperature

+ 10
- 13
config/examples/Creality/CR-10/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Creality/CR-10S/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Creality/CR-10_5S/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Creality/CR-10mini/Configuration.h ファイルの表示

@@ -321,22 +321,20 @@
321 321
 // @section machine
322 322
 
323 323
 /**
324
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
324
+ * Power Supply Control
325 325
  *
326
- * 0 = No Power Switch
327
- * 1 = ATX
328
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
329
- *
330
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
326
+ * Enable and connect the power supply to the PS_ON_PIN.
327
+ * Specify whether the power supply is active HIGH or active LOW.
331 328
  */
332
-#define POWER_SUPPLY 0
329
+//#define PSU_CONTROL
330
+//#define PSU_NAME "Power Supply"
331
+
332
+#if ENABLED(PSU_CONTROL)
333
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
333 334
 
334
-#if POWER_SUPPLY > 0
335
-  // Enable this option to leave the PSU off at startup.
336
-  // Power to steppers and heaters will need to be turned on with M80.
337
-  //#define PS_DEFAULT_OFF
335
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
338 336
 
339
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
337
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
340 338
   #if ENABLED(AUTO_POWER_CONTROL)
341 339
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
342 340
     #define AUTO_POWER_E_FANS
@@ -346,7 +344,6 @@
346 344
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
347 345
     #define POWER_TIMEOUT 30
348 346
   #endif
349
-
350 347
 #endif
351 348
 
352 349
 // @section temperature

+ 10
- 13
config/examples/Creality/CR-20 Pro/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Creality/CR-20/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Creality/CR-8/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Creality/Ender-2/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Creality/Ender-3/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Creality/Ender-4/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 12
- 13
config/examples/Creality/Ender-5/Configuration.h ファイルの表示

@@ -312,30 +312,29 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
334 332
     #define AUTO_POWER_CONTROLLERFAN
335 333
     #define AUTO_POWER_CHAMBER_FAN
334
+    //#define AUTO_POWER_E_TEMP        50 // (°C) Turn on PSU over this temperature
335
+    //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
336 336
     #define POWER_TIMEOUT 30
337 337
   #endif
338
-
339 338
 #endif
340 339
 
341 340
 // @section temperature

+ 10
- 13
config/examples/Dagoma/Disco Ultimate/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 1
320
+#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Einstart-S/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Felix/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 1
320
+#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  #define PS_DEFAULT_OFF
326
+  #define PS_DEFAULT_OFF        // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Felix/DUAL/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 1
320
+#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  #define PS_DEFAULT_OFF
326
+  #define PS_DEFAULT_OFF        // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/FlashForge/CreatorPro/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/FolgerTech/i3-2020/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Formbot/Raptor/Configuration.h ファイルの表示

@@ -353,22 +353,20 @@
353 353
 // @section machine
354 354
 
355 355
 /**
356
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
356
+ * Power Supply Control
357 357
  *
358
- * 0 = No Power Switch
359
- * 1 = ATX
360
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
361
- *
362
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
358
+ * Enable and connect the power supply to the PS_ON_PIN.
359
+ * Specify whether the power supply is active HIGH or active LOW.
363 360
  */
364
-#define POWER_SUPPLY 0
361
+//#define PSU_CONTROL
362
+//#define PSU_NAME "Power Supply"
363
+
364
+#if ENABLED(PSU_CONTROL)
365
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
365 366
 
366
-#if POWER_SUPPLY > 0
367
-  // Enable this option to leave the PSU off at startup.
368
-  // Power to steppers and heaters will need to be turned on with M80.
369
-  //#define PS_DEFAULT_OFF
367
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
370 368
 
371
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
369
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
372 370
   #if ENABLED(AUTO_POWER_CONTROL)
373 371
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
374 372
     #define AUTO_POWER_E_FANS
@@ -378,7 +376,6 @@
378 376
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
379 377
     #define POWER_TIMEOUT 30
380 378
   #endif
381
-
382 379
 #endif
383 380
 
384 381
 // @section temperature

+ 10
- 13
config/examples/Formbot/T_Rex_2+/Configuration.h ファイルの表示

@@ -321,22 +321,20 @@
321 321
 // @section machine
322 322
 
323 323
 /**
324
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
324
+ * Power Supply Control
325 325
  *
326
- * 0 = No Power Switch
327
- * 1 = ATX
328
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
329
- *
330
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
326
+ * Enable and connect the power supply to the PS_ON_PIN.
327
+ * Specify whether the power supply is active HIGH or active LOW.
331 328
  */
332
-#define POWER_SUPPLY 0
329
+//#define PSU_CONTROL
330
+//#define PSU_NAME "Power Supply"
331
+
332
+#if ENABLED(PSU_CONTROL)
333
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
333 334
 
334
-#if POWER_SUPPLY > 0
335
-  // Enable this option to leave the PSU off at startup.
336
-  // Power to steppers and heaters will need to be turned on with M80.
337
-  //#define PS_DEFAULT_OFF
335
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
338 336
 
339
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
337
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
340 338
   #if ENABLED(AUTO_POWER_CONTROL)
341 339
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
342 340
     #define AUTO_POWER_E_FANS
@@ -346,7 +344,6 @@
346 344
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
347 345
     #define POWER_TIMEOUT 30
348 346
   #endif
349
-
350 347
 #endif
351 348
 
352 349
 // @section temperature

+ 10
- 13
config/examples/Formbot/T_Rex_3/Configuration.h ファイルの表示

@@ -316,22 +316,20 @@
316 316
 // @section machine
317 317
 
318 318
 /**
319
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
319
+ * Power Supply Control
320 320
  *
321
- * 0 = No Power Switch
322
- * 1 = ATX
323
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
324
- *
325
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
321
+ * Enable and connect the power supply to the PS_ON_PIN.
322
+ * Specify whether the power supply is active HIGH or active LOW.
326 323
  */
327
-#define POWER_SUPPLY 0
324
+//#define PSU_CONTROL
325
+//#define PSU_NAME "Power Supply"
326
+
327
+#if ENABLED(PSU_CONTROL)
328
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
328 329
 
329
-#if POWER_SUPPLY > 0
330
-  // Enable this option to leave the PSU off at startup.
331
-  // Power to steppers and heaters will need to be turned on with M80.
332
-  //#define PS_DEFAULT_OFF
330
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
333 331
 
334
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
332
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
335 333
   #if ENABLED(AUTO_POWER_CONTROL)
336 334
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
337 335
     #define AUTO_POWER_E_FANS
@@ -341,7 +339,6 @@
341 339
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
342 340
     #define POWER_TIMEOUT 30
343 341
   #endif
344
-
345 342
 #endif
346 343
 
347 344
 // @section temperature

+ 10
- 13
config/examples/Fysetc/AIO_II/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Fysetc/CHEETAH/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Fysetc/F6_13/Configuration.h ファイルの表示

@@ -314,22 +314,20 @@
314 314
 // @section machine
315 315
 
316 316
 /**
317
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
317
+ * Power Supply Control
318 318
  *
319
- * 0 = No Power Switch
320
- * 1 = ATX
321
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
322
- *
323
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
319
+ * Enable and connect the power supply to the PS_ON_PIN.
320
+ * Specify whether the power supply is active HIGH or active LOW.
324 321
  */
325
-#define POWER_SUPPLY 0
322
+//#define PSU_CONTROL
323
+//#define PSU_NAME "Power Supply"
324
+
325
+#if ENABLED(PSU_CONTROL)
326
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
326 327
 
327
-#if POWER_SUPPLY > 0
328
-  // Enable this option to leave the PSU off at startup.
329
-  // Power to steppers and heaters will need to be turned on with M80.
330
-  //#define PS_DEFAULT_OFF
328
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
331 329
 
332
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
330
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
333 331
   #if ENABLED(AUTO_POWER_CONTROL)
334 332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
335 333
     #define AUTO_POWER_E_FANS
@@ -339,7 +337,6 @@
339 337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
340 338
     #define POWER_TIMEOUT 30
341 339
   #endif
342
-
343 340
 #endif
344 341
 
345 342
 // @section temperature

+ 10
- 13
config/examples/Geeetech/A10/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Geeetech/A10M/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Geeetech/A20M/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Geeetech/GT2560/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Geeetech/MeCreator2/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Geeetech/Prusa i3 Pro C/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Geeetech/Prusa i3 Pro W/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Infitary/i3-M508/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/JGAurora/A1/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/JGAurora/A5/Configuration.h ファイルの表示

@@ -317,22 +317,20 @@
317 317
 // @section machine
318 318
 
319 319
 /**
320
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
320
+ * Power Supply Control
321 321
  *
322
- * 0 = No Power Switch
323
- * 1 = ATX
324
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
325
- *
326
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
322
+ * Enable and connect the power supply to the PS_ON_PIN.
323
+ * Specify whether the power supply is active HIGH or active LOW.
327 324
  */
328
-#define POWER_SUPPLY 0
325
+//#define PSU_CONTROL
326
+//#define PSU_NAME "Power Supply"
327
+
328
+#if ENABLED(PSU_CONTROL)
329
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
329 330
 
330
-#if POWER_SUPPLY > 0
331
-  // Enable this option to leave the PSU off at startup.
332
-  // Power to steppers and heaters will need to be turned on with M80.
333
-  //#define PS_DEFAULT_OFF
331
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
334 332
 
335
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
333
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
336 334
   #if ENABLED(AUTO_POWER_CONTROL)
337 335
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
338 336
     #define AUTO_POWER_E_FANS
@@ -342,7 +340,6 @@
342 340
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
343 341
     #define POWER_TIMEOUT 30
344 342
   #endif
345
-
346 343
 #endif
347 344
 
348 345
 // @section temperature

+ 10
- 13
config/examples/JGAurora/A5S/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/MakerParts/Configuration.h ファイルの表示

@@ -332,22 +332,20 @@
332 332
 // @section machine
333 333
 
334 334
 /**
335
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
335
+ * Power Supply Control
336 336
  *
337
- * 0 = No Power Switch
338
- * 1 = ATX
339
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
340
- *
341
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
337
+ * Enable and connect the power supply to the PS_ON_PIN.
338
+ * Specify whether the power supply is active HIGH or active LOW.
342 339
  */
343
-#define POWER_SUPPLY 0
340
+//#define PSU_CONTROL
341
+//#define PSU_NAME "Power Supply"
342
+
343
+#if ENABLED(PSU_CONTROL)
344
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
344 345
 
345
-#if POWER_SUPPLY > 0
346
-  // Enable this option to leave the PSU off at startup.
347
-  // Power to steppers and heaters will need to be turned on with M80.
348
-  //#define PS_DEFAULT_OFF
346
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
349 347
 
350
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
348
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
351 349
   #if ENABLED(AUTO_POWER_CONTROL)
352 350
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
353 351
     #define AUTO_POWER_E_FANS
@@ -357,7 +355,6 @@
357 355
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
358 356
     #define POWER_TIMEOUT 30
359 357
   #endif
360
-
361 358
 #endif
362 359
 
363 360
 // @section temperature

+ 10
- 13
config/examples/Malyan/M150/Configuration.h ファイルの表示

@@ -317,22 +317,20 @@
317 317
 // @section machine
318 318
 
319 319
 /**
320
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
320
+ * Power Supply Control
321 321
  *
322
- * 0 = No Power Switch
323
- * 1 = ATX
324
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
325
- *
326
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
322
+ * Enable and connect the power supply to the PS_ON_PIN.
323
+ * Specify whether the power supply is active HIGH or active LOW.
327 324
  */
328
-#define POWER_SUPPLY 0
325
+//#define PSU_CONTROL
326
+//#define PSU_NAME "Power Supply"
327
+
328
+#if ENABLED(PSU_CONTROL)
329
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
329 330
 
330
-#if POWER_SUPPLY > 0
331
-  // Enable this option to leave the PSU off at startup.
332
-  // Power to steppers and heaters will need to be turned on with M80.
333
-  //#define PS_DEFAULT_OFF
331
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
334 332
 
335
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
333
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
336 334
   #if ENABLED(AUTO_POWER_CONTROL)
337 335
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
338 336
     #define AUTO_POWER_E_FANS
@@ -342,7 +340,6 @@
342 340
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
343 341
     #define POWER_TIMEOUT 30
344 342
   #endif
345
-
346 343
 #endif
347 344
 
348 345
 // @section temperature

+ 10
- 13
config/examples/Malyan/M200/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Micromake/C1/basic/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Micromake/C1/enhanced/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Mks/Robin/Configuration.h ファイルの表示

@@ -313,22 +313,20 @@
313 313
 // @section machine
314 314
 
315 315
 /**
316
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
316
+ * Power Supply Control
317 317
  *
318
- * 0 = No Power Switch
319
- * 1 = ATX
320
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
321
- *
322
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
318
+ * Enable and connect the power supply to the PS_ON_PIN.
319
+ * Specify whether the power supply is active HIGH or active LOW.
323 320
  */
324
-#define POWER_SUPPLY 0
321
+//#define PSU_CONTROL
322
+//#define PSU_NAME "Power Supply"
323
+
324
+#if ENABLED(PSU_CONTROL)
325
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
325 326
 
326
-#if POWER_SUPPLY > 0
327
-  // Enable this option to leave the PSU off at startup.
328
-  // Power to steppers and heaters will need to be turned on with M80.
329
-  //#define PS_DEFAULT_OFF
327
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
330 328
 
331
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
329
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
332 330
   #if ENABLED(AUTO_POWER_CONTROL)
333 331
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
334 332
     #define AUTO_POWER_E_FANS
@@ -338,7 +336,6 @@
338 336
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
339 337
     #define POWER_TIMEOUT 30
340 338
   #endif
341
-
342 339
 #endif
343 340
 
344 341
 // @section temperature

+ 10
- 13
config/examples/Mks/Sbase/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 1
320
+#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-#define PS_DEFAULT_OFF
326
+  #define PS_DEFAULT_OFF        // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Printrbot/PrintrboardG2/Configuration.h ファイルの表示

@@ -313,22 +313,20 @@
313 313
 // @section machine
314 314
 
315 315
 /**
316
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
316
+ * Power Supply Control
317 317
  *
318
- * 0 = No Power Switch
319
- * 1 = ATX
320
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
321
- *
322
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
318
+ * Enable and connect the power supply to the PS_ON_PIN.
319
+ * Specify whether the power supply is active HIGH or active LOW.
323 320
  */
324
-#define POWER_SUPPLY 0
321
+//#define PSU_CONTROL
322
+//#define PSU_NAME "Power Supply"
323
+
324
+#if ENABLED(PSU_CONTROL)
325
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
325 326
 
326
-#if POWER_SUPPLY > 0
327
-  // Enable this option to leave the PSU off at startup.
328
-  // Power to steppers and heaters will need to be turned on with M80.
329
-  //#define PS_DEFAULT_OFF
327
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
330 328
 
331
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
329
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
332 330
   #if ENABLED(AUTO_POWER_CONTROL)
333 331
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
334 332
     #define AUTO_POWER_E_FANS
@@ -338,7 +336,6 @@
338 336
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
339 337
     #define POWER_TIMEOUT 30
340 338
   #endif
341
-
342 339
 #endif
343 340
 
344 341
 // @section temperature

+ 10
- 13
config/examples/RapideLite/RL200/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 1
320
+#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/RepRapPro/Huxley/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/RepRapWorld/Megatronics/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 1
320
+#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/RigidBot/Configuration.h ファイルの表示

@@ -315,22 +315,20 @@
315 315
 // @section machine
316 316
 
317 317
 /**
318
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
318
+ * Power Supply Control
319 319
  *
320
- * 0 = No Power Switch
321
- * 1 = ATX
322
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
323
- *
324
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
320
+ * Enable and connect the power supply to the PS_ON_PIN.
321
+ * Specify whether the power supply is active HIGH or active LOW.
325 322
  */
326
-#define POWER_SUPPLY 1
323
+#define PSU_CONTROL
324
+//#define PSU_NAME "Power Supply"
325
+
326
+#if ENABLED(PSU_CONTROL)
327
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
327 328
 
328
-#if POWER_SUPPLY > 0
329
-  // Enable this option to leave the PSU off at startup.
330
-  // Power to steppers and heaters will need to be turned on with M80.
331
-  //#define PS_DEFAULT_OFF
329
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
332 330
 
333
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
331
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
334 332
   #if ENABLED(AUTO_POWER_CONTROL)
335 333
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
336 334
     #define AUTO_POWER_E_FANS
@@ -340,7 +338,6 @@
340 338
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
341 339
     #define POWER_TIMEOUT 30
342 340
   #endif
343
-
344 341
 #endif
345 342
 
346 343
 // @section temperature

+ 10
- 13
config/examples/SCARA/Configuration.h ファイルの表示

@@ -339,22 +339,20 @@
339 339
 // @section machine
340 340
 
341 341
 /**
342
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
342
+ * Power Supply Control
343 343
  *
344
- * 0 = No Power Switch
345
- * 1 = ATX
346
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
347
- *
348
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
344
+ * Enable and connect the power supply to the PS_ON_PIN.
345
+ * Specify whether the power supply is active HIGH or active LOW.
349 346
  */
350
-#define POWER_SUPPLY 1
347
+#define PSU_CONTROL
348
+//#define PSU_NAME "Power Supply"
349
+
350
+#if ENABLED(PSU_CONTROL)
351
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
351 352
 
352
-#if POWER_SUPPLY > 0
353
-  // Enable this option to leave the PSU off at startup.
354
-  // Power to steppers and heaters will need to be turned on with M80.
355
-  //#define PS_DEFAULT_OFF
353
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
356 354
 
357
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
355
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
358 356
   #if ENABLED(AUTO_POWER_CONTROL)
359 357
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
360 358
     #define AUTO_POWER_E_FANS
@@ -364,7 +362,6 @@
364 362
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
365 363
     #define POWER_TIMEOUT 30
366 364
   #endif
367
-
368 365
 #endif
369 366
 
370 367
 // @section temperature

+ 10
- 13
config/examples/STM32/Black_STM32F407VET6/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/STM32/STM32F10/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/STM32/STM32F4/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/STM32/stm32f103ret6/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Sanguinololu/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Tevo/Tarantula Pro/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/TheBorg/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/TinyBoy2/Configuration.h ファイルの表示

@@ -334,22 +334,20 @@
334 334
 // @section machine
335 335
 
336 336
 /**
337
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
337
+ * Power Supply Control
338 338
  *
339
- * 0 = No Power Switch
340
- * 1 = ATX
341
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
342
- *
343
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
339
+ * Enable and connect the power supply to the PS_ON_PIN.
340
+ * Specify whether the power supply is active HIGH or active LOW.
344 341
  */
345
-#define POWER_SUPPLY 0
342
+//#define PSU_CONTROL
343
+//#define PSU_NAME "Power Supply"
344
+
345
+#if ENABLED(PSU_CONTROL)
346
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
346 347
 
347
-#if POWER_SUPPLY > 0
348
-  // Enable this option to leave the PSU off at startup.
349
-  // Power to steppers and heaters will need to be turned on with M80.
350
-  //#define PS_DEFAULT_OFF
348
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
351 349
 
352
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
350
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
353 351
   #if ENABLED(AUTO_POWER_CONTROL)
354 352
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
355 353
     #define AUTO_POWER_E_FANS
@@ -359,7 +357,6 @@
359 357
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
360 358
     #define POWER_TIMEOUT 30
361 359
   #endif
362
-
363 360
 #endif
364 361
 
365 362
 // @section temperature

+ 10
- 13
config/examples/Tronxy/X1/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Tronxy/X3A/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Tronxy/X5S-2E/Configuration.h ファイルの表示

@@ -314,22 +314,20 @@
314 314
 // @section machine
315 315
 
316 316
 /**
317
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
317
+ * Power Supply Control
318 318
  *
319
- * 0 = No Power Switch
320
- * 1 = ATX
321
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
322
- *
323
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
319
+ * Enable and connect the power supply to the PS_ON_PIN.
320
+ * Specify whether the power supply is active HIGH or active LOW.
324 321
  */
325
-#define POWER_SUPPLY 0
322
+//#define PSU_CONTROL
323
+//#define PSU_NAME "Power Supply"
324
+
325
+#if ENABLED(PSU_CONTROL)
326
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
326 327
 
327
-#if POWER_SUPPLY > 0
328
-  // Enable this option to leave the PSU off at startup.
329
-  // Power to steppers and heaters will need to be turned on with M80.
330
-  //#define PS_DEFAULT_OFF
328
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
331 329
 
332
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
330
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
333 331
   #if ENABLED(AUTO_POWER_CONTROL)
334 332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
335 333
     #define AUTO_POWER_E_FANS
@@ -339,7 +337,6 @@
339 337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
340 338
     #define POWER_TIMEOUT 30
341 339
   #endif
342
-
343 340
 #endif
344 341
 
345 342
 // @section temperature

+ 10
- 13
config/examples/Tronxy/X5S/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 1
320
+#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Tronxy/XY100/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/UltiMachine/Archim1/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/UltiMachine/Archim2/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/VORONDesign/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 0
320
+//#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 10
- 13
config/examples/Velleman/K8200/Configuration.h ファイルの表示

@@ -332,22 +332,20 @@
332 332
 // @section machine
333 333
 
334 334
 /**
335
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
335
+ * Power Supply Control
336 336
  *
337
- * 0 = No Power Switch
338
- * 1 = ATX
339
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
340
- *
341
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
337
+ * Enable and connect the power supply to the PS_ON_PIN.
338
+ * Specify whether the power supply is active HIGH or active LOW.
342 339
  */
343
-#define POWER_SUPPLY 0
340
+//#define PSU_CONTROL
341
+//#define PSU_NAME "Power Supply"
342
+
343
+#if ENABLED(PSU_CONTROL)
344
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
344 345
 
345
-#if POWER_SUPPLY > 0
346
-  // Enable this option to leave the PSU off at startup.
347
-  // Power to steppers and heaters will need to be turned on with M80.
348
-  //#define PS_DEFAULT_OFF
346
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
349 347
 
350
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
348
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
351 349
   #if ENABLED(AUTO_POWER_CONTROL)
352 350
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
353 351
     #define AUTO_POWER_E_FANS
@@ -357,7 +355,6 @@
357 355
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
358 356
     #define POWER_TIMEOUT 30
359 357
   #endif
360
-
361 358
 #endif
362 359
 
363 360
 // @section temperature

+ 10
- 13
config/examples/Velleman/K8400/Configuration.h ファイルの表示

@@ -312,22 +312,20 @@
312 312
 // @section machine
313 313
 
314 314
 /**
315
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
315
+ * Power Supply Control
316 316
  *
317
- * 0 = No Power Switch
318
- * 1 = ATX
319
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
320
- *
321
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
317
+ * Enable and connect the power supply to the PS_ON_PIN.
318
+ * Specify whether the power supply is active HIGH or active LOW.
322 319
  */
323
-#define POWER_SUPPLY 1
320
+#define PSU_CONTROL
321
+//#define PSU_NAME "Power Supply"
322
+
323
+#if ENABLED(PSU_CONTROL)
324
+  #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
324 325
 
325
-#if POWER_SUPPLY > 0
326
-  // Enable this option to leave the PSU off at startup.
327
-  // Power to steppers and heaters will need to be turned on with M80.
328
-  //#define PS_DEFAULT_OFF
326
+  //#define PS_DEFAULT_OFF      // Keep power off until enabled directly with M80
329 327
 
330
-  //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
328
+  //#define AUTO_POWER_CONTROL  // Enable automatic control of the PS_ON pin
331 329
   #if ENABLED(AUTO_POWER_CONTROL)
332 330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333 331
     #define AUTO_POWER_E_FANS
@@ -337,7 +335,6 @@
337 335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338 336
     #define POWER_TIMEOUT 30
339 337
   #endif
340
-
341 338
 #endif
342 339
 
343 340
 // @section temperature

+ 0
- 0
config/examples/Velleman/K8400/Dual-head/Configuration.h ファイルの表示


変更されたファイルが多すぎるため、一部のファイルは表示されません

読み込み中…
キャンセル
保存