I would say that, in general, the answer to "Can anybody please list me the factors for PLC failure and the rankings from most harmful factor to less?" does have a simple answer.
I have met many failures in analogue and digital systems and, depending on what kind of system it is, you usually have:
1. Connectors and cables.
2. Vibration.
3. Temperature cycling and condensation.
4. ESD.
5. EPROMs that lose their contents.
6. Dust,Corrosive fumes, flooding.
7. Theft.
And, very often, documentation and know-how that has disapeared
The order may vary, but this is what I have seen in my active life in industrial automation and drives for more than 50 years.
Gunnar Englund
--------------------------------------
Half full - Half empty? I don't mind. It's what in it that counts.