OperationErrorCodes: Operation Error Codes
The OperationErrorCodes enumerated type contains codes that correspond to detected errors.
When the communication error code is 00 hex (correct transaction), the OperationErrorCodes enumerated type can return these values:
Enumerator |
Value (hex) |
Description |
---|---|---|
OperationOK |
00 |
The exchange is valid. |
NotProcessed_or_TargetResourceMissing |
01 |
The request has not been processed. |
BadResponse |
02 |
The received response is incorrect. |
When the communication error code is FF hex (message refused), the OperationErrorCodes enumerated type can return these values:
Enumerator |
Value (hex) |
Description |
---|---|---|
NotProcessed_or_TargetResourceMissing |
01 |
The target system’s resource is absent. |
BadLength |
05 |
The length is incorrect. |
CommChannelErr |
06 |
The communication channel is associated with a detected error. |
BadAddr |
07 |
The address is incorrect. |
SystemResourceMissing |
0B |
A system resource is missing. |
TargetCommInactive |
0C |
A target communication function is not active. |
TargetMissing |
0D |
The target is absent. |
ChannelNotConfigured |
0F |
The channel is not configured. |
When the communication error code is FE hex, the OperationErrorCodes enumerated type contains the protocol-specific error detection code. (Refer to your specific protocol’s error detection codes.)