Download project
This example shows how task information can be read.
The example shows how task information can be read with the help of the system library CmplecTask.
AllTaskInfo: This function stores information of all available tasks in an array.
CurrentTaskInfo: This function returns information about the current task.
PLC_PRG: This program calls the functions AllTaskinfo and CurrentTaskInfo.
Second_PRG: This program is called by the task SecondTask.
| System requirements and restrictions | Info |
|---|---|
| Programming System | CODESYS Development System Version 3.5.14.0 or higher |
| Runtime System | CODESYS Control Version 3.5.14.0 |
| Required Accessories | - |