-
1 Attachment(s)
OK... If you want to go back to the Unsafe Bed Leveling, we should probably add some debug code to print out what is going on.
It almost feels to me like you have some values stored in the EEPROM that are giving bad offsets to the add_homing[] array. But I know you have the EEPROM turned off.
Try this version of your Marlin_Main.cpp file. It has some debug stuff that it will print out for the Y-Axis homing operation.
-
The Y axis homes alright, it's the Z axis homing that has the Y axis move also (but only during G28, homing Z by itself in the middle of the bed does NOT move the Y axis.
-
Yes, but I'm curious if the firmware thinks you are at Zero on the Y-Axis after the Y-Home. If those debug prints say that is correct, we can add more until we find where it is going crazy.
-
G28:
>>>G28
SENDING:G28
203 X0.00
s (mm/s):0.00
M92 X0.00
Home X :
203 X0.00
s (mm/s):0.00
M92 X0.00
Home Y:
203 X0.00
s (mm/s):0.00
M92 X0.00
Doesn't look very helpful.
-
Yuck... That's not what I intended to print out! And that is printing out in the right column of Pronterface?
-
Yep, minus the "Home X:" "Home Y:" stuff.
-
1 Attachment(s)
OK... This has debug stuff for both Y & Z. I think if we can get it to print we will know where things go sour.
-
>>>G28 SENDING:G28 Just before Y-Home: 130.00 Just after Y-Home: 0.00 Just after Y-Home add_homing[] adjustment: 0.00 Just before Z-Home: 0.00 Just after Z-Home: 0.00 end of G28: 0.00
-
I didn't expect that! I figured the Y value was not really getting set to 0.0 in the G28
Let me think about this. Probably we want to do similar stuff to debug the front end of the Z-Probing so we can figure out why the Y-Axis is moving. But I have to call it quits for tonight.
One idea is you can use the SAFE_BED_LEVELING mode when we aren't actually trying to figure things out. And tomorrow some time, I'll have an updated Marlin_Main.cpp with further debug code in it to try. Will that work for you?
-
I don't think I'll be using the safe homing. I just tested, and found a G29 after a G28 puts both Y and X 10mm off. I have to send both Y and X 10mm negative to get back to the endstops once the bed leveling is finished.
Nevermind, that's not because of safe homing. It's now the same even with safe homing off.
Double nevermind, it was because I had the Left Probe Bed Position set smaller than the X probe offset.