Login to Your Account
Results 1 to 1 of 1
  1. #1
    Join Date
    Dec 2020

    Marlin 1.1.9 Firmware help on Ender 3 Pro

    Hello all. I was wondering if anyone is able to help decipher part of the Marlin firmware with me. I am trying to modify the power_loss_recovery.cpp section of the firmware. Right now since I have a BLTouch, when power loss recovery kicks in, it tries to home the Z access while X is in the far left position and try to lower Z until the home switch gets activated. With the BLTouch, the stock Z home switch is gone and the BLTouch is off the bed when it tries to do this and it ends up crashing into the bed. Normal homing works great and so does bed leveling, I only have this issue when doing the power loss recovery mode.

    This is where I was thinking I could add some more commands in:

    strcpy_P(job_recovery_commands[ind++], PSTR("M420 S0 Z0")); // Leveling off before G92 or G28

    strcpy_P(job_recovery_commands[ind++], PSTR("G92.0 Z0")); // Ensure Z is equal to 0
    strcpy_P(job_recovery_commands[ind++], PSTR("G1 Z2")); // Raise Z by 2mm (we hope!)
    strcpy_P(job_recovery_commands[ind++], PSTR("G28 R0"
    " S"
    #elif !IS_KINEMATIC
    " X Y" // Home X and Y for Cartesian

    What I would like to add in would be this routine. Raise Z 20 MM, Home X & Y. Move X and Y in 40 MM and Home Z. Raise Z 20mm and then go back to last saved location of power loss.
    Would that be possible to add each command like this one is listed? strcpy_P(job_recovery_commands[ind++], PSTR("G92.0 Z0"));

    Thanks for the help!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Ender 3 Pro with MKS Gen L - Marlin 2.0 no Z homing
    By ritchy24 in forum General 3D Printer Discussion
    Replies: 0
    Last Post: 09-21-2020, 11:35 AM
  2. NEED HELP Ender 3 vs Ender3 pro vs Ender 3 V2
    By theeaterofshades in forum Beginners (New to 3D Printing)
    Replies: 0
    Last Post: 07-22-2020, 02:18 PM
  3. NEED HELP Building my first Marlin 2.0 Printer
    By Reefsider in forum Hardware (stepper motor, drivers Etc)
    Replies: 0
    Last Post: 04-13-2020, 02:51 PM
  4. NEED HELP Marlin endstops tutorial?
    By maker of things in forum Beginners (New to 3D Printing)
    Replies: 12
    Last Post: 02-15-2014, 08:55 AM
  5. DISCUSSION Ramps Board Selection in Marlin Firmware Guide
    By Nchapman in forum Beginners (New to 3D Printing)
    Replies: 2
    Last Post: 02-14-2014, 10:00 AM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts