CANopenCAN in Automation
CANopen
<1K views

How to configure custom error codes in EMCY Emergency error codes based on CiA 301, 418 and 419 standards?

Hello Team,

I am trying to integrate the CANOpen protocol Emergency error codes (EMCY) based on CiA 301, 418(battery module) and 419(battery charger) standards in the STM32L496VG controller. I could see the standard error codes in CiA 301, but I would like to know how to include custom error codes within the standard error codes mentioned below.

Error codes Description
0000h Error reset or no error
1000h Generic error
2000h Current – generic error
2100h Current, CANopen device input side – generic
2200h Current inside the CANopen device – generic
2300h Current, CANopen device output side – generic
3000h Voltage – generic error
3100h Mains voltage – generic
3200h Voltage inside the CANopen device – generic
3300h Output voltage – generic
4000h Temperature – generic error
4100h Ambient temperature – generic
4200h Device temperature – generic
5000h CANopen device hardware – generic error
6000h CANopen device software – generic error
6100h Internal software – generic
6200h User software – generic
6300h Data set – generic
7000h Additional modules – generic error
8000h Monitoring – generic error
8100h Communication – generic
8110h CAN overrun (objects lost)
8120h CAN in error passive mode
8130h Life guard error or heartbeat error
8140h Recovered from bus off
8150h CAN-ID collision
8200h Protocol error - generic
8210h PDO not processed due to length error
8220h PDO length exceeded
8230h DAM MPDO not processed, destination object not available
8240h Unexpected SYNC data length
8250h RPDO timeout
9000h External error – generic error
F000h Additional functions – generic error
FF00h Device specific – generic error

Thank you.

Answers

You know the answer?

Unfortunately, there is no answer to this question yet. Answer it now and increase your reputation as an industry expert in our B2B community.

Related Questions Related Questions

Receive Important Update Messages Stay up to date on CAN in Automation CANopen

More from the Standards & Bus Systems section

    Was the content helpful to you?

    Advertisement Advertise here?
    Udemy IT certification ad