Task_Info2 (STRUCT)¶
TYPE Task_Info2 : STRUCT
Task information out of the task configuration
Task configuration menbers which are used with IecTaskCreate are marked with [c], status members are marked with [s].
Note for SIL2: This information is already inside of the data area, so we don’t need to tag it as safe anywhere.
- InOut:
- Name - Type - Comment - dwVersion- DWORD- [c] Version of the structure (2) - pszName- POINTER TO STRING - [c] Name of the task, mandatory - nPriority- INT- [c] IEC priority of the task (0..31) - KindOfTask- INT- [c] Kind of task. See corresponding category TaskType. - bWatchdog- BOOL- [c] Is TRUE, if watchdog is enabled - bProfiling- BOOL- [c] Is TRUE, if profiling is enabled (not used, FALSE recommended) - dwEventFunctionPointer- POINTER TO BYTE - [c] Function pointer to the event check routine, see IecTaskCreate - pszExternalEvent- POINTER TO STRING - [c] Name of the event, if it is an external event task - dwTaskEntryFunctionPointer- POINTER TO BYTE - [c] Function pointer to the task code, mandatory, see IecTaskCreate - dwWatchdogSensitivity- DWORD- [c] Watchdog sensitivity - dwInterval- DWORD- [c] Interval in microseconds - dwWatchdogTime- DWORD- [c] Watchdog time in microseconds - dwCycleTime- DWORD- [s] Cycle time in microseconds (last execution time) - dwAverageCycleTime- DWORD- [s] Average cycle time in microseconds - dwMaxCycleTime- DWORD- [s] Maximum cycle time in microseconds - dwMinCycleTime- DWORD- [s] Minumum cycle time in microseconds - iJitter- DINT- [s] Jitter in microseconds - iJitterMin- DINT- [s] Minimal jitter - iJitterMax- DINT- [s] Maximal jitter - dwCycleCount- DWORD- [s] Cycle counter - iState- WORD- [s] Task state. See category TaskState. - wNumOfJitterDistributions- WORD- [s] Number jitter statistical distribution entries - pJitterDistribution- POINTER TO Jitter_Distribution - [s] Statistical jitter distribution entries - bTimeSlicing- BOOL- [s] Timeslicing enabled - byDummy- BYTE- wDummy- WORD- dwIECCycleCount- DWORD- [s] Cycle counter for execution of user code 
