Emergency

This section describes the API functions of the CANopen emergency module. These functions are implemented within the source file: co_emcy.c/h

The class CO.EMCY is defined within co_emcy.h and is responsible for the emergency management functions. The following data members are in this class:

Data MemberType Description
Node CO_NODE * Reference to parent CANopen node
Root CO_EMCY_TBL * Reference to application emergency table
Hist CO_EMCY_HIST Emergency history management object
Cnt[] CPU_INT08U Error register object entry bit counters
Err[] CPU_INT08U Individual Emergency status storage

Note: The data within this structure must never be manipulated without the corresponding class member functions. This can lead to unpredictable behavior of the CANopen node.