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.03k stars 19.13k forks source link

[BUG] G30 - Single Z-Probe doesn't respect HOME_AFTER_DEACTIVATE #27206

Open KevWal opened 2 weeks ago

KevWal commented 2 weeks ago

Did you test the latest bugfix-2.1.x code?

No, but I will test it now!

Bug Description

The command "G30" - Single Z-Probe doesn't appear to respect the HOME_AFTER_DEACTIVATE setting.

I have NO_MOTION_BEFORE_HOMING and HOME_AFTER_DEACTIVATE set in my config file, they work fine normally, enforcing the homing before motion, but then I created some Macros (in Pronterface) using G30 and they just move, even after a deactivation, without a homing.

Bug Timeline

Noticed 24/06/2024

Expected behavior

Expected not to move with an error, or to run a G28 automatically

Actual behavior

It just moves, even if it means it tries to take the axis beyond the maximum limits of the printer (I have no max physical end stops), causing motors to stall and possible damage.

Steps to Reproduce

Deactivate the motors Run a G30 command

Version of Marlin Firmware

2.1.2.4

Printer model

Prusa I3

Electronics

RAMPS 1.4

LCD/Controller

Panelolu2

Other add-ons

No response

Bed Leveling

ABL Bilinear mesh

Your Slicer

Slic3r

Host Software

Pronterface

Don't forget to include

Additional information & file uploads

Configuration.zip

ellensp commented 1 week ago

Please test the bugfix-2.1.x branch to see where it stands. If the problem has been resolved then we can close this issue. If the issue isn't resolved yet, then we should investigate further.