MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.34k stars 19.26k forks source link

[FR] Option to return to main menu on pause (from the LCD) #20799

Open PomponXZ opened 3 years ago

PomponXZ commented 3 years ago

Description

Add an option under ADVANCED_PAUSE_FEATURE to return to "main_menu" instead of the purge/continue screen on pause from the lcd

Feature Workflow

  1. Enable ADVANCED_PAUSE_FEATURE
  2. Select a file to print
  3. Pause
  4. Extruder parks and returns to the main menu just like without ADVANCED_PAUSE_FEATURE

Additional Information

Im using Marlin 2.0.7.1 on a MKS SGEN_L 1.0 (32bits LPC1768)

Ive been trying for the last 2 days to edit marlin and somewhat got it to work though a bit glitchy. My issue is that if a print fails for whatever reason i can pause it, fix the issue, rehome the axis and try to save the rest of the print (like printing 20 pieces at a time and you cought it just when it missed a step so only one or two got ruined) In Marlin 1.1.9 thats exactly the behaviour it has but since Marlin v2 thats not the case, i can pause it but if it missed a step i cant access the menu to rehome the axis that had the issue so i basically have to throw the entire print into the trash.

If you pause and return to the main menu, when you click resume it already sends you back to the purge/continue screen, so all there needs to be added is an option to either restore the old behaviour or at least an item to exit from the purge/continue screen back to the main menu.

Without ADVANCED_PAUSE_FEATURE, pausing from the LCD leaves you in the main menu, the main problem is that it doesnt park the nozzle, which could leave marks in the print or cause issues. Im fine with making NOZZLE_PARK_FEATURE work without ADVANCED_PAUSE_FEATURE if theres any reason not to return to the main menu.

Tupson444 commented 2 years ago

I need the ADVANCED_PAUSE_FEATURE for filament runout sensor, but disabling only PARK_HEAD_ON_PAUSE makes it return to menu after pausing, although as it implies, the head doesn't park.

As a workaround, I've added "M25" and "G1 X1" as Custom Commands to be able to pause and quickly move the nozzle away, without the need to click several times to enter Move Axis menu (although I couldn't make it move up because, even if I use G27, it will not return to the proper height when resumed - it will print one layer in the air, as discussed in #9254).

I'm using Marlin 2.0.9.3