rta53
Lifetime Supporting Member
Looking for some advice about the best way to handle frequent power cycling to a SLC 5/05 based system. The power cycling is due primarily to the not so uncommon electrical storms we have here in the south. Without getting into all the specifics of the system, what I need to do is delay the restart of part of a process any time power is lost to the system for less than 5 minutes. I am primarily concerned about momentarily outages caused by electrical storms or other power grid issues. One of our techs addressed this issue on another system by installing a small UPS to power the PLC and then monitor an input to the PLC that is always enabled as long as there is power to the panel. If power is lost, thus the input turns off, then the restart of the process is delayed for 5 minutes.
I was wondering if you could just monitor a bit in the program that is set when the processor first powers up (which would indicate power had been lost) and use that to delay the restarting of the process. It would have to work any time power is lost to the process, no matter how short the duration. If power is lost to the PLC for milliseconds is there some time lag before the PLC program actually stops executing? Is this something you guys have had to deal with? What's the best solution?
I was wondering if you could just monitor a bit in the program that is set when the processor first powers up (which would indicate power had been lost) and use that to delay the restarting of the process. It would have to work any time power is lost to the process, no matter how short the duration. If power is lost to the PLC for milliseconds is there some time lag before the PLC program actually stops executing? Is this something you guys have had to deal with? What's the best solution?