knutwurst / Marlin-2-0-x-Anycubic-i3-MEGA-S

Marlin 2.0.x Version for Anycubic i3 MEGA M/S/P/X/CHIRON and 4MAX with Anycubic TFT or the "new" DGUS Clone TFT - Now also with BLTouch!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Inductive probe and `G28 X Y` causes Z to move to absolute Z5.01 first

mlewis-everley opened this issue · comments

Have you read all Wiki articles in cluding the FAQ? YES

Do you want to ask a question? Are you looking for support? Not sure?

Bug Description

I am not sure if this is a bug, or if I have mucked something up in my config, I have installed an inductive probe on my i3 Mega's and they are working perfectly except that now when you issue G28 X Y or G28 X or G28 Y, the Z axis moves to absolute 5.01 prior to homing the X &/or Y.

I cannot see anything obvious in this fork that would cause this behavior. I have added similar features to vanilla marlin for a different printer and am not getting this issue so possibly this is a bug?

Happy to submit a PR for this issue, but at the moment I am stumped as to what might be causing it. I have not used the BLTouch version of this firmware, so not sure if that behaves the same way?

My fork is: https://github.com/mlewis-everley/Marlin-2-0-x-Anycubic-i3-MEGA-S

Steps to Reproduce

  1. Install custom probe.
  2. Compile and install this firmware.
  3. Move the Z up (EG: G1 Z100).
  4. Turn off steppers.
  5. Home XY G28 X Y.
  6. Z will now move to Z5.01 BEFORE homing X and Y.

That's strange... but I'll take al look :)

Thank you, I have done a little bit more testing my end. It appears this only happens after you run a G29.

Prior to this, homing works as expected, if I run G28 X or G28 Y then the print head moves up 10mm and then performs a home.

After running G29, the above issues then occur.