SchedSetTaskInterval (FUN)

FUNCTION SchedSetTaskInterval : RTS_IEC_RESULT

<description>

Set the actual interval of a cyclic task. If the specified task is no cyclic task, the function return an error. This interface can be used to synchronize a task to another task or to events.

</description> <param name=”hSchedTask” type=”IN”>Handle to the task</param> <param name=”tInterval” type=”IN”>New interval in microseconds!</param> <result>error code</result>

InOut:

Scope

Name

Type

Return

SchedSetTaskInterval

RTS_IEC_RESULT

Input

hSchedTask

RTS_IEC_HANDLE

ulInterval

UDINT