Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
I have an old project for v3.5.xx where a Task is controlled by a global variable. The task type is status.
This worked fine with the old version but now when I have v 3.5.SP7 patch 2 and the device Codesys Control Win V3 3.5.7.20 I get this exception when the variable turns TRUE. EXCEPTION[ProcessorLoadWatchdog] occurred in: App=[all], Task=[all]
The code in the POU is a single ladder rung (no loops).
The task controlled via status of a global variable "gets in to spin" (runs more than 20.000 times faster than freewheeling) and causes the exception.
One solution is to let the task, controlled by status, reset the global variable. This turns of the task and it will be run again when the variable becomes TRUE. With this workaround I donΒ΄t get the exception, but I thought this should be handled by the task-scheduler (am I wrong).
Any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Originally created by: hm@pol.se
I have an old project for v3.5.xx where a Task is controlled by a global variable. The task type is status.
This worked fine with the old version but now when I have v 3.5.SP7 patch 2 and the device Codesys Control Win V3 3.5.7.20 I get this exception when the variable turns TRUE.
EXCEPTION [ProcessorLoadWatchdog] occurred in: App=[all], Task=[all]
The code in the POU is a single ladder rung (no loops).
The task controlled via status of a global variable "gets in to spin" (runs more than 20.000 times faster than freewheeling) and causes the exception.
One solution is to let the task, controlled by status, reset the global variable. This turns of the task and it will be run again when the variable becomes TRUE. With this workaround I donΒ΄t get the exception, but I thought this should be handled by the task-scheduler (am I wrong).
Any ideas?