Y oh why

Two nights ago, I trouble shot my Y axis. Nothing worked. Finally in a pique of annoyance, I swapped the cables (at the controller) between the X and Y. Everything worked? I swapped them back. Everything worked.

Now to fix the Z.