Protection and control relay for paper mill