Discussion:
CAN Write error code
(too old to reply)
can we generate frequency using counters . if so then what is the range and resolution.
2008-08-12 09:40:09 UTC
Permalink
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
DirkW
2008-08-12 16:10:12 UTC
Permalink
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

Continue reading on narkive:
Loading...