Good Morning, Thanks for your reply.
The software is cnc usb controller. I think that is exactly the problem, the fact that limit switches share a pin with the probe even though they are connected on different pins on the board itself.

Would you say I would be better of getting a new controller board? If so what do you recommend?

Best Regards
Andre D.