Logic Program

To create a logic sequence, you first need a logic program. This is comparable to a network in PLC programming. A program contains logic elements that you can use for your controller. For example, if you have a controller for the WC ventilation and one for a light transformer, then you can create an individual program for every controller.

Create

To create a logic program, open “logic” and select “add program”. This opens the operator panel for the logic program. You must first allocate a name to your program and optionally a room for it.

Parameter

The operator panel for the logic program contains an item “parameter” where all parameters available to rapidly configure the program are listed (parameters are described in the chapter data elements). The values of these parameters are not lost if a controller fails.

Status

The item “status” displays a diagram that shows you the time required to execute this program.

Control Command And Status Text

Every logic program can contain a control command and a status text. You can select a data element of type bool for the control command and a data element of type string (text). To do this, go to the parameter panel and select “choose control command and status text”.

The control command is intended to activate and deactivate the logic program via the object panel. You can toggle the control command via the icon on the left-hand side of the object panel.

The status text is displayed in the object panel under the name of the program. An example would be “ventilation will be switched off in 2 mins”.

Edit Logic

If you want to edit the logic in this program, click on the button “edit” in the parameter panel under the item “logic”.

Input und Output

Each logic program allows you to define in- and outputs, which are shown in the linkpanel of a program. Defined in- and outputs can then be linked to values of other evon Smart Home apps.

This makes it possible to create interfaces for your logic program which make it easy for you to integrate it without the need to modify or edit the underlying logic construct. It is also very useful if you want to reuse it for different purposes as you only have to adapt the linked values.

To define an in- or output for your logic program, select a data element and change the type to "Input" or "Output".

It will then be listed in the linkpanel of your logic program and can be connected to other apps/values.

Import/export

If you wish to save the logic program, you can do this via the button “export” in the parameter panel under the item “import/export”.
To import a logic program, click on the button “import” (directly under the “export” button). Note that any existing logic is overwritten by the logic in the imported program. Furthermore, if logic elements were linked across programs prior to export, after importing, the links no longer exist.

Color And Icon

You can allocate a colour and icon to your logic program. Do this in the parameter panel under the item “settings” by clicking on the current colour or icon.