SupervisorOperationEnable
(FUN)
FUNCTION SupervisorOperationEnable : RTS_IEC_RESULT
Enables supervision for this operation: Sets timestamp to current time and alive flag
- InOut:
Scope
Name
Type
Comment
Return
SupervisorOperationEnable
RTS_IEC_RESULT
Error code
- Error code:
ERR_OK: Supervision was successfully enabled
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: The operation is already supervised
ERR_NOT_SUPPORTED”>SysTimeGetUs is not supported
Input
hOperation
RTS_IEC_HANDLE
Handle to the operation