Applicable Systems
Modicon M221
Modicon M241
Modicon M251
Modicon M340
Modicon M580
Altivar
Symptoms
The PLC STATUS LED turns red. The application watchdog has expired. The controller detected that the main task did not complete within its configured timeout period.
Possible Causes
- Main task execution time exceeds the watchdog timeout
- Infinite loop or recursive call in the user program
- Excessive I/O or communication load on the controller
- Hardware performance issue due to high temperature or aging
Troubleshooting Steps
- Step 1: Connect via EcoStruxure Machine Expert and read the system diagnostics
Confirm the fault is a watchdog expiry (DFJ 1) - Step 2: Check the main task properties for the configured watchdog time
Verify the watchdog timeout is appropriate for the application - Step 3: Profile the task execution to find the slowest POU (Program Organization Unit)
Identify the POU consuming the most execution time - Step 4: Optimize the slow POU or increase the watchdog timeout
Task completes within the watchdog timeout
How to Reset
To reset: 1) Stop the application in EcoStruxure Machine Expert. 2) Fix the slow code or increase the watchdog timeout. 3) Download the updated application. 4) Restart the application. Caution: Increasing the watchdog is a temporary measure. The root cause must be fixed.
Frequently Asked Questions
- Q: What is the application watchdog on a Modicon PLC?
The application watchdog monitors the main task execution time. If the task does not complete within the configured watchdog period, the controller stops the application to prevent uncontrolled behavior.
- Q: What is a typical watchdog timeout value?
Typical values range from 50ms to 500ms depending on the application. The watchdog should be set to 2-3 times the expected task execution time to allow for variability.
Source: Schneider Electric Modicon M241 Programming Guide, 2023
Category: PLC & VFD