Your problem may be the UPS, not all units create a clean waveform, especially on batteries. It can be more of a square wave in extreme cases. The PLC 5 does not normally require a UPS if the battery is good. If you are really worried, some (if not all) have provisions for EEPROM loading.
Check the UPS with a sc>Hello,
I have been having a problem with my AB power supply used on a PLC 5,
>if the pump station gets a power failure (power bump) sometimes this
>PLC 5 power supply will just shut itself off, the only way to get it
>to power up is to pull the fuse and re-install it. I have a Clary
>Model # UPS1-1.5K-1G-SBS-R Uniteruptable Power Supply, which is
>suppling power to 2 power distribution strips ( 2 - 6 outlet strips
>from Walmart, I think) with built in overload protection on each strip
>(15 amps). The other components connected to these power strips are
>not showing any sign of being affected by the power bumps. We have a
>PLC5/15 processor used in a 13 slot rack with a remote I/O card in a
>13 slot rack that has its own power-supply. The power-supply on the
>remote I/O rack will just turn itself off every once in awhile when
>the station has a power bump. It is a Cat.# 1771-P4, Input: 120 V AC,
>Output: 8 Amps @ 5 V DC. I am using 3 AC input cards and 3 AC output
>cards on this remote I/O rack. Any ideas on why this is happening and
>maybe suggestions on how I can fix it? Please post and/or email me
>any questions you may have.