A State Machine enables you to specify a set of modes, that can take different mode values.

  • For example: "day" mode can take the values "weekday" and "weekend", and a "time" mode can take the "daytime" and "nighttime" values.
  • A set of states is chosen, each state taking different values.
    For example: A "heating" state could take one of the "normal" and "economical" values.
  • As the modes and states are represented by blocks, they can be linked. When you specify, the "day" is "weekend" the "heating" to be "economical".