faultDetect function

Process Fault Detection