IecTaskReload
(FUN)
FUNCTION IecTaskReload : RTS_IEC_HANDLE
Reload a specified IEC task. Reload means here: Delete the task at the actual position and create it newly.
- InOut:
Scope
Name
Type
Comment
Return
IecTaskReload
RTS_IEC_HANDLE
Handle to the new created task
Input
hIecTask
RTS_IEC_HANDLE
Handle to the task to reload
udiTimeoutMs
UDINT
- Timeout in milliseconds to wait, until the task deleted itself. Timeout can be one of the following predefined values:
RTS_TIMEOUT_DEFAULT: Default timeout to delete the task
RTS_TIMEOUT_NO_WAIT: Immediate deletion of the task
See Timeouts details.
pResult
POINTER TO RTS_IEC_RESULT
Pointer to error code