Enabling power loss function in Tronxy X5SA Pro (Marlin) August 02, 2022 01:33PM |
Registered: 7 months ago Posts: 3 |
Re: Enabling power loss function in Tronxy X5SA Pro (Marlin) August 02, 2022 07:08PM |
Registered: 6 years ago Posts: 292 |
Re: Enabling power loss function in Tronxy X5SA Pro (Marlin) August 03, 2022 07:05AM |
Registered: 7 months ago Posts: 3 |
#define POWER_LOSS_RECOVERY #if ENABLED(POWER_LOSS_RECOVERY) #define PLR_ENABLED_DEFAULT true // 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_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 #define POWER_LOSS_PULLUP // Set pullup / pulldown as appropriate for your sensor //#define POWER_LOSS_PULLDOWN //#define POWER_LOSS_PURGE_LEN 20 // (mm) Length of filament to purge on resume //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.But this doesn't seem to work (I tried by starting a print and while it was heating turning off the wall plug). Am I doing it correctly, or should I enable something else (the POWER_LOSS_PIN, for exampe)? Is there any clue on what type of sensor this is, or will I have to take guesses?
Re: Enabling power loss function in Tronxy X5SA Pro (Marlin) August 03, 2022 12:30PM |
Registered: 6 years ago Posts: 292 |
Re: Enabling power loss function in Tronxy X5SA Pro (Marlin) August 04, 2022 05:11PM |
Registered: 7 months ago Posts: 3 |