SysTaskExit (FUN)
FUNCTION SysTaskExit : RTS_IEC_RESULT
<description>Tries to exit the given task gracefully. If the task doesn’t answer in the specified timeout, then the task will be deleted hard!</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>
- InOut:
Scope
Name
Type
Comment
Return
SysTaskExitRTS_IEC_RESULTInput
hTaskRTS_IEC_HANDLE<param name=”hTask” type=”IN”>Handle to task</param>
ulTimeoutMsUDINT<param name=”ulTimeoutMs” type=”IN”>Timeout in milliseconds</param>