IecTaskEnableWatchdog2 (FUN)

FUNCTION IecTaskEnableWatchdog2 : RTS_IEC_RESULT

Enable watchdog for the specified task

Note
InOut:

Scope

Name

Type

Comment

Return

IecTaskEnableWatchdog2

RTS_IEC_RESULT

Returns the runtime system error code (see CmpErrors.library)
  • ERR_OK: The watchdog for the task was enabled

  • ERR_PARAMETER: The task handle was invalid

Input

hIecTask

RTS_IEC_HANDLE

Handle of the task