Highest prioritised messages

With this example, the three highest priority messages are output as text and additionally the total number of messages.

The messages are output via the 20 inputs per 1-bit value.
The following translator tool generates the text "ok" (no message) or "malfunction XX" (if a message is present) and transfers this content to the LUA script element. The text for the respective message can be replaced by your own text (with max. 14 characters).

With the help of an LUA script, three messages are output, in order of priority.
The priority is defined by the order of the inputs.

In addition to the 3 highest priority messages, the sum of the messages is also output numerically via a separate output.

Gasser Erwin
iHome des Gasser Erwin
(194; 10.2021)

Highest prioritised messages

243
This logic group is compatible with: EP, LOM
*With the download you accept the Notes on use for logic groups.