RdcyAcyclicUnregisterUsage (FUN)

FUNCTION RdcyAcyclicUnregisterUsage : RTS_IEC_RESULT

Unregister a usage from the acyclic redundancy interface. Precondition: The acyclic data transfer module has to have reached at least the RA_STATE_INITIALIZED RdcyAcyclicState. Hint: The current state of the acyclic data transfer module can be queried with the RdcyAcyclicGetCurState FUNCTION.

InOut:

Scope

Name

Type

Comment

Return

RdcyAcyclicUnregisterUsage

RTS_IEC_RESULT

Error code (see CmpErrors.library). ERR_NO_OBJECT if the usage handle is unknown, ERR_NOTINITIALIZED if the acyclic data transfer module has not yet reached the RA_STATE_INITIALIZED RdcyAcyclicState, ERR_PARAMETER if pcszAcyclicDataUUID is NULL or doesn’t contain a valid UUID format, else ERR_OK

Input

pcszAcyclicDataUUID

REFERENCE TO STRING

The same Data UUID, which was used for registration with the RdcyAcyclicRegisterUsage FUNCTION.