-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
[BUG] Z-Offset Not Working Properly After Upgrading to Marlin 2.1.3-b1: Reported Z Height Inaccuracies #27581
Comments
To rule out hard-to-see inaccuracies that can throw things off, I recommend enabling and running the There are certainly some changes in homing and leveling, so if there is something incompatible with your particular settings we'll want to narrow that down as specifically as we can. If a complete calibration doesn't get you to a better place, we can look at doing a more in depth process to find the specific change. It would be a good idea for you to look at 2.1.2.5 also. If the problem is not in that version that helps us to narrow down where the problem originates. |
@thinkyhead Here is the output
I checked version 2.1.2.5 and can confirm, that there the z-offset is applied as it used to and Z height after Now, with that being said. I assumed, that print would fail, giving that homing resulted in the nozzle being above the build plate with So... That makes me conclude, that Z_Offset is working just fine. And that reported Z-height is accurate. It's just that Z position is supposedly wrong, in certain scenarios which do not cause print to fail.
|
Thanks for the update. I patched the code so X-twist can build. The code around The logic for upcoming 2.1.3 is likely different from 2.1.2.x. Currently…
If you are certain your probe will be retracted (or if it's a probe that doesn't move) then do_z_clearance(Z_POST_CLEARANCE,
ALL(HOMING_Z_WITH_PROBE, HAS_STOWABLE_PROBE)
&& TERN0(HAS_BED_PROBE, endstops.z_probe_enabled), true); |
@thinkyhead
Is this patch already up? I downloaded bugfix 2h ago and tried to compile it with X-twist turned on, and I still get the error
|
Did you test the latest
bugfix-2.1.x
code?Yes, and the problem still exists.
Bug Description
Hello,
So, I'm trying to upgrade firmware from old version 2.1.1 to 2.1.3-b1, and stumbled upon an issue, that I think could be a bug.
I can't get Z-offset to work properly. After flashing new firmware, I do as usual and reset EEPROM. Then I do homing, probes the middle of the bed, double-click on knob and adjust babysteps until the nozzle touches the build plate. Then I save settings and run homing to check if Z height is correct or needs further adjusting.
But instead of it being at least close to target height, its final actual Z height always stays approximately at 1.4mm, but the screen reports Z height as whatever negative Z-offset I entered but with a positive value.
Did transfer settings manually from the old configs and
Z_AFTER_HOMING
is set to 0. I did try latest bugfix, transferred only essential settings and it still behaves this way. Flashed old 2.1.1 back, and there is no problem, so that's not a hardware issue.Included configuration files from version 2.1.3-b1 and two homing procedures with old Marlin 2.1.1, which preforms as it should and the new version.
Hopefully, I managed to describe my issue across somehow. =)
G28_tests.zip
Configuration.zip
Bug Timeline
New. After upgrade from Marlin 2.1.1 to 2.1.3-b1.
Expected behavior
I expected nozzle with z-offset -10mm to crash into buildplate or to be at Z0 position after homing, with nozzle touching the buildplate, as adjusted to actual z-offset of -1.33mm.
Actual behavior
The nozzle is ~1.4mm above the buildplate, but reported Z height is either 10mm or 1.33mm with z-offset being -10 and -1.33 respectively.
Steps to Reproduce
Steps followed in G28 test files:
DEBUG_LEVELING_FEATURE
andM114_DETAIL
, flashed to printer via SD cardM502
followed byM500
M111 S247
G28
as a base reference with Z-offset 0M851 Z-10
(For demonstration purposes, similarly happens with actual -1.33mm)G28
Version of Marlin Firmware
Marlin 2.1.3-b1
Printer model
Creality CR-10S
Electronics
BTT SKRv1.3, BL-Touch v1.2, TMC2208, E3Dv6, DirectDrive
LCD/Controller
Stock
Other add-ons
No response
Bed Leveling
ABL Bilinear mesh
Your Slicer
None
Host Software
Pronterface
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
Did not change any other files except Configuration.h and Configuration_adv.h. Bootscreen and statusscreen files, which should be irrelevant.
The text was updated successfully, but these errors were encountered: