SysTaskWaitSleep
(FUN)
FUNCTION SysTaskWaitSleep : RTS_IEC_RESULT
<description>S This function serves to pause the processing of a running task for a time interval specified in milliseconds. Processing will be continued after the time interval elapsed. </description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>
- InOut:
Scope
Name
Type
Comment
Return
SysTaskWaitSleep
RTS_IEC_RESULT
Input
hTask
RTS_IEC_HANDLE
<param name=”hTask” type=”IN”>Handle to task</param>
ulMilliSeconds
UDINT
<param name=”ulMilliSeconds” type=”IN”>Time in milliseconds to sleep</param>