SYS_TASK_INFO (STRUCT)
TYPE SYS_TASK_INFO : STRUCT
<description>SYS_TASK_INFO</description>
- InOut:
Name
Type
Comment
uiOSHandleRTS_IEC_HANDLE<element name=”uiOSHandle” type=”IN”>Operating system handle of a task</element>
iStateDINT<element name=”iState” type=”IN”>Actual state of the task. See category “Task status definitions” for details.</element>
iOldStateDINT<element name=”iOldState” type=”IN”>Previous state of the task</element>
TP<element name=”TP” type=”IN”>Task parameter, with which the task was created</element>
ulCycleTimeUDINT<element name=”ulCycleTime” type=”IN”>Last cycle time</element>
ulCycleStartUDINT<element name=”ulCycleStart” type=”IN”>Start time of the cycle</element>
ulPriorityUDINT<element name=”ulPriority” type=”IN”>RTS priority of the task (not OS priority)</element>
ulOSPriorityUDINT<element name=”ulOSPriority” type=”IN”>Operating system priority of the task</element>
ulIntervalUDINT<element name=”ulInterval” type=”IN”>Specified interval for the task</element>
ulStackSizeUDINT<element name=”ulStackSize” type=”IN”>Specified stack size for the task</element>
pFunction<element name=”pFunction” type=”IN”>Function pointer of the task frame</element>
szNameSTRING(SYSTASK_MAX_NAME_LEN)<element name=”szName” type=”IN”>Name of the task</element>
pExceptionHandler<element name=”pExceptionHandler” type=”IN”>Specified exception handler of the task</element>
Context<element name=”Context” type=”IN”>Current context of the task, if the task is supended</element>
pCppInstancePOINTER TO BYTE
<element name=”pCppInstance” type=”IN”>Internal usage for C++</element>
pOSSpecificPOINTER TO BYTE
<element name=”pOSSpecific” type=”IN”>Optional pointer to operating system specific stuff</element>
ulFeatureDWORD<element name=”ulFeature” type=”IN”>Features flags of the task. See category “FeatureFlags” for details.</element>