Versions Compared

Key

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

The application can focus on the detection of the system situations, which shall rise an emergency event. For setting and clearing the emergency #0 on a application specific emergency condition, the typical sequence is:


Code Block
languagecpp
if (DemoEmcyCondition == TRUE) {
    COEmcySet  (&demo.Emcy, 0, &DemoEmcyUsr);
} else {
    COEmcyClear(&demo.Emcy, 0);
}


The setting and clearing functions are very similar. Therefore the following diagram shows the internal behavior of the service for setting an emergency error:


Panel
borderWidth0
titleFigure - Emergency Set

Image Added