Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN Write error code

Hello
 
I am writting a parameter to the device with Index 2020h & sub index 12. In the acknowledgement i received
80h - 1st Byte
10h - 2nd Byte
30h - 3rd Byte
5h - 4th Byte
11h - 5th Byte
0h - 6th Byte
9h - 7th Byte
6h - 8th Byte
 
Please let me know what they mean ?? Also If any body have any document or link regarding different error codes in CAN communication then kindly share it.
 
The Error codes for CAN comm & CAN protocol are same ?
 
Regards,
J
0 Kudos
Message 1 of 2
(6,014 Views)

Yes, there is a difference between error codes related to the CANopen protocol and error codes for your CAN communication or API. CANopen protocol errors are allways reported within the data field of your response frame as you can see in your request. API errors are reported by the function return value or LabVIEW error cluster.

In your case it seems you are trying to access a specific customer defined CANopen Object on Index 0x2020 by using an SDO message and the response frame delivers some data starting with 0x80.

This must not necessarily be an error. You would need to check with the manual for your device to see what it would return as response. The device manufacturer should explain all error codes for his device and even these manufacturer specific objects like 0x2020.

DirkW

0 Kudos
Message 2 of 2
(6,006 Views)