Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 2868

POWER_LOSS_RECOVERY error (no replies)

$
0
0
Hi,
I'm trying to enable the POWER_LOSS_RECOVERY feature but it's not working well.
Unfortunately, changing the status of pin 31 to HIGH stops printing and restarts and resumes the message.
Unfortunately, the Z axis does not deviate from the set value of 20 mm, and when resuming,
printing does not return to the correct X, Y position or Z height.

Thanks


UPS 24V connected.
https://github.com/makerbase-mks/MKS-UPS12V-UPS24V?spm=a2g0o.detail.1000023.17.53df5356e6PStx

Marlin FW bugfix 2.0.x
#define 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      20 // (mm) Z axis raise on resume (on power loss with UPS)
    #define POWER_LOSS_PIN         31 // Pin to detect power loss 
    #define POWER_LOSS_STATE     HIGH  // State of pin indicating power loss
    #define POWER_LOSS_PULL    pulldown // Set pullup / pulldown as appropriate
    #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
  #endif


Viewing all articles
Browse latest Browse all 2868

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>