This article presents two solutions to the following problem:
An indication is to be realized whether one of several switching channels (e.g. light) is switched on. If this is the case, all channels should be switched off with one click (central off).
For the realization of the display, an OR link is realized in Elvis in both solutions. It’s very simple:
- Select all data points to be linked in the data point list, e.g. “Living” and “Study” (we will refer to these data points as individual data points below).
- On the Tools menu, > click the Run Wizard > > shortcut.
- In the dialog that appears, enter a name for the new data point, e.g. “Group Work+Living” and enter “OR” as the link.
This creates a new data point (which we will call in the following summary data point) whose ActualValue is True whenever at least one of the ActualValues of the linked data points is True.
There are two ways to turn it off together:
- Via a central address
With this (KNX/EIB-specific) mechanism, all channels are switched off via a single group telegram.
- First, a new group address for the central function must be created in the ETS and linked to the switching objects of the actuators as a second group address.
- To ensure that the individual data points in Elvis are also updated correctly when switching via the central address, this must also be entered as a second address in the Address column of the data point list (separated by a semicolon).
- It makes sense to place the central address on the collection data point. Since this should only be sent, write a “greater” sign in front of the address, e.g. “>01/1/100”.
In the example, this mechanism is implemented for the data points “Living” and “Study”.
- About individual addresses
Here, Elvis sends an off command to each channel. In the case of many channels, this results in a corresponding bus load.
In order to send several group telegrams when the NominalValue of the collection data point changes, the NominalValues of the individual data points must be set via a calculation:
- For each individual data point, click in the Calculation column.
- Select “NominalValue” from the list (this is to be calculated).
- Enter the following formula:
//CODE:vb:If @(Sammeldatenpunkt).NominalValue = 0 Then Result = 0 End If//CODE
Of course, “collective data point” should be replaced by the real name of the collection data point. This causes that whenever the NominalValue of the collective data point becomes 0, the NominalValue of the single data point is also set to 0 (and this triggers the sending of the group telegram).
In the example, this mechanism is implemented at the data points “Dining Room” and “Cooking”.
Download the sample project kb050132.zip.