I have a Prusa I3 Rework printer and one of the z-axis motors is spinning in the opposite direction. I know the polarity is correct because it has been working right for a while now, and also earlier in the day. What it is specifically doing is when i try and home the z-axis (or move it in general) both motors will spin in the correct direction first and then a second or so later one will change direction. The only change that has occured since the last print is the position of the printer itself. I just slid it across the desk, making sure no wires were pinched or disconnected. I noticed a grub screw on the coupler of the problem motor was almost falling out and a clouple were loose but after tightening it I still had the problem. PLEASE HELP!!!
Specs:
Mega+RAMPS 1.4
Merlin firmware