Download CANopen Handbuch / Manual
Transcript
CANopen communication 4.2.2.3 EMCY (Emergency Service) Internal device errors are reported with the EMCY message. As PDOs are an unconfirmed service, an invalid parameter value, which is set via PDO, for example, can result in an EMCY message. Other typical events that are indicated via EMCY are overload situations or overtemperature. encoTRive can send EMCY messages, but not receive EMCY messages. In the case of an EMCY message, the 8 bytes of user data in the CAN message can be used to provide information on the cause of the error: Error code Byte 0 Byte 1 Error register Byte 2 Manufacturer-specific error information Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Table 6: EMCY message encoTRive does not use the field "Manufacturer-specific error information". Object no. Description 0x1001 Error register. Stores the value of the "Error register" field of the last EMCY message 0x1003 Pre-defined error field. Stores the contents of the "Error code" field of the last EMCY messages. The last 8 error codes can be stored. With each new EMCY message, the older error codes are moved back one index. 0x1014 COB-ID of the EMCY message Table 7: Parameters for EMCY The meaning of the various EMCY error information can be taken from Table 33 and Table 34 from page 248. Boot-up message The CANopen profile defines an additional function of the EMCY message: An EMCY message without a data field represents a Boot-up message, with which a node indicates - after switch-on of all other nodes - that it is ready for operation. © TR-Electronic GmbH 2006, All Rights Reserved Printed in the Federal Republic of Germany 01/09/2008 TR - EMO - BA - DGB - 0010 - 02 Page 155 of 255