hey guys

my cnc machine started playing up by acting all random whilst doing auto tool zero. it would try to drive through the zero plate
or if stops on touching the plate it would go up, reach the limit and still try to force its way up. I had simular behaviour in the past,
so changed the Z motor cable. the problem remained. I changed the main board, problem stayed. I changed the stepper drive for
Z and suddenly i can't control directions for xyz manually at all. however, when in Mach 3 i tell it to go to home coordinates it does fine, if i execute
g-code it runs ok in all directions xyz. Any idea what could have caused the manual controls to be unresponsive.

I run this gear Profi4 Controller | Cau Cau

Thank you for any of your help.