bigtreetech / BIGTREETECH-SKR-mini-E3

BIGTREETECH SKR-mini-E3 motherboard is a ultra-quiet, low-power, high-quality 3D printing machine control board. It is launched by the 3D printing team of Shenzhen BIGTREE technology co., LTD. This board is specially tailored for Ender 3 printer, perfectly replacing the original Ender3 printer motherboard.
2.01k stars 1.97k forks source link

[BUG] Power Loss Recovery feature do not work Ender 3 pro - Skr mini v2 #570

Open Burockk opened 3 years ago

Burockk commented 3 years ago

Description

I activated power loss recovery feature from marlin however it does not work. There is not any resume button after power loss.

Lines in marlin:

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         -1 // 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.

// 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

// Enable if Z homing is needed for proper recovery. 99.9% of the time this should be disabled!
//#define POWER_LOSS_RECOVER_ZHOME
#if ENABLED(POWER_LOSS_RECOVER_ZHOME)
  //#define POWER_LOSS_ZHOME_POS { 0, 0 } // Safe XY position to home Z while avoiding objects on the bed
#endif

endif

Steps to reproduce

start to print something after a few layer I pause the print then I turn off the machine after a few sec I turn on the machine and I expect resume button but there is not.

Expected behavior see a resume button

Actual behavior there is not any resume button

Additional Information

cookins commented 2 years ago

why you pause print? when power will shut - you will not have time to pause print :) also you defined POWER_LOSS_PIN.. you have module that detect power loss? like BTT UPS? it will not have time to detect without it, so better undefine it...