COEmcyHistReset

Description

This function clears the EMCY history in the object directory.

Prototype

void COEmcyHistReset(CO_EMCY *emcy);

ParameterDescription
emcypointer to the EMCY object

Returned Value

none

Additional Information

This function can be removed from the CANopen device by disabling the emergency history support with the configuration CO_EMCY_HIST.N.

This function is part of the full slave extension and implemented in: co_femcy.c

Example

The following example clears all emergency history entries within the object directory of the CANopen node AppNode.


    :
    COEmcyHistReset (&(AppNode.Emcy));
    :