From f261fea59ab7cca233d32604368b67d7d8f7efc4 Mon Sep 17 00:00:00 2001 From: InsanityAutomation Date: Sun, 14 Jan 2024 15:17:45 -0500 Subject: [PATCH] Redundant Power control with EDM - First Pass --- Marlin/Configuration.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 47be4f97a9..4dad53f049 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -392,7 +392,7 @@ * Enable and connect the power supply to the PS_ON_PIN. * Specify whether the power supply is active HIGH or active LOW. */ -//#define PSU_CONTROL +#define PSU_CONTROL //#define PSU_NAME "Power Supply" #if ENABLED(PSU_CONTROL) @@ -414,6 +414,15 @@ //#define PS_ON1_EDM_PIN 9 #define PS_EDM_RESPONSE 250 // (ms) Time to allow for relay action + #define PSU_OFF_REDUNDANT // Second pin for redundant power control + //#define PSU_OFF_REDUNDANT_OPPOSING // Redundant pin works opposite standard pin + + #define PS_ON1_PIN 6 // Redundant Pin + + #define PS_ON_EDM_PIN 8 // EDM Pins to monitor feedback on external power control relay. Fault on mismatch. + #define PS_ON1_EDM_PIN 8 + #define PS_EDM_RESPONSE 250 // Time in MS to allow for relay action + //#define POWER_OFF_TIMER // Enable M81 D to power off after a delay //#define POWER_OFF_WAIT_FOR_COOLDOWN // Enable M81 S to power off only after cooldown