first verify that it is actually bad, check the spacing (clearance) between the sensor and its trip point. Also you can use a screwdriver or some other metallic magnetic condutive tool to put against the sensor (orange/yellow) end and insure it is actually functional or not. if it is working it should light up the small led lights located around the end of it where the cable connects to it.
if they do not light up then you should trace the cable back to where it connects into the main control circuit and check the circuit there. You can disconnect it and check it at the connections there to verify if the sensor is actually bad. If it checks good continuity when triggering it then your problem is somewhere else before that point in the circuit.
back probing circuits can be a pain on these units so having a service manual and appropriate schematics are very helpful.
First check the fuses on the panel on the operator control panel and make sure they are all good. Don't assume by looking at them that they are ok, use a vom and physically check them.
you'll need an electrical schematic for this unit before you can trace and find the problem responsible for the power loss. Most functions are powered and/or controlled through relays on these units.
This is ONLY to be used to report flooding, spam, advertising and problematic (harassing, abusive or crude) posts.