207
ifm System Manual ecomatmobile BasicDisplay (CR0451) V01
CAN in the PDM360 CAN errors and error handling
9.7 CAN errors and error handling
Structure of an EMCY message................................................................................................ 207
Overview CANopen error codes ............................................................................................... 209
CANopen POUs for error handling............................................................................................ 211
7948
9.7.1 Structure of an EMCY message
A distinction is made between the following errors: .................................................................. 207
Structure of an error message .................................................................................................. 207
Identifier..................................................................................................................................... 208
EMCY error code....................................................................................................................... 208
Object 0x1003 (error field) ........................................................................................................ 208
Signalling of device errors......................................................................................................... 208
8045
Under CANopen error states are indicated via a simple standardised mechanism. For a CANopen
device every occurrence of an error is indicated via a special message which details the error.
If an error or its cause disappears after a certain time, this event is also indicated via the EMCY
message.
> The errors occurred last are stored in the object directory (object 1003
16
) and can be read via
CANOPEN_SDOREAD (→ page 176
).
> In addition, the current error situation is reflected in the error register (object 1001
16
).
A distinction is made between the following errors:
8046
Communication error
The CAN controller signals CAN errors.
(The frequent occurrence is an indication of physical problems. These errors can considerably
affect the transmission behaviour and thus the data rate of a network.)
Life guarding or heartbeat error
Application error
Short circuit or wire break
Temperature too high
Structure of an error message
8047
The structure of an error message (EMCY message) is as follows:
Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7
EMCY error code as entered
in the object 1003
16
object 1001
16
manufacturer-specific information