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
SupervisorOperationSetTimeoutRTS_IEC_RESULTError 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
hOperationRTS_IEC_HANDLEHandle to the operation
stTimeoutUsULINTTimeout limit in [us]