You could fit a prox, but if you use a quality switch such as Honeywell Micro switch, they are probably just as repetitive as prox, especially when using it to switch magnetic devices such as relays and solenoids, the characteristics of which have activation times that are relatively slow anyway.
The majority of brakes and shears use this type.
There is a diagram that usually comes with prox switches, the load symbol would be your relay and you can select the logic N.C./N.O. by selecting the appropriate relay contact.
If you use a SSR then you would have to select a prox with a N.C. output.
But check to see if the present switch is N.C. but held open.
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.