SysTaskGetInterval
(FUN)
FUNCTION SysTaskGetInterval : RTS_IEC_RESULT
<description>Get the actual interval of a cyclic task. If the specified task is no cyclic task, the function return an error.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>
- InOut:
Scope
Name
Type
Comment
Return
SysTaskGetInterval
RTS_IEC_RESULT
Input
hTask
RTS_IEC_HANDLE
<param name=”hTask” type=”IN”>Handle to the task</param>
Inout
pulInterval
UDINT
<param name=”pulInterval” type=”OUT”>Interval of the task in microseconds!</param>