Re: wiring diagram for Ariston Margherita
Please read this with regard to wiring diagrams. http://tinyurl.com/o5mq6
5 flashes indicates that the pressure switch is stuck on full or not resetting.
Check the pump filter for any obstructions, does the machine appear to be draining correctly? The fact that it sometimes works after resetting suggests a possible blockage or obstruction to the drain system
Can also be caused by a faulty pressure switch or gunge in the thin pressure hose leading to this switch.
Plug out at all times when you have your hands inside.
Jim.