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
SysTaskWaitSleepRTS_IEC_RESULTInput
hTaskRTS_IEC_HANDLE<param name=”hTask” type=”IN”>Handle to task</param>
ulMilliSecondsUDINT<param name=”ulMilliSeconds” type=”IN”>Time in milliseconds to sleep</param>