I had a z-max switch die on me recently - crazy, but it did - so I have spent the last 2 days swapping it out. Yes. 2 days.
A bit of that was me being slow, or having to print a new switch carrier that has more adjustment, but a lot of it has been thanks to what appears to be a gremlin in my SKR. I have a BTT 1.2 running the dual endstop firmware.
Unfortunately it’s just randomly doing %#|+ instead of what I tell it to do. Here’s an abbreviated list of issues I experienced this afternoon:
While at Z home, send G38.2 Z0, get an “ok” response immediately with no movement. (Happened many times). Verified with the LED on the SKR that the probe wasn’t touching. Jogging Z down would eventually ’fix’ this.
While homing Z with the new endstop switch, the endstop would trigger, Z would back off and approach slowly for the second try. Endstop switch would trigger, but Z stepper would drive straight through and clunk clunk clunk. Again verified with leds that switches were triggering and being detected, but ignored.
Using the TFT to jog Z out of the way, I set it to 10mm and tapped Z- twice - it drove straight from home into the spoil board. Triple checked after this happened, and yup, it was set to 10 mm. Thought I was crazy, but it happened again.
I issued an M114, and it responded with the current position. Then 2 seconds later it did it again. And again. And again. Every few seconds printing out the current location, and preventing me from sending any other commands until I cut power and rebooted it.
Oh yeah - at one point it just randomly decided to cut or reduce power to ONE of the Z steppers, letting that side drop to the spoil board.
There were other random issues and weird quirks, but I can’t remember them all…
Needless to say, I need a beer, a hug, and probably a new controller. Unless anyone has any ideas?