Originally Posted by
MiniMadRyan
Well this is just messed up now....
With my original untouched code, after a G28 command, my Z was reported at 10. After a G1 Z0, my actual offset to the bed was 7.8. I then ran G29, after which my Z returned a 4.52...I then calculated my actual offset to be -8.92. I decided to run a print, which does a second G28 then G29. After the G29, the actual print begins, with the head well above the print surface. Killing the print doesn't move the z axis, so I take another M114. The Z is reported at 0.04. That's acceptable, as the first layer of my print should be 0.350. A second G1 Z0, and subsequent offset shows that my true value should be: -9.01.
My only thinking is that my Z_RAISE_BEFORE_PROBING is set to 15, and my Z_RAISE_BETWEEN_PROBINGS is set to 5, but these numbers don't correlate. My only "ah-hah!" moment was that after a G28 and then G1 Z0, I realized that as per your comments, my adjusted code would be:
current_position[Z_AXIS] += zprobe_zoffset + 12.80;
The 12.80 coming from the RAISE_BETWEEN_PROBINGS (5) plus the actual difference (7.8)
I'm truly at a loss as for what's going on here tonight. Maybe I'm just cursed when it comes to auto levelling, or maybe there's not enough coffee in my system, The numbers just don't make sense!