Yeah, I'm with Roach on this one. It seems like a watchdog. If you have some kind of HMI running, it may be continually poking a bit on/off to keep a timer from expiring, which may trigger some "all outputs off" bit in the PLC. One way to test this is to shutdown or disconnect the computer and immediately try to run something. If you can in the first few seconds, then it dies shortly after, you have a watchdog. You may still have a watchdog if you get an instant cutoff. It depends on the timer length. Look for timers in your program while online. Look for one that always seems on, yet never really increments much.