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 this critical problem with an automatic machine controlled by Codesys SP RTE for winXp.
my application have 5 task, the application goes correctly in "running" state, but after a random time the automatic machine is freezed, in the configuration task the task are all in RUN but the counter cycle of every task is stop and all tasks should be stop...at this point the only solution is to restart the pc
Why the tasks don't run?
Other best solution??
Best Regards
Stefano
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Also check your cycle times. Are you doing any long processing tasks? Maybe the watchdog timer is tripping? Put a counter in each task and see if they are all being executed. Try disabling the application one task at a time and determine if there is something in one of the tasks that is causing an error. Try to isolate it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
put the tasktime slower of a task not needed badly.
check for overflow in a counter
look for exits in a program, better is return. (they will leave the stack)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Originally created by: Stefano.Casarini
Hello,
i have this critical problem with an automatic machine controlled by Codesys SP RTE for winXp.
my application have 5 task, the application goes correctly in "running" state, but after a random time the automatic machine is freezed, in the configuration task the task are all in RUN but the counter cycle of every task is stop and all tasks should be stop...at this point the only solution is to restart the pc
Why the tasks don't run?
Other best solution??
Best Regards
Stefano
Hello,
please post your application
Also check your cycle times. Are you doing any long processing tasks? Maybe the watchdog timer is tripping? Put a counter in each task and see if they are all being executed. Try disabling the application one task at a time and determine if there is something in one of the tasks that is causing an error. Try to isolate it.
put the tasktime slower of a task not needed badly.
check for overflow in a counter
look for exits in a program, better is return. (they will leave the stack)