SupervisorOperationAlive (FUN)

FUNCTION SupervisorOperationAlive : RTS_IEC_RESULT

Reassures the alive state of the operation with the given timestamp in order to retrigger the hardware watchdog

InOut:

Scope

Name

Type

Comment

Return

SupervisorOperationAlive

RTS_IEC_RESULT

Error code

Error code:
  • ERR_OK: Alive state was successfully reassured

  • ERR_NOTINITIALIZED: The operation memory is not initialized

  • ERR_INVALID_HANDLE: The handle to the operation is invalid

  • ERR_PARAMETER: The handle to the operation is invalid

  • ERR_NO_CHANGE: Supervision is disabled for the operation

  • ERR_NOT_SUPPORTED”>SysTimeGetUs is not supported

Input

hOperation

RTS_IEC_HANDLE

Handle to the operation

pstTimestampUs

POINTER TO ULINT

Pointer to timestamp. May be NULL, if time check is enabled timestamp is set to current time.