Controls

Signal Block

The Signal Block can be placed on the drawing area like all other controls by dragging and dropping. In addition to the General Properties further design features can be adjusted in the properties of the Signal Block.

image_1

The real benefit of the Signal Block is the easy to create Signal Rules. To do this, the signal block must first be connected to a data source by clicking on the concatenation symbol.

image_1

Afterwards the Edit Signals mask can be opened via the Signal Rules. (1) In it, rules for signal switching can be added and changed. Besides the color of the signal (2), the basic state of the signal can be defined. There is a choice between On, Off and Flashing. (3)

image_1

A click on the gear wheel (4) opens the mask in which the rules for the respective colour can be set. The available data are those that were previously selected as data source.
Depending on the type of data, you must now first select between String, Number and Boolean. (5) This value can then be compared with your own input and comparison operators. (6)
Then you have to choose what should happen if the rule applies. Here you can again choose between color on, off and flashing. (7)
A rule can be deleted or moved in its priority using the trashcan and the arrows. (8)

image_1

The following figure shows a control circuit for the color red of a traffic light where the color is written into a column via a Dataflow .

image_1

After confirming the rules you will be taken back to the Edit Signals mask. Here you can also delete or move single colors.

image_1

The following figure shows the different ways of designing the signal block:

image_1