Skip to content

Commit

Permalink
Add settings for power loss Z home safe position
Browse files Browse the repository at this point in the history
  • Loading branch information
SwiftNick authored Jun 7, 2020
1 parent c547f87 commit 104d938
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Marlin/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,6 @@
#if ENABLED(POWER_LOSS_RECOVERY)
#define PLR_ENABLED_DEFAULT false // Power Loss Recovery enabled by default. (Set with 'M413 Sn' & M500)
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
//#define POWER_LOSS_ZHOME // Home Z-Axis during recovery
//#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. Set to -1 to disable default pin on boards without module.
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
Expand All @@ -1100,6 +1099,12 @@
// Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
// especially with "vase mode" printing. Set too high and vases cannot be continued.
#define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data

//#define POWER_LOSS_ZHOME // Home Z-Axis during recovery
#if ENABLED(POWER_LOSS_ZHOME)
#define POWER_LOSS_ZHOME_XPOS 0 // Safe X position for homing Z to avoid print

This comment has been minimized.

Copy link
@8Moshe8

8Moshe8 Jun 8, 2020

float numbers dont work, only integers. also after resuming, hot end temperature doesnt recover so no material is extruded (also the purge filament/continue menu is missing)
I don`t know this happened.
Will provide my:
platform.ini
configuration_h
configuration_adv_h
files for debugging on request.
note: extruder temperature recovery and the menu worked before.

#define POWER_LOSS_ZHOME_YPOS 0 // Safe Y position for homing Z to avoid print
#endif
#endif

/**
Expand Down

0 comments on commit 104d938

Please sign in to comment.