Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

COEmcyCnt

Description

This function returns the number of currently detected EMCY errors.

Prototype

CPU_INT16S COEmcyCnt(CO_EMCY *emcy);

ParameterDescription
emcy pointer to the EMCY object

Returned Value

>=0    the number of detected EMCY errors

<0     an error is detected inside of this function

Additional Information

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

Example

The following example calculates the current number of detected emergency events within the application of the CANopen node AppNode.

  • No labels