If your equipment stops frequently and behaves abnormally, suspect the power source. Many users assume their power source is clean and stable, but reality is often different. A power source can be a mixture of noise and surges, and if they are not filtered out, the equipment powered by the power source wil be at risk.
There are devices on the market to prevent this, so there is no reason not to utilize them.
A noise filter is a device that effectlively removes noise from a power source.
A surge protector is a device to give any voltage surge in a power source a safe path to ground. As can be seen in the following photograph, a surge protector is always installed in most industrial control panels.
If these devices are not added to a system's power source, the system's operation will be unstable.