Put a screw in front of the face of the sensor to test its operation. If the proximity sensor LED turns on and off, and the diagnostic bit changes status, then the sensor is working correctly. Align the trip flag so that it triggers the proximity sensor. Check the proximity sensor and extenstion cables for damage.