A Simple Example
The syncChart below describes the behavior of a watchdog:
set activates the Counter
which counts up the occurrences of T
from 0.
If Counter reaches count
5, then Alarm is emitted.
At any time, reset may
disable the counting or the alarm.
freeze when present, suspends
evolutions specified in the macrostate isON.
The essential of
the syntax of SyncCharts is gathered in this figure.