Error Code Translation
The Anybus CompactCom error codes are translated to OPC UA status codes as described in the table below.
#  | Anybus error code  | #  | OPC UA status code  | Comment  | 
|---|---|---|---|---|
0x02  | Invalid message format  | 0x80020000  | BadInternalError  | |
0x03  | Unsupported object  | N/A  | N/A  | Not possible to define a generic translation. Depends on the context of the request.  | 
0x04  | Unsupported instance  | 0x80340000  | BadNodeIdUnknown  | Not possible to define a generic translation. Depends on the context of the request.  | 
0x05  | Unsupported command  | 0x803D0000  | BadNotSupported  | |
0x06  | Invalid CmdExt[0]  | N/A  | N/A  | Not possible to define a generic translation. Depends on what CmdExt[0] contains.  | 
0x07  | Invalid CmdExt[1]  | N/A  | N/A  | Not possible to define a generic translation. Depends on what CmdExt[1] contains.  | 
0x08  | Attribute not set-able  | 0x803B0000  | BadNotWritable  | |
0x09  | Attribute not get-able  | 0x803A0000  | BadNotReadable  | |
0x0A  | Too much data  | 0x80740000  | BadTypeMismatch  | |
0x0B  | Not enough data  | 0x80740000  | BadTypeMismatch  | |
0x0C  | Out of range  | 0x803C0000  | BadOutOfRange  | |
0x0D  | Invalid state  | 0x80AF0000  | BadInvalidState  | |
0x0E  | Out of resources  | 0x80030000  | BadOutOfMemory  | |
0x0F  | Segmentation failure  | 0x80020000  | BadInternalError  | |
0x10  | Segmentation buffer overflow  | 0x80020000  | BadInternalError  | |
0x11  | Value too high  | 0x803C0000  | BadOutOfRange  | |
0x12  | Value to low  | 0x803C0000  | BadOutOfRange  | |
0x13  | Attribute controlled  | 0x801F0000  | BadUserAccessDenied  | |
0x14  | Message channel too small  | 0x80020000  | BadInternalError  | |
0x15  | General error  | 0x80010000  | BadUnexpectedError  | |
0x16  | Protected access  | 0x801F0000  | BadUserAccessDenied  | |
0xFF  | Object specific  | N/A  | N/A  | Not possible to define a generic translation. Depends on what Anybus object that is accessed.  |