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.
CmplecTask
AllTaskInfo: This function stores information of all available tasks in an array.
AllTaskInfo
CurrentTaskInfo: This function returns information about the current task.
CurrentTaskInfo
PLC_PRG: This program calls the functions AllTaskinfo and CurrentTaskInfo.
PLC_PRG
AllTaskinfo
Second_PRG: This program is called by the task SecondTask.
Second_PRG
SecondTask