SysWdgEnableΒΆ

This function of type BOOL can be used to activate resp. deactivate the watchdog for a specified task. It will return TRUE in case of success, otherwise FALSE.

Variable Data type Description
bEnable BOOL

if TRUE: The watchdog functionality gets activated

if FALSE: The watchdog functionality gets deactivated

byIECTaskIndex BYTE Index of the IEC task, for which the watchdog should be activated/deactivated
stIECTaskName POINTER TO STRING Name of the IEC task, can be a pointer to zero