SysTaskSetExit (FUN)
FUNCTION SysTaskSetExit : RTS_IEC_RESULT
<description>Set the exit flag of the specified task. On the next cycle, the task will exit.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>
- InOut:
Scope
Name
Type
Comment
Return
SysTaskSetExitRTS_IEC_RESULTInput
hTaskRTS_IEC_HANDLE<param name=”hTask” type=”IN”>Handle to task</param>