Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

COEmcyClr

Description

This function checks the current error state and updates the object directory. The EMCY message is transmitted, if the error was previously detected.

...

The following example demonstrates the clearing of a possible detected emergency event APP_EMCY.2 within the application of the CANopen node AppNode.


Code Block
languagecpp
    :
    COEmcyClr (&(AppNode.Emcy), APP_EMCY_2);
    :


Note: The emergency identifier APP_EMCY.2 must be defined within the application specific configuration. See CANopen Config Manual for details.End of topic