IecTaskDisableWatchdog (FUN)
FUNCTION IecTaskDisableWatchdog : RTS_IEC_RESULT
Disable watchdog for the specified task
Note
You have to enable the watchdog of the task with IecTaskEnableWatchdog and _not_ with IecTaskEnableWatchdog2, because they act on different task flags!
The watchdog is disabled only for the current cycle! At the next cycle, the watchod is automatically enabled!
- InOut:
Scope
Name
Type
Comment
Return
IecTaskDisableWatchdogRTS_IEC_RESULT- Returns the runtime system error code (see CmpErrors.library)
ERR_OK: The watchdog for the task was disabled
ERR_PARAMETER: The task handle was invalid
Input
hIecTaskRTS_IEC_HANDLEHandle of the task