I am running codesys project on B&R PC with OS Windows 7 Embedded and CODESYS Control RTE V3, 3.5.13.20.
In this project I have 13 different tasks running with different cycle times and priorities, and sometimes it happens that one of them gets stuck due to missing external resource (profinet or TCP partner). There is screenshot attached how it looks.
Is there any way to find out inside of running program what is status of all tasks, and maybe even restart or disable some of them?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am running codesys project on B&R PC with OS Windows 7 Embedded and CODESYS Control RTE V3, 3.5.13.20.
In this project I have 13 different tasks running with different cycle times and priorities, and sometimes it happens that one of them gets stuck due to missing external resource (profinet or TCP partner). There is screenshot attached how it looks.
Is there any way to find out inside of running program what is status of all tasks, and maybe even restart or disable some of them?
The library you're after is the CmpIecTask.
All sorts of goodies in there, check out the documentation here:
https://help.codesys.com/webapp/idx-Cmp ... n=3.5.14.0 m