Skip to content

[BUG] Print head moves when entering then exiting "Leveling" menu #2976

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
hafunui opened this issue Apr 29, 2025 · 2 comments
Open

[BUG] Print head moves when entering then exiting "Leveling" menu #2976

hafunui opened this issue Apr 29, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@hafunui
Copy link

hafunui commented Apr 29, 2025

Description

When I enter the "Leveling" menu and then back out of that menu, the print head starts moving down until it crashes. I'm trying to configure the newest version of marlin on my custom delta printer (modified anycubic kossel linear plus), so I'm not completely sure everything is configured properly yet. I did have a manually deployable probe attached in anticipation for auto bed leveling. In my old configuration, with marlin-bugfix-2.0.x and stock reprap discount smart controller, it would prompt me to deploy a probe, regardless if one was already attached, and await my confirmation. No such prompted occurs here, so I'm not sure what command the TFT sent to the mainboard. It just moves down and crashes. (And destroyed my probe)

The "Bed Leveling" menu doesn't do this. It seems to work fine.

EDIT: The crashing itself was due to an incorrect DELTA_HEIGHT within marlin. However, the printhead still moves upon simply entering then exiting the leveling menu.

Steps to reproduce

  1. Navigate to "Movement > Leveling" menu on TFT
  2. Press Back
  3. Print head moves down.

Expected behavior
Nothing. Backing out of menu shouldn't move any motor.

Actual behavior
Print head moves.

Hardware Variant

TFT35 V3.0.1
BIGTREETECH-SKR-PRO-V1.1

TFT Firmware Version & Main Board Firmware details

BIGTREE_GD_TFT35_V3.0.27.x
Marlin-2.1.3-b2

Additional Information

Attached is a zip containing TFT35 config.ini and marlin configurations, if it helps.
TFT35_Marlin_configs.zip

@hafunui hafunui added the bug Something isn't working label Apr 29, 2025
@hafunui
Copy link
Author

hafunui commented May 4, 2025

So it turns out the crashing was due to an incorrect DELTA_HEIGHT in marlin. With a correct height configured, the printhead now parks a safe distance away from the bed.

However, I'm still not sure this is intended behavior. Simply entering and exiting the leveling menu could cause the head to crash into partially printed or cooling parts, for example.

@hafunui hafunui changed the title [BUG] Print head crashes when exiting "Leveling" menu [BUG] Print head moves when entering then exiting "Leveling" menu May 4, 2025
@rondlh
Copy link

rondlh commented May 5, 2025

I had a quick look into this issue.
What happens is this:
In Leveling.c there is this code for when you exit the Leveling menu:

      case KEY_ICON_7:
        probeHeightMove(infoSettings.level_z_raise);

        CLOSE_MENU();
        break;

probeHeightMove moves the nozzle away from the bed by "level_z_raise" as defined in the config.ini file.
This seems to there for safety, like for example when you manually leveled the bed by letting the nozzle touch the bed, but never moved the nozzle away from the bed afterwards, which could scratch the bed if you make a move in this condition.
So in general this seems to be a good thing to do.

Conclusions: It's not a bug, it's a feature :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants