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.