소스 검색

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
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 2
- 2
Marlin/src/Marlin.h 파일 보기

349
 
349
 
350
 #if HAS_POWER_SWITCH
350
 #if HAS_POWER_SWITCH
351
   extern bool powersupply_on;
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
   #if ENABLED(AUTO_POWER_CONTROL)
354
   #if ENABLED(AUTO_POWER_CONTROL)
355
     #define PSU_ON()  powerManager.power_on()
355
     #define PSU_ON()  powerManager.power_on()
356
     #define PSU_OFF() powerManager.power_off()
356
     #define PSU_OFF() powerManager.power_off()

+ 2
- 2
Marlin/src/gcode/gcode.h 파일 보기

111
  * M76  - Pause the print job timer.
111
  * M76  - Pause the print job timer.
112
  * M77  - Stop the print job timer.
112
  * M77  - Stop the print job timer.
113
  * M78  - Show statistical information about the print jobs. (Requires PRINTCOUNTER)
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
  * M82  - Set E codes absolute (default).
116
  * M82  - Set E codes absolute (default).
117
  * M83  - Set E codes relative while in Absolute (G90) mode.
117
  * M83  - Set E codes relative while in Absolute (G90) mode.
118
  * M84  - Disable steppers until next move, or use S<seconds> to specify an idle
118
  * M84  - Disable steppers until next move, or use S<seconds> to specify an idle

+ 1
- 1
Marlin/src/inc/Conditionals_LCD.h 파일 보기

148
   #define LCD_CONTRAST_MAX 255
148
   #define LCD_CONTRAST_MAX 255
149
   #define DEFAULT_LCD_CONTRAST 220
149
   #define DEFAULT_LCD_CONTRAST 220
150
   #define LED_COLORS_REDUCE_GREEN
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
     #define LED_BACKLIGHT_TIMEOUT 10000
152
     #define LED_BACKLIGHT_TIMEOUT 10000
153
   #endif
153
   #endif
154
 
154
 

+ 16
- 13
Marlin/src/inc/Conditionals_post.h 파일 보기

269
   #define DISABLE_INACTIVE_E DISABLE_E
269
   #define DISABLE_INACTIVE_E DISABLE_E
270
 #endif
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
  * Temp Sensor defines
290
  * Temp Sensor defines

+ 14
- 1
Marlin/src/inc/SanityCheck.h 파일 보기

376
   #error "USB_SD_DISABLED is now NO_SD_HOST_DRIVE. Please update your Configuration_adv.h."
376
   #error "USB_SD_DISABLED is now NO_SD_HOST_DRIVE. Please update your Configuration_adv.h."
377
 #elif defined(USB_SD_ONBOARD)
377
 #elif defined(USB_SD_ONBOARD)
378
   #error "USB_SD_ONBOARD is obsolete. Disable NO_SD_HOST_DRIVE instead."
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
 #endif
385
 #endif
380
 
386
 
381
 #define BOARD_MKS_13     -47
387
 #define BOARD_MKS_13     -47
1548
 /**
1554
 /**
1549
  * LED Backlight Timeout
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
   #error "LED_BACKLIGHT_TIMEOUT requires a Fysetc Mini Panel and a Power Switch."
1558
   #error "LED_BACKLIGHT_TIMEOUT requires a Fysetc Mini Panel and a Power Switch."
1553
 #endif
1559
 #endif
1554
 
1560
 
2297
   #endif
2303
   #endif
2298
 #endif
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
 #if HAS_CUTTER
2313
 #if HAS_CUTTER
2301
   #define _PIN_CONFLICT(P) (PIN_EXISTS(P) && P##_PIN == SPINDLE_LASER_PWM_PIN)
2314
   #define _PIN_CONFLICT(P) (PIN_EXISTS(P) && P##_PIN == SPINDLE_LASER_PWM_PIN)
2302
   #if BOTH(SPINDLE_FEATURE, LASER_FEATURE)
2315
   #if BOTH(SPINDLE_FEATURE, LASER_FEATURE)

+ 1
- 7
Marlin/src/lcd/menu/menu_info.cpp 파일 보기

176
   STATIC_ITEM(BOARD_NAME, true, true);                           // MyPrinterController
176
   STATIC_ITEM(BOARD_NAME, true, true);                           // MyPrinterController
177
   STATIC_ITEM(MSG_INFO_BAUDRATE ": " STRINGIFY(BAUDRATE), true); // Baud: 250000
177
   STATIC_ITEM(MSG_INFO_BAUDRATE ": " STRINGIFY(BAUDRATE), true); // Baud: 250000
178
   STATIC_ITEM(MSG_INFO_PROTOCOL ": " PROTOCOL_VERSION, true);    // Protocol: 1.0
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
   END_SCREEN();
180
   END_SCREEN();
187
 }
181
 }
188
 
182
 

+ 1
- 1
Marlin/src/pins/pins.h 파일 보기

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

+ 2
- 2
Marlin/src/pins/pins_MKS_GEN_13.h 파일 보기

44
 //
44
 //
45
 // PSU / SERVO
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
   #define SERVO3_PIN       -1
50
   #define SERVO3_PIN       -1
51
   #define PS_ON_PIN         4
51
   #define PS_ON_PIN         4
52
 #endif
52
 #endif

+ 1
- 2
buildroot/share/tests/megaatmega2560-tests 파일 보기

27
 opt_set TEMP_SENSOR_0 -2
27
 opt_set TEMP_SENSOR_0 -2
28
 opt_set TEMP_SENSOR_1 1
28
 opt_set TEMP_SENSOR_1 1
29
 opt_set TEMP_SENSOR_BED 2
29
 opt_set TEMP_SENSOR_BED 2
30
-opt_set POWER_SUPPLY 1
31
 opt_set GRID_MAX_POINTS_X 16
30
 opt_set GRID_MAX_POINTS_X 16
32
 opt_set FANMUX0_PIN 53
31
 opt_set FANMUX0_PIN 53
33
 opt_enable PIDTEMPBED FIX_MOUNTED_PROBE Z_SAFE_HOMING EEPROM_SETTINGS \
32
 opt_enable PIDTEMPBED FIX_MOUNTED_PROBE Z_SAFE_HOMING EEPROM_SETTINGS \
37
            AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
36
            AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
38
            SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GCODE \
37
            SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GCODE \
39
            FWRETRACT ARC_P_CIRCLES ADVANCED_PAUSE_FEATURE CNC_WORKSPACE_PLANES CNC_COORDINATE_SYSTEMS \
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
            LCD_PROGRESS_BAR LCD_PROGRESS_BAR_TEST PINS_DEBUGGING \
40
            LCD_PROGRESS_BAR LCD_PROGRESS_BAR_TEST PINS_DEBUGGING \
42
            MAX7219_DEBUG LED_CONTROL_MENU CASE_LIGHT_ENABLE CASE_LIGHT_USE_NEOPIXEL CODEPENDENT_XY_HOMING BACKLASH_COMPENSATION BACKLASH_GCODE
41
            MAX7219_DEBUG LED_CONTROL_MENU CASE_LIGHT_ENABLE CASE_LIGHT_USE_NEOPIXEL CODEPENDENT_XY_HOMING BACKLASH_COMPENSATION BACKLASH_GCODE
43
 opt_enable SLOW_PWM_HEATERS THERMAL_PROTECTION_CHAMBER
42
 opt_enable SLOW_PWM_HEATERS THERMAL_PROTECTION_CHAMBER

+ 10
- 13
config/default/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/3DFabXYZ/Migbot/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/AlephObjects/TAZ4/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/AliExpress/CL-260/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/AliExpress/UM2pExt/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Anet/A2/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Anet/A2plus/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Anet/A6/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Anet/A8/Configuration.h 파일 보기

313
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
330
   #if ENABLED(AUTO_POWER_CONTROL)
333
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
331
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
334
     #define AUTO_POWER_E_FANS
332
     #define AUTO_POWER_E_FANS
338
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
336
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
339
     #define POWER_TIMEOUT 30
337
     #define POWER_TIMEOUT 30
340
   #endif
338
   #endif
341
-
342
 #endif
339
 #endif
343
 
340
 
344
 // @section temperature
341
 // @section temperature

+ 10
- 13
config/examples/Anet/A8plus/Configuration.h 파일 보기

313
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
330
   #if ENABLED(AUTO_POWER_CONTROL)
333
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
331
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
334
     #define AUTO_POWER_E_FANS
332
     #define AUTO_POWER_E_FANS
338
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
336
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
339
     #define POWER_TIMEOUT 30
337
     #define POWER_TIMEOUT 30
340
   #endif
338
   #endif
341
-
342
 #endif
339
 #endif
343
 
340
 
344
 // @section temperature
341
 // @section temperature

+ 10
- 13
config/examples/Anet/E16/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/AnyCubic/i3/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/ArmEd/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Azteeg/X5GT/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/BIBO/TouchX/cyclops/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/BIBO/TouchX/default/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/BQ/Hephestos/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/BQ/Hephestos_2/Configuration.h 파일 보기

320
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
337
   #if ENABLED(AUTO_POWER_CONTROL)
340
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
338
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
341
     #define AUTO_POWER_E_FANS
339
     #define AUTO_POWER_E_FANS
345
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
343
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
346
     #define POWER_TIMEOUT 30
344
     #define POWER_TIMEOUT 30
347
   #endif
345
   #endif
348
-
349
 #endif
346
 #endif
350
 
347
 
351
 // @section temperature
348
 // @section temperature

+ 10
- 13
config/examples/BQ/WITBOX/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Cartesio/Configuration.h 파일 보기

313
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
330
   #if ENABLED(AUTO_POWER_CONTROL)
333
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
331
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
334
     #define AUTO_POWER_E_FANS
332
     #define AUTO_POWER_E_FANS
338
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
336
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
339
     #define POWER_TIMEOUT 30
337
     #define POWER_TIMEOUT 30
340
   #endif
338
   #endif
341
-
342
 #endif
339
 #endif
343
 
340
 
344
 // @section temperature
341
 // @section temperature

+ 10
- 13
config/examples/Creality/CR-10/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Creality/CR-10S/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Creality/CR-10_5S/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Creality/CR-10mini/Configuration.h 파일 보기

321
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
338
   #if ENABLED(AUTO_POWER_CONTROL)
341
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
339
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
342
     #define AUTO_POWER_E_FANS
340
     #define AUTO_POWER_E_FANS
346
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
344
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
347
     #define POWER_TIMEOUT 30
345
     #define POWER_TIMEOUT 30
348
   #endif
346
   #endif
349
-
350
 #endif
347
 #endif
351
 
348
 
352
 // @section temperature
349
 // @section temperature

+ 10
- 13
config/examples/Creality/CR-20 Pro/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Creality/CR-20/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Creality/CR-8/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Creality/Ender-2/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Creality/Ender-3/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Creality/Ender-4/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 12
- 13
config/examples/Creality/Ender-5/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
334
     #define AUTO_POWER_CONTROLLERFAN
332
     #define AUTO_POWER_CONTROLLERFAN
335
     #define AUTO_POWER_CHAMBER_FAN
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
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
337
   #endif
337
   #endif
338
-
339
 #endif
338
 #endif
340
 
339
 
341
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Dagoma/Disco Ultimate/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Einstart-S/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Felix/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Felix/DUAL/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/FlashForge/CreatorPro/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/FolgerTech/i3-2020/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Formbot/Raptor/Configuration.h 파일 보기

353
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
370
   #if ENABLED(AUTO_POWER_CONTROL)
373
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
371
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
374
     #define AUTO_POWER_E_FANS
372
     #define AUTO_POWER_E_FANS
378
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
376
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
379
     #define POWER_TIMEOUT 30
377
     #define POWER_TIMEOUT 30
380
   #endif
378
   #endif
381
-
382
 #endif
379
 #endif
383
 
380
 
384
 // @section temperature
381
 // @section temperature

+ 10
- 13
config/examples/Formbot/T_Rex_2+/Configuration.h 파일 보기

321
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
338
   #if ENABLED(AUTO_POWER_CONTROL)
341
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
339
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
342
     #define AUTO_POWER_E_FANS
340
     #define AUTO_POWER_E_FANS
346
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
344
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
347
     #define POWER_TIMEOUT 30
345
     #define POWER_TIMEOUT 30
348
   #endif
346
   #endif
349
-
350
 #endif
347
 #endif
351
 
348
 
352
 // @section temperature
349
 // @section temperature

+ 10
- 13
config/examples/Formbot/T_Rex_3/Configuration.h 파일 보기

316
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
333
   #if ENABLED(AUTO_POWER_CONTROL)
336
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
334
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
337
     #define AUTO_POWER_E_FANS
335
     #define AUTO_POWER_E_FANS
341
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
339
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
342
     #define POWER_TIMEOUT 30
340
     #define POWER_TIMEOUT 30
343
   #endif
341
   #endif
344
-
345
 #endif
342
 #endif
346
 
343
 
347
 // @section temperature
344
 // @section temperature

+ 10
- 13
config/examples/Fysetc/AIO_II/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Fysetc/CHEETAH/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Fysetc/F6_13/Configuration.h 파일 보기

314
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
331
   #if ENABLED(AUTO_POWER_CONTROL)
334
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
335
     #define AUTO_POWER_E_FANS
333
     #define AUTO_POWER_E_FANS
339
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
340
     #define POWER_TIMEOUT 30
338
     #define POWER_TIMEOUT 30
341
   #endif
339
   #endif
342
-
343
 #endif
340
 #endif
344
 
341
 
345
 // @section temperature
342
 // @section temperature

+ 10
- 13
config/examples/Geeetech/A10/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Geeetech/A10M/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Geeetech/A20M/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Geeetech/GT2560/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Geeetech/MeCreator2/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Geeetech/Prusa i3 Pro C/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Geeetech/Prusa i3 Pro W/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Infitary/i3-M508/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/JGAurora/A1/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/JGAurora/A5/Configuration.h 파일 보기

317
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
334
   #if ENABLED(AUTO_POWER_CONTROL)
337
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
335
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
338
     #define AUTO_POWER_E_FANS
336
     #define AUTO_POWER_E_FANS
342
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
340
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
343
     #define POWER_TIMEOUT 30
341
     #define POWER_TIMEOUT 30
344
   #endif
342
   #endif
345
-
346
 #endif
343
 #endif
347
 
344
 
348
 // @section temperature
345
 // @section temperature

+ 10
- 13
config/examples/JGAurora/A5S/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/MakerParts/Configuration.h 파일 보기

332
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
349
   #if ENABLED(AUTO_POWER_CONTROL)
352
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
350
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
353
     #define AUTO_POWER_E_FANS
351
     #define AUTO_POWER_E_FANS
357
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
355
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
358
     #define POWER_TIMEOUT 30
356
     #define POWER_TIMEOUT 30
359
   #endif
357
   #endif
360
-
361
 #endif
358
 #endif
362
 
359
 
363
 // @section temperature
360
 // @section temperature

+ 10
- 13
config/examples/Malyan/M150/Configuration.h 파일 보기

317
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
334
   #if ENABLED(AUTO_POWER_CONTROL)
337
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
335
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
338
     #define AUTO_POWER_E_FANS
336
     #define AUTO_POWER_E_FANS
342
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
340
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
343
     #define POWER_TIMEOUT 30
341
     #define POWER_TIMEOUT 30
344
   #endif
342
   #endif
345
-
346
 #endif
343
 #endif
347
 
344
 
348
 // @section temperature
345
 // @section temperature

+ 10
- 13
config/examples/Malyan/M200/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Micromake/C1/basic/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Micromake/C1/enhanced/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Mks/Robin/Configuration.h 파일 보기

313
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
330
   #if ENABLED(AUTO_POWER_CONTROL)
333
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
331
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
334
     #define AUTO_POWER_E_FANS
332
     #define AUTO_POWER_E_FANS
338
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
336
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
339
     #define POWER_TIMEOUT 30
337
     #define POWER_TIMEOUT 30
340
   #endif
338
   #endif
341
-
342
 #endif
339
 #endif
343
 
340
 
344
 // @section temperature
341
 // @section temperature

+ 10
- 13
config/examples/Mks/Sbase/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Printrbot/PrintrboardG2/Configuration.h 파일 보기

313
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
330
   #if ENABLED(AUTO_POWER_CONTROL)
333
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
331
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
334
     #define AUTO_POWER_E_FANS
332
     #define AUTO_POWER_E_FANS
338
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
336
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
339
     #define POWER_TIMEOUT 30
337
     #define POWER_TIMEOUT 30
340
   #endif
338
   #endif
341
-
342
 #endif
339
 #endif
343
 
340
 
344
 // @section temperature
341
 // @section temperature

+ 10
- 13
config/examples/RapideLite/RL200/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/RepRapPro/Huxley/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/RepRapWorld/Megatronics/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/RigidBot/Configuration.h 파일 보기

315
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
332
   #if ENABLED(AUTO_POWER_CONTROL)
335
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
336
     #define AUTO_POWER_E_FANS
334
     #define AUTO_POWER_E_FANS
340
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
341
     #define POWER_TIMEOUT 30
339
     #define POWER_TIMEOUT 30
342
   #endif
340
   #endif
343
-
344
 #endif
341
 #endif
345
 
342
 
346
 // @section temperature
343
 // @section temperature

+ 10
- 13
config/examples/SCARA/Configuration.h 파일 보기

339
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
356
   #if ENABLED(AUTO_POWER_CONTROL)
359
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
357
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
360
     #define AUTO_POWER_E_FANS
358
     #define AUTO_POWER_E_FANS
364
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
362
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
365
     #define POWER_TIMEOUT 30
363
     #define POWER_TIMEOUT 30
366
   #endif
364
   #endif
367
-
368
 #endif
365
 #endif
369
 
366
 
370
 // @section temperature
367
 // @section temperature

+ 10
- 13
config/examples/STM32/Black_STM32F407VET6/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/STM32/STM32F10/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/STM32/STM32F4/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/STM32/stm32f103ret6/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Sanguinololu/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Tevo/Tarantula Pro/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/TheBorg/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/TinyBoy2/Configuration.h 파일 보기

334
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
351
   #if ENABLED(AUTO_POWER_CONTROL)
354
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
352
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
355
     #define AUTO_POWER_E_FANS
353
     #define AUTO_POWER_E_FANS
359
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
357
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
360
     #define POWER_TIMEOUT 30
358
     #define POWER_TIMEOUT 30
361
   #endif
359
   #endif
362
-
363
 #endif
360
 #endif
364
 
361
 
365
 // @section temperature
362
 // @section temperature

+ 10
- 13
config/examples/Tronxy/X1/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Tronxy/X3A/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Tronxy/X5S-2E/Configuration.h 파일 보기

314
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
331
   #if ENABLED(AUTO_POWER_CONTROL)
334
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
335
     #define AUTO_POWER_E_FANS
333
     #define AUTO_POWER_E_FANS
339
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
340
     #define POWER_TIMEOUT 30
338
     #define POWER_TIMEOUT 30
341
   #endif
339
   #endif
342
-
343
 #endif
340
 #endif
344
 
341
 
345
 // @section temperature
342
 // @section temperature

+ 10
- 13
config/examples/Tronxy/X5S/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Tronxy/XY100/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/UltiMachine/Archim1/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/UltiMachine/Archim2/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/VORONDesign/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 10
- 13
config/examples/Velleman/K8200/Configuration.h 파일 보기

332
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
349
   #if ENABLED(AUTO_POWER_CONTROL)
352
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
350
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
353
     #define AUTO_POWER_E_FANS
351
     #define AUTO_POWER_E_FANS
357
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
355
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
358
     #define POWER_TIMEOUT 30
356
     #define POWER_TIMEOUT 30
359
   #endif
357
   #endif
360
-
361
 #endif
358
 #endif
362
 
359
 
363
 // @section temperature
360
 // @section temperature

+ 10
- 13
config/examples/Velleman/K8400/Configuration.h 파일 보기

312
 // @section machine
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
   #if ENABLED(AUTO_POWER_CONTROL)
329
   #if ENABLED(AUTO_POWER_CONTROL)
332
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
330
     #define AUTO_POWER_FANS           // Turn on PSU if fans need power
333
     #define AUTO_POWER_E_FANS
331
     #define AUTO_POWER_E_FANS
337
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
335
     //#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
338
     #define POWER_TIMEOUT 30
336
     #define POWER_TIMEOUT 30
339
   #endif
337
   #endif
340
-
341
 #endif
338
 #endif
342
 
339
 
343
 // @section temperature
340
 // @section temperature

+ 0
- 0
config/examples/Velleman/K8400/Dual-head/Configuration.h 파일 보기


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.

Loading…
취소
저장