- Unless the program is posted (PDF best, or .zip with program files) and the process is described here, this forum cannot provide much specific help.
- If it ran for several years and only faulted now, then something changed. See 1 above.
- Although there could be other reasons, the fault message provides three likely possibilities:
- Infinite loop: are there any loops in the main program? See 1 above.
- Is the MainRoutine doing a lot of processing and calculations on each scan? Was the per-scan time close to the watchdog timeout before the problem occurred, and has something in the process changed that would increase the amount of processing per scan? See 1 above.
- Are there tasks other than the Main task in the PLC program? Are they higher priority than the Main task? Has anything in the process changed to make thos higher priority tasks run longer or more frequently? See 1 above.
Do you know what a watchdog is? If not, it is a PLC behavior where, if any
one scan of the Main Task does not complete, from beginning to end, within a set time, then the watchdog task timeout expires and the PLC faults.
A watchdog is analogous to,
but not implemented as, the following logic running in parallel with the Main Task:
Main_Task_Scan_Complete Watchdog_Task_Timer
----------]/[--------------------------[TON]------------
Watchdog_Task_Timer.DN Watchdog_Fault
----------] [--------------------------------( )----------
N.B. Again,
the ladder logic above does not exist on the PLC as such, I use it here only to describe what a watchdog does.
If both Redundant PLCs faulted for a watchdog timeout, then that suggests this is not a problem with the PLC hardware, but something common to both PLCs, e.g. the program, or the process, or both.
See 1 above.