Uh Oh.. one of those...
I think the controller is the culprit here. Please see this thread:
http://www.calypsoventures.com/forums/v ... p?f=6&t=39
Which notes re the leafboy:
"Company: Various Chinese venders
Devices: USB Breakout Board (leafboy77)
Status: MSM users have reported many problems with these boards when attempting to do probing. The same mach/MSM combinations that work correctly on PP and Smooth Stepper boards, fails with these boards.
Additionally, CVI has received reports of these boards randomly causing unexpected motion."
Looks like we can add broken probe tip compensation to the list of flaws for the leafboy.
If you want I could probably make a little test script that verifies the problem (as there are registers in mach to get both the compensated and uncompensated trigger point coords). I'm thinking it would show that the two sets of registers are returning the same values and that would tell us that the device is not doing the correct calculation. That would give a test case to show the problem to the vendor...
But with the "no responsible vendor" Chinese devices there is no one I can contact to work with to get this behavior corrected.
So I don't see how the test script would be of any use.
I'm afraid that you have a bad motion control device.
Dave