Power Loss Recovery with a UPS (#15943)
This commit is contained in:
parent
ab9f0f2c4f
commit
ab8b24fdba
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -43,6 +43,7 @@
|
||||||
|
|
||||||
#define SET_INPUT(IO) _SET_MODE(IO, GPIO_INPUT_FLOATING)
|
#define SET_INPUT(IO) _SET_MODE(IO, GPIO_INPUT_FLOATING)
|
||||||
#define SET_INPUT_PULLUP(IO) _SET_MODE(IO, GPIO_INPUT_PU)
|
#define SET_INPUT_PULLUP(IO) _SET_MODE(IO, GPIO_INPUT_PU)
|
||||||
|
#define SET_INPUT_PULLDOWN(IO) _SET_MODE(IO, GPIO_INPUT_PD)
|
||||||
#define SET_OUTPUT(IO) OUT_WRITE(IO, LOW)
|
#define SET_OUTPUT(IO) OUT_WRITE(IO, LOW)
|
||||||
#define SET_PWM(IO) pinMode(IO, PWM) // do{ gpio_set_mode(PIN_MAP[pin].gpio_device, PIN_MAP[pin].gpio_bit, GPIO_AF_OUTPUT_PP); timer_set_mode(PIN_MAP[pin].timer_device, PIN_MAP[pin].timer_channel, TIMER_PWM); }while(0)
|
#define SET_PWM(IO) pinMode(IO, PWM) // do{ gpio_set_mode(PIN_MAP[pin].gpio_device, PIN_MAP[pin].gpio_bit, GPIO_AF_OUTPUT_PP); timer_set_mode(PIN_MAP[pin].timer_device, PIN_MAP[pin].timer_channel, TIMER_PWM); }while(0)
|
||||||
#define SET_PWM_OD(IO) pinMode(IO, PWM_OPEN_DRAIN)
|
#define SET_PWM_OD(IO) pinMode(IO, PWM_OPEN_DRAIN)
|
||||||
|
|
|
@ -65,6 +65,9 @@ PrintJobRecovery recovery;
|
||||||
#ifndef POWER_LOSS_RETRACT_LEN
|
#ifndef POWER_LOSS_RETRACT_LEN
|
||||||
#define POWER_LOSS_RETRACT_LEN 0
|
#define POWER_LOSS_RETRACT_LEN 0
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef POWER_LOSS_ZRAISE
|
||||||
|
#define POWER_LOSS_ZRAISE 2
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clear the recovery info
|
* Clear the recovery info
|
||||||
|
@ -235,10 +238,34 @@ void PrintJobRecovery::save(const bool force/*=false*/, const bool save_queue/*=
|
||||||
}
|
}
|
||||||
|
|
||||||
#if PIN_EXISTS(POWER_LOSS)
|
#if PIN_EXISTS(POWER_LOSS)
|
||||||
|
|
||||||
void PrintJobRecovery::_outage() {
|
void PrintJobRecovery::_outage() {
|
||||||
save(true);
|
#if ENABLED(BACKUP_POWER_SUPPLY)
|
||||||
|
static bool lock = false;
|
||||||
|
if (lock) return; // No re-entrance from idle() during raise_z()
|
||||||
|
lock = true;
|
||||||
|
#endif
|
||||||
|
if (IS_SD_PRINTING()) save(true);
|
||||||
|
#if ENABLED(BACKUP_POWER_SUPPLY)
|
||||||
|
raise_z();
|
||||||
|
#endif
|
||||||
|
|
||||||
kill(GET_TEXT(MSG_OUTAGE_RECOVERY));
|
kill(GET_TEXT(MSG_OUTAGE_RECOVERY));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if ENABLED(BACKUP_POWER_SUPPLY)
|
||||||
|
|
||||||
|
void PrintJobRecovery::raise_z() {
|
||||||
|
// Disable all heaters to reduce power loss
|
||||||
|
thermalManager.disable_all_heaters();
|
||||||
|
quickstop_stepper();
|
||||||
|
// Raise Z axis
|
||||||
|
gcode.process_subcommands_now_P(PSTR("G91\nG0 Z" STRINGIFY(POWER_LOSS_ZRAISE)));
|
||||||
|
planner.synchronize();
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -260,8 +287,6 @@ void PrintJobRecovery::write() {
|
||||||
*/
|
*/
|
||||||
void PrintJobRecovery::resume() {
|
void PrintJobRecovery::resume() {
|
||||||
|
|
||||||
#define RECOVERY_ZRAISE 2
|
|
||||||
|
|
||||||
const uint32_t resume_sdpos = info.sdpos; // Get here before the stepper ISR overwrites it
|
const uint32_t resume_sdpos = info.sdpos; // Get here before the stepper ISR overwrites it
|
||||||
|
|
||||||
#if HAS_LEVELING
|
#if HAS_LEVELING
|
||||||
|
@ -272,15 +297,27 @@ void PrintJobRecovery::resume() {
|
||||||
// Reset E, raise Z, home XY...
|
// Reset E, raise Z, home XY...
|
||||||
gcode.process_subcommands_now_P(PSTR("G92.9 E0"
|
gcode.process_subcommands_now_P(PSTR("G92.9 E0"
|
||||||
#if Z_HOME_DIR > 0
|
#if Z_HOME_DIR > 0
|
||||||
// If Z homing goes to max, reset E and home all
|
|
||||||
"\nG28R0"
|
// If Z homing goes to max, just reset E and home all
|
||||||
|
"\n"
|
||||||
|
"G28R0"
|
||||||
#if ENABLED(MARLIN_DEV_MODE)
|
#if ENABLED(MARLIN_DEV_MODE)
|
||||||
"S"
|
"S"
|
||||||
#endif
|
#endif
|
||||||
#else
|
|
||||||
|
#else // "G92.9 E0 ..."
|
||||||
|
|
||||||
// Set Z to 0, raise Z by RECOVERY_ZRAISE, and Home (XY only for Cartesian)
|
// Set Z to 0, raise Z by RECOVERY_ZRAISE, and Home (XY only for Cartesian)
|
||||||
// with no raise. (Only do simulated homing in Marlin Dev Mode.)
|
// with no raise. (Only do simulated homing in Marlin Dev Mode.)
|
||||||
"Z0\nG1Z" STRINGIFY(RECOVERY_ZRAISE) "\nG28R0"
|
#if ENABLED(BACKUP_POWER_SUPPLY)
|
||||||
|
"Z" STRINGIFY(POWER_LOSS_ZRAISE) // Z-axis was already raised at outage
|
||||||
|
#else
|
||||||
|
"Z0\n" // Set Z=0
|
||||||
|
"G1Z" STRINGIFY(POWER_LOSS_ZRAISE) // Raise Z
|
||||||
|
#endif
|
||||||
|
"\n"
|
||||||
|
|
||||||
|
"G28R0"
|
||||||
#if ENABLED(MARLIN_DEV_MODE)
|
#if ENABLED(MARLIN_DEV_MODE)
|
||||||
"S"
|
"S"
|
||||||
#elif !IS_KINEMATIC
|
#elif !IS_KINEMATIC
|
||||||
|
|
|
@ -168,7 +168,7 @@ class PrintJobRecovery {
|
||||||
|
|
||||||
#if PIN_EXISTS(POWER_LOSS)
|
#if PIN_EXISTS(POWER_LOSS)
|
||||||
static inline void outage() {
|
static inline void outage() {
|
||||||
if (enabled && IS_SD_PRINTING() && READ(POWER_LOSS_PIN) == POWER_LOSS_STATE)
|
if (enabled && READ(POWER_LOSS_PIN) == POWER_LOSS_STATE)
|
||||||
_outage();
|
_outage();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -184,6 +184,10 @@ class PrintJobRecovery {
|
||||||
private:
|
private:
|
||||||
static void write();
|
static void write();
|
||||||
|
|
||||||
|
#if ENABLED(BACKUP_POWER_SUPPLY)
|
||||||
|
static void raise_z();
|
||||||
|
#endif
|
||||||
|
|
||||||
#if PIN_EXISTS(POWER_LOSS)
|
#if PIN_EXISTS(POWER_LOSS)
|
||||||
static void _outage();
|
static void _outage();
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -52,8 +52,13 @@ inline void plr_error(PGM_P const prefix) {
|
||||||
void GcodeSuite::M1000() {
|
void GcodeSuite::M1000() {
|
||||||
|
|
||||||
if (recovery.valid()) {
|
if (recovery.valid()) {
|
||||||
if (parser.seen('S'))
|
if (parser.seen('S')) {
|
||||||
|
#if HAS_LCD_MENU
|
||||||
ui.goto_screen(menu_job_recovery);
|
ui.goto_screen(menu_job_recovery);
|
||||||
|
#else
|
||||||
|
SERIAL_ECHO_MSG("Resume requires LCD.");
|
||||||
|
#endif
|
||||||
|
}
|
||||||
else
|
else
|
||||||
recovery.resume();
|
recovery.resume();
|
||||||
}
|
}
|
||||||
|
|
|
@ -2336,8 +2336,8 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY) && DISABLED(ULTIPANEL)
|
#if ENABLED(BACKUP_POWER_SUPPLY) && !PIN_EXISTS(POWER_LOSS)
|
||||||
#error "POWER_LOSS_RECOVERY currently requires an LCD Controller."
|
#error "BACKUP_POWER_SUPPLY requires a POWER_LOSS_PIN."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(Z_STEPPER_AUTO_ALIGN)
|
#if ENABLED(Z_STEPPER_AUTO_ALIGN)
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 28 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 28 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -961,6 +961,8 @@
|
||||||
*/
|
*/
|
||||||
#define POWER_LOSS_RECOVERY
|
#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
#define POWER_LOSS_RECOVERY
|
#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
#define POWER_LOSS_RECOVERY
|
#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -964,6 +964,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -968,6 +968,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -959,6 +959,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -952,6 +952,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -964,6 +964,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
#define POWER_LOSS_RECOVERY
|
#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
#define POWER_LOSS_PIN 69 // Pin to detect power loss
|
#define POWER_LOSS_PIN 69 // Pin to detect power loss
|
||||||
#define POWER_LOSS_STATE LOW // State of pin indicating power loss
|
#define POWER_LOSS_STATE LOW // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
#define POWER_LOSS_RECOVERY
|
#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
#define POWER_LOSS_PIN 69 // Pin to detect power loss
|
#define POWER_LOSS_PIN 69 // Pin to detect power loss
|
||||||
#define POWER_LOSS_STATE LOW // State of pin indicating power loss
|
#define POWER_LOSS_STATE LOW // State of pin indicating power loss
|
||||||
#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -945,6 +945,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PURGE_LEN 20 // (mm) Length of filament to purge on resume
|
//#define POWER_LOSS_PURGE_LEN 20 // (mm) Length of filament to purge on resume
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -965,6 +965,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -960,6 +960,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -965,6 +965,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -959,6 +959,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -958,6 +958,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -970,6 +970,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
#define POWER_LOSS_RECOVERY
|
#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
#define POWER_LOSS_PIN 65 // Pin to detect power loss
|
#define POWER_LOSS_PIN 65 // Pin to detect power loss
|
||||||
#define POWER_LOSS_STATE LOW // State of pin indicating power loss
|
#define POWER_LOSS_STATE LOW // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -959,6 +959,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -944,6 +944,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -957,6 +957,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -962,6 +962,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -962,6 +962,8 @@
|
||||||
*/
|
*/
|
||||||
#define POWER_LOSS_RECOVERY
|
#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss (optional)
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss (optional)
|
||||||
#define POWER_LOSS_STATE LOW // State of pin indicating power loss
|
#define POWER_LOSS_STATE LOW // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -962,6 +962,8 @@
|
||||||
*/
|
*/
|
||||||
#define POWER_LOSS_RECOVERY
|
#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss (optional)
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss (optional)
|
||||||
#define POWER_LOSS_STATE LOW // State of pin indicating power loss
|
#define POWER_LOSS_STATE LOW // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -962,6 +962,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
|
@ -962,6 +962,8 @@
|
||||||
*/
|
*/
|
||||||
//#define POWER_LOSS_RECOVERY
|
//#define POWER_LOSS_RECOVERY
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
||||||
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
||||||
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
|
||||||
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue