OperationErrorCodes: Operation Error Codes

Enumerated Type Description

The OperationErrorCodes enumerated type contains codes that correspond to detected errors.

00

When the CommunicationErrorCodes is 00 hex (correct transaction), the OperationEr­rorCodes 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.

FF

When the CommunicationErrorCodes is FF hex (message refused), the OperationErrorCodes enumerated type can return these values:

Enumerator

Value (hex)

Description

NotProcessed_or_TargetResourceMissing

01

The target system resource is incommunicative.

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 unavailable.

TargetCommInactive

0C

A target communication function is not active.

TargetMissing

0D

The target is incommunicative.

ChannelNotConfigured

0F

The channel is not configured.

FE

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.)