Object Dictionary (CANopen)
17 (36)
5.2.2
Translation of Status Codes
Status (or error codes) are translated to CANopen abort codes as follows:
ABCC Status Code
CANopen Abort
Code #
CANopen Code Description
Reserved
N.A.
-
Fragmentation error
(serial mode)
N.A.
-
Invalid message
format
N.A.
-
Unsupported object
0602 0000h
Object does not exist in the object dictionary.
Unsupported
instance
0602 0000h
Object does not exist in the object dictionary.
Unsupported
Command
0604 0043h
General parameter incompatibility reason.
Invalid CmdExt[ 0 ]
0602 0000h
Object does not exist in the object dictionary. (ADI access).
Invalid CmdExt[ 1 ]
0609 0011H
Sub-index does not exist. (ADI access).
Attribute not settable
0601 0002h
Attempt to write a read only object
Attribute not gettable
0601 0001h
Attempt to read a write only object
Too Much Data
0607 0012h
Data type does not match, length of service parameter too high
Not Enough Data
0607 0013h
Data type does not match, length of service parameter too low
Out of range
0609 0030h
Value range of parameter exceeded (only for write access)
Invalid state
0800 0022h
Data cannot be transferred or stored to the application because of
the present device state.
Out of resources
0504 0005h
Out of memory. (Can be generated if a message is outstanding to
the application and during this time an abort is done, and then a
new Request on an ADI is made)
Object Specific Error
0800 0000h
General error
If no corresponding error meets the error definition, the default error code is 0800 0000h (Gen-
eral error).
5.2.3
Network Data Format
Data is translated between the native network format and the Anybus data format as follows:
Anybus Data Type
Native CANopen Data Type
BOOL
UNSIGNED8
SINT8
INTEGER8
SINT16
INTEGER16
SINT32
INTEGER32
UINT8
UNSIGNED8
UINT16
UNSIGNED16
UINT32
UNSIGNED32
CHAR
VISIBLE STRING
ENUM
UNSIGNED8
SINT64
INTEGER64
UINT64
UNSIGNED64
FLOAT
REAL32
•
ADIs with multiple elements are represented as arrays, with the exception of CHAR, which
will always be represented as VISIBLE STRING.
•
Single element ADIs are represented as a simple variable, with the exception of CHAR,
which will always be represented as VISIBLE STRING.
Anybus
®
CompactCom
™
30 Network Guide
HMSI-168-78 EN 4.1