CANopenNode
CANopen protocol stack
Loading...
Searching...
No Matches
CANopen Error register
+ Collaboration diagram for CANopen Error register:

Macros

#define CO_ERR_REG_GENERIC_ERR   0x01U
 bit 0, generic error
 
#define CO_ERR_REG_CURRENT   0x02U
 bit 1, current
 
#define CO_ERR_REG_VOLTAGE   0x04U
 bit 2, voltage
 
#define CO_ERR_REG_TEMPERATURE   0x08U
 bit 3, temperature
 
#define CO_ERR_REG_COMMUNICATION   0x10U
 bit 4, communication error
 
#define CO_ERR_REG_DEV_PROFILE   0x20U
 bit 5, device profile specific
 
#define CO_ERR_REG_RESERVED   0x40U
 bit 6, reserved (always 0)
 
#define CO_ERR_REG_MANUFACTURER   0x80U
 bit 7, manufacturer specific
 

Detailed Description

Mandatory for CANopen, resides in object dictionary, index 0x1001.

Error register is calculated from internal bitfield variable, critical bits. See Error status bits and Emergency producer/consumer for error condition macros.

Internal errors may prevent device to stay in NMT Operational state and changes may switch between the states. See NMT control bitfield for NMT internal state. for details.