
IL•1F CANopen DS301 | 3 Basics |
0198441113586, V2.01, 11.2008
3.4.2.5Emergency service
The Emergency Service signals internal device errors via the CAN bus. The error is sent to all network devices with an EMCY object according to the
| ||
data |
| |
|
| CAN |
|
Figure 3.23 Error message with the EMCY object
EMCY message Causes of an EMCY comprise:
•asynchronous errors, error code = 1000hIn the case of an internal device error, the product switches to fault state in accordance with the device's state machine. At the same time, the product transmits an EMCY message with error register and error code.
•PDO4 error during operating mode control, error code = 8200h If the request for an operating mode via PDO4 fails, the product also sends an EMCY message.
•CAN communication error, error code = 8100h
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
81 | 22 | 00 | 00 | 00 | 00 | 00 | 00 |
12 |
| Manufacturer specific error field |
|
|
Error register |
|
| |
Error code | Error code | 0 | 1 |
| 12 | 22 |
22 12h
Figure 3.24 EMCY message
•Bytes 0, 1 (error code): CANopen error codeThis value is 1000, 8200h or 8100h, depending on the cause of the error.
•Byte 2: Error registerThe value is also stored in the object Error reg- ister, 1001h.
•Byte 3
Bytes 6 and 7 are 0. Bytes 4,5 contain a
COB ID The COB ID for every device on the network supporting an EMCY object is determined on the basis of the node address:
COB ID = Function code of EMCY object, 80h +
Fieldbus interface | 43 |