SupervisorOperationSetTimeout (FUN)ΒΆ
FUNCTION SupervisorOperationSetTimeout : RTS_IEC_RESULT
Sets a (new) timeout for the given operation Supervision must be disabled to modify the timeout and should be enabled afterwards.
- InOut:
- Scope - Name - Type - Comment - Return - SupervisorOperationSetTimeout- RTS_IEC_RESULT- Error code - Error code:
- ERR_OK: The timeout was successfully set 
- 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 timeout was not modified because supervision is enabled! 
 
 - Input - hOperation- RTS_IEC_HANDLE- Handle to the operation - stTimeoutUs- ULINT- Timeout limit in [us] 
