IecTaskGetWatchdogHitCount (FUN)

FUNCTION IecTaskGetWatchdogHitCount : RTS_IEC_RESULT

Function returns the watchdog hit count information of the specified task

InOut:

Scope

Name

Type

Comment

Return

IecTaskGetWatchdogHitCount

RTS_IEC_RESULT

Returns the runtime system error code (see CmpErrors.library)

Input

hIecTask

RTS_IEC_HANDLE

Handle to the specified task

pWatchdogHitCount

POINTER TO Task_WatchdogHitCount

A pointer to the Task_WatchdogHitCount structure

wWatchdogHitCountSize

WORD

The size of the Task_WatchdogHitCount structure