I have a switch that is used for setting tool lengths on CNC Mill. The switch operates normally closed, and breaks the signal when a tool touches it, which sets the length via a macro. The control however, sees this the opposite way, and is looking for the signal to set the length. When I run the macro it immediately sees the signal, and sets a tool length, even though the tool hasn't had time to move and is no where near the switch.
What I am looking for is a relay that will switch this NC to an NO, and ideally this trigger would happen instantly so these dozens of tools can be set at higher speeds. Is that a thing? What is it called?
Hopefully this is something that is readily available, bonus points available if you can help me find one for sale! Thanks!