Hi,
You should try to connect the ZSwitch instead of X or Y and vice versa into the board and make a homing in maintenance menu.
Of course, when you see it moving, just manually push on the switch to be sure the mechanic thing will do right. If it still makes nothing.
Than you'll be sure about where's the problem located