1 Lamp

This "UML state diagram" sample illustrates the basic functionality of the UML state diagram and contains the following UML SC elements:

Sample project: TF1910_UmlSC_Sample1_Lamp.zip

Overview

UML SC is used to program the behavior of a lamp, which can be switched on and off via a switch on the visualization. The lamp has two states, "On" and "Off".

Each state contains one ENTRY action and one DO action.

Visualization

In addition to the convenient online mode of the UML SC diagram, the behavior of the lamp and the values of the counters can be followed via the visualization.