Professional Documents
Culture Documents
KNX is a standardized communication protocol for intelligent buildings. KNX is the successor of
three previous standards: the European Home Systems Protocol (EHS), BatiBUS, and the European
Installation Bus (EIB or Instabus).
In contrast to a standard electric installation, there is no hard-wired connection between the control
units and the power supply, for example, a light switch is not directly connected with the respective light.
Instead, devices and electric assets are connected via the BUS, which runs on 28 Volts. All BUS devices can
be programmed with one common tool, thus, the KNX BUS allows an easy and very flexible installation,
and even subsequent changes can be done easily without changing the wiring.
Metering Audio/Video
Monitoring Remote Appliances
Control
Control
Each bus device (DVC) can exchange information with any other device using telegrams.
One line consists of a maximum of 4 line segments, each with a maximum of 64 bus devices. Each
segment requires an appropriate power supply. The actual number of devices is dependent on the
power supply selected and the power input of the individual devices.
1.3.1 Area
The smallest entity within the KNX topology is a line segment; it is called a line for short. A line can
contain a maximum of 64 devices. This number is enough for most small scale projects. For larger scale
projects, up to 15 lines can be combined with one area - connected via the main line. Different lines may be
connected to the main line with a Line Coupler to create one area as seen in Figure 1.4.
LC 1 LC 15
PS/Ch PS/Ch
DVC 1 DVC 1
DVC 63 DVC 63
Line 1 Line 15
1st line segment 1st line segment
Moreover, if it is needed to add more devices in a certain line, then it is possible to do so by adding
Line Repeater (LR) at the end the line. Since it is agreed that the line can handle up to 64 devices, then the
repeater will be considered as the device number 64, and it will accommodate extra 64 devices that will
correspond to the original line. In this case, this original line will have 63 (64- repeater) + 64 = 127 devices.
The maximum line repeaters that can be added to one line are three. Up to 255 KNX end devices may be
addressed in any sub- network. KNX end devices may be numbered from 1 to 255, see Figure 1.5.
Backbone line
BC BC
DVC 1 DVC 49
x.0.0 15.0.0
Main line
LC
LC
x.x.0
DVC 1
DVC 1
Maximum x.x.1
64 devices
DVC 63 Secondary line (1st line segment)
x.x.63
LR LR LR
DVC 63
x.x.64 x.x.128 x.x.192
It is also possible to connect up to 15 areas to a backbone. Single areas are connected to the
backbone line via a Backbone Coupler (BC). KNX end devices may be connected anywhere in this
topology, Figure 1.6. Within a maximum of 15 functional areas, more than 58,000 bus devices can
be connected to the bus system. By dividing the KNX TP1 installation into lines and areas, the
functional reliability is increased considerably.
Area 15
BC 15
Hauptlinie Area 2
SV/Dr
BC 2
Hauptlinie Area 1
SV/Dr LK 1 LK 15
BC 1
PS/Ch
SV/Dr Main line SV/Dr
PS/Ch LK 1 LK 15
TLN 1 DVC 1
SV/Dr SV/Dr
LC 1 LC 15
TLN 1 DVC 1
PS/Ch PS/Ch
TLN 63 DVC 63
DVC 1 DVC 1
Linie 1 Line 15
1. Liniensegment 1st line segment
TLN 63 DVC 63
Linie 1 Line 15
1. Liniensegment 1st line segment
DVC 63 DVC 63
Line 1 Line 15
1st line segment 1st line segment
A very straightforward example of a lighting control is the engaging of a single light. The first device
we need to install is the power supply. A KNX BUS needs to be provided with a 28 V direct current. The
actual circuit breakers are called actuators. They typically come as multi-channel switch actuators, for
example as a 4-fold switch actuator that is equipped with 16-ampere relays. As BUS media, a twisted pair
cable is used to connect all KNX devices to the BUS. Then, a push-buttons sensors consist of a universal
flush-mounted bus coupler and an end bus device. Both devices have to be from the same manufacturer.
This System is shown in Figure 1.7, where its symbol shown in Figure 1.8.
Figure 1.7: A simple example of a power supply connected to switching actuator via a bus system.
The push button is put onto the bus coupler. The connection is established by a 10-pin connector, the
so-called "Physical External Interface", Figure 1.9.
Each device connected to a certain topology needs to be uniquely identified by an address. This
address is called Individual Address or “Physical Address”. The individual address serves to identify
clearly the bus device and describes its location within the topology. The address has three parts. The first
part corresponds to the area number. Where the middle part is related to the line number. The final part is
for the device number in the line. For example, a switching actuator has an address (5.3.12) means that this
device located in area 5, connected to line 3 of that area, and the device number in that line is 12. Figure
1.11 illustrates the physical address for all devices connected to an area.
A Group address has totally different function compared to the physical address. A Group address is
used to give the devices the ability to communicate with each other by sending information and
instructions only to the assigned device/s. Let us recall the example illustrated in Figure 1.10. Obviously,
the system has one power supply to create a line with a physical address (1.1). One switch (called sensor) to
control a light. One switch actuator to power On/OFF the light.
The first thing a designer should consider is to give a physical address to each device so that they can
be identified in the bus system, see Figure 1.12. Remember, each address has to be unique. The suggested
topology that has a power supply, a sensor, and an actuator will have the addresses (5.6), (5.6.1), and (5.6.2)
respectively. On the other hand, assigning group address will have a different purpose.
The group number (1/1) will be assigned to link between the switch and the actuator. So, when the
switch is depressed, it sends a telegram to the bus. All devices connected to the system will receive the
telegram. However, only the device/s with the correct group address will take the action. In this example,
the actuator will be switched ON.
1. Three-Level Structure.
2. Two-Level Structure.
3. Free Structure.
In this course, it is strongly recommended to use the Two-Level structure. On the coming experiments
the following main groups are strongly suggested to be used:
2. Light terminals
3. Dimmer light
2.1 Introduction
1. Demo: Full functionality, max. Three devices per project, this version is free of charge.
2. Lite: Full functionality, max. 20 devices per project.
3. Professional: Full functionality, no restrictions as regards number of devices which can be
installed and the number of projects that can be created
4. There is also the Supplementary version. This version is intended as an additional license
for the Professional full version on a second PC (commissioning PC/Notebook).
Or, you can diagnose you your program and installation as well from the Diagnostics list of options. For
Example, to can check if a certain device is already connected to the bus system by simply clicking the
Individual Address options. A popup window appears as shown in Figure 2.5.
Moreover, you can import an already designed project with all its features from the Import
Project option in the Import Data. The importing process includes building the structure,
comments, group addresses, individual addresses, etc. of the corresponding project. Also, all
required product data of the devices contained in this project is imported as well. You can
retrieve the project import function on the Dashboard via the “Quick Actions” bar and under the
Projects tab via the Import….button.
Figure 2.4: Dashboard, Quick Actions Board.
The next step is to choose the devices which will be connected to the bus. To do so, back to
topology tree click on the line you have already created and then click on + Add Devices. The catalog
window appears and from there you can choose the devises you will use by double clicking on the right
device, see Figure 2.8. The devices used in the example are a 6195/31 switch actuator and solo 612X01
switch. The next step is to assign the correct physical address to each new device. In the example, the
addresses are (5.6.2) and (5.6.5) respectively, Figure 2.8.
The final Group Address window will look as illustrated in Figure 2.9.
Figure 2.9: the Group Address window after adding the group and the subgroup address.
9. Drag from switching actuator the binary output that you'll use from the KNX Panel
(Assume: Output A) to the group address H1.
10. Drag from the Switch the rocker switch 1 to the group address H1.
11. Connect the safety lead from binary output A to H1 ( Light Terminal 1) as shown in figure
2.11
12. Navigate to each device that you have (in our experiment we have two devices 5.6.2 &5.6.5)
then right click from the mouse and choose Download then Download Application. See
figure 2.12 below
Now you are familiar with the KNX system and you have done example to control one light. Below you
have many applications to do, read each application carefully and build your project.
2.2 Extend your connections to add another switch to control the same light.
3.1 Control one light using two different buttons. (Use One Fold)
ON - Green Light
OFF - Red Light
4.1 Control two lights using two different push-button. (Use One Fold)
ON - Red Light
OFF - Green Light
5.1 Control the lights by using the following procedure: (One Project)
4.1 : Abstract
Every device in a KNX system is assigned a unique number. In order to ensure that sensors
actuators, and devices know which of their command is to be received to realize a specific
function, the device addresses must be assigned.
This address is called “Physical address” and it can be assigned and determined by the user and
then loaded into the device.
In this experiment, you will learn the basics of how to create a new configuration of your
workplace and then to program any application using ETS4 based on your preference.
Any individual address must be unique within a KNX installation. The individual address is
configured as shown above.
For example, a device with (5.6.2) address is located in Area 5 and connected to Line 6, Bus 2.
1- Make sure your local USB is connected to the module gateway you want to assign address
for its devices.
2- Create a new area start with the number you like. Here we have used Area starting with 5,
which means all the devices that are going to be used in this area will start with the number
5 as an address.
3- Create a new line start with the number you like. Here we have used line start with 7,
which means all the devices that are going to be connected in this line will start with the
number 7 as an address.
4- Because of the change we have made, the USB local cannot be identified and
communicated properly with the ETS 4 so it has to be redefined. From top taps, go to Settings
and then Communication.
( It is clear from the figure that the USB local is still using the old address which is “5.6.100” which
is our case is not the correct address)
6- Change the individual address of the USB local to the correct address. ( We already have chosen
the area to be 5, and the line to be 7) We can use 100 as “bus number” to allow a large space for us
and to give the USB local interface a unique address. You can use any number you like.
7- The next step is to choose the devices which will be connected to the bus. To do so, refer
to experiment 2.
The device used in the example is a UD/S 2.300.2 The Universal Dim Actuator.
8- After connecting the device to the line, the new (area & line) addresses is directly
determined. However you need to check the bus number and give it any special number you like.
Say 1.
Then, Right click on the device < Download < Download Individual Address
9- The system now is at pairing mode “see figure below” . The new adjusted address
(5.7.1) is ready to be assigned to any device in your KNX panel. In our case, we chose UD/S
2.300.2 The Universal Dim Actuator to hold (5.7.1) individual address.
10- In the meantime, press by specific screw the button of the intended device that you choose in
order to complete the process.
11- If the process is succeeded, you will notice an indication telling you that the physical address is
loaded to the device.
Note: Now you can do the same procedure from step 7 to other devices.
After you finish, you can diagnose your program and installation as well from the Diagnostics list of
options. For Example, to can check if a certain device is already connected to the bus system by simply
clicking the Individual Address options. A popup window appears as shown below:
1
Experiment 5
Simulation of Line Coupling
A coupler is a device used to link two lines, or two areas in a same installation to extend the total devices
number. It can also be used as a repeater to extend the device number in one single line.
In this expiremnt, you will simulate a line coupler that links two floors of the same building.
Refer to the topology (Figure 5.1.1), couplers are always supplied by the main line. However, after
couplers there is always a power supply providing voltage to the secondary line. Note that the line
coupler’s address will be always (x.x.0)
3- Now you are done with the hardware. The next step is the programming using ETS4.
4- From your computer, go to ETS4 and create a new project and name it as ( Line Coupler
Experiment )
5- Create an area Starting with 5 (We will use only one area at this stage) and two lines.
Let the first line starts with 6, which means all the devices that are going to be connected in this line will
start with 5.6.x as an address. Make sure you assign an address for the second line exactly as we did
previously in Experiment 4.
6- Add Coupler for both lines (both floors). Search from Catalogs, the coupler's device name is
6187-104.
6- Now you must identify each coupler with its own line (floor). This can be done by Assigning
Addresses.
Reminder: Couplers’ address will be always (x.x.0). In this example, we used area 5, line 6. So
the first coupler’s address should be 5.6.0 and it belongs to line 6, where the second coupler’s
address should be 5.7.0 and it belongs to line 7.
2
3 3 1
4
3
By doing so, we assign this coupler to be Line 6 ’s
Make sure you assign the correct coupler which depends upon your connection and your
previous assigning for the line.
If these leads which are going out of the coupler are going to line 6 (based on your assigning of the
line module), then this is the right coupler.
LINE 6
7- Do the same thing with the second coupler but time it should be specified to Line 7.
Experiment 6
Applications on Line Coupling
Now you are familiar with line coupler’s experiment and you have done many examples to
control one light from one line. Below you have applications to do, read them carefully and build
your project.
Q6.1/ Use the concept of line coupler to control the light 4 in room simulation through the
actuator located on line 7 by the solo switch on Line 6 .
Q6.2/ A. Control any light through the actuator located on line 6 by 1fold solo switch on Line 7
through output A. Use 1fold for the solo switch.
B. And control any light through the actuator located on line 7 by 4fold solo switch on
Line 6 through output B.
Experiment 7
Simulation of Area Coupling
KNX systems racing on offer intelligent solutions for networking and controlling home
appliances. Nowadays central control and linking of various functions are needed. Thanks to
KNX technology which provides more comfort, security and energy efficiency in the building.
7.2: Topology
In practice, area coupler is typically performed using Line Couplers parameterized as area
couplers. The area line is also called the backbone, so it also needs its own power supply (Figure
7.2.1)
From the topology, The KNX bus can be expanded by means of a backbone line.
The backbone coupler (BC) connects its area to another backbone line in order to expand to
another area.
By doing so, and within a maximum of 15 areas, more than 58,000 bus devices can be
connected to form a complete system and can be controlled independently.
Important: Area Main Line (Backbone Coupler) physical address will be always (x.0.0).
It is important to look at the topology of your project before starting to build it and before
doing any step. The idea is to know how many power supplies, couplers, etc.. do you need to
construct the project and also to be familiar with the hardware connection.
As discussed earlier, area coupler experiment is typically performed using Line Couplers
parameterized as area couplers.
From previous experiments, you have already constructed a full area consists of devices, line
couplers and you assigned different physical addresses for each of them. Simply, the idea behind
the area coupler is to do the same thing with another area and then you just link/couple both of
the two areas.
Remember that coupling areas together means you will need a backbone coupler for each area
which is basically an additional MAIN LINE with its own coupler and its own power supply.
Caution: Addresses must be specified and assigned correctly as a preliminary part of the experiment
7.4: Apparatuses and Construction
So far, We used only two units of couplers (4.6.0, 4.7.0). They are line couplers.
So far, we used four units of couplers (4.6.0, 4.7.0 and 5.6.0, 5.7.0). They are line couplers.
3- Almost this is how your station and your connection should look like:
Now we will integrate both areas to our network. From the above illustration, we can notice that we will
use normal couplers just like the ones we used with line couplers. However, they are called Backbone
Couplers since they connect two areas.
The only difference between Line Couplers and Area Couplers is the address
Area Coupler address is (x.0.0); Where x is the number of the area.
In any case, follow up until the end of the procedures to clearly understand the idea of addressing.
4- Connect the main power supply of area 5 to the first Backbone Coupler as following:
5- Connect the second Backbone Coupler to the main power supply of Area 4 OR first Line Coupler 4.6.0 (
Same Wire”Figure 7.5.1”) as following:
Figure 7.5.1: Same wire from the first line coupler to the main power supply of area 4
7.6: Addressing
1- In case of an application; for both areas, all controlling devices such as actuators, sensors, switches.. etc
should be address assigned or at least only the devices that you are going to use. Their address is (x.x.x)
2- Line couplers’ address must be (x.x.0), whereas Backbone couplers’ address must be (x.0.0)
3- Sometimes you may encounter an error during assigning address especially between couplers. In order
to avoid this error, start with sequence. For instance, if you want to assign address for 4.7.0, put your USB
local to the gateway of the 4.7.0. After you finish you can do the same thing to 4.6.0.
However, if you want to start with 4.6.0 then there is no gateway for this coupler, so you are forced at first
to put your USB Local to (the main power supply of Area 4)’s gateway. Now since your wires comes out
from the power supply to the 4.6.0 coupler, you are required to start assigning address for 4.6.0 at first, and
then 4.7.0.
“The first x indicates number of the Area, the second x indicates the number of the line, the third x indicates the device
number.”
1- Open ETS4, create new project and name it as Area Coupler Experiment.
2- Create the first area, and name it as shown in the figure. Assume it to be Area 4.
3- Add two lines for area 4, the first line is line 4.6 and the second line is 4.7 and make sure you assign the
specific address for each line as we did previously in Experiment 1.
4- Add Coupler 6187-104 and solo 612x/01 switch for both lines.
5- Assign addresses for both couplers in both lines. The line 4.6 should hold a coupler with an address of
4.6.0, and the line 4.7 should hold a coupler with an address of 4.7.0
7- Add two lines for area 5, the first line is line 5.6 and the second line is 5.7 and make sure you assign the
specific address for each line as we did previously in Experiment 1.
8- Add Coupler 6187-104 and solo 612x/01 switch for both lines.
9- Now we will add Backbone coupler for both lines in both areas. Add Coupler 6187-104 to line 6 as
shown:
10- Change the address of the Backbone Coupler of Area 4 to 4.0.0 from properties. Do not press Park just
left click anywhere in the software.
11- A massage will appear to you asks if you want to create a Main Line. Press Yes.
A main line is created where backbone couplers are located. The figure shows the topology and where
exactly the backbone coupler of Area 4 is located.
8.1: Scenario
Figure 8.1.1
Group addresses can be used to arrange our desire and to control the required devices without any
miscommunication.
The first main group is related to Area 4 Line Coupling only but not Area Coupling. This falls into one
sub-group which has Actuator from Line 6 and Solo Switch from Line 7 to control a Load through Some
Output.
The second main group is related to Area 5 Line Coupling only but not Area Coupling. This falls into one
sub-group which has Actuator from Line 6 and Solo Switch from Line 7 to control a Load through Some
Output.
The third main group is related to Area Coupling. This falls into two sub-groups. The first one is Area 4
controls Area 5 and the second one is Area 5 control Area 4.
Figure 8.1.2
Remember from experiment 7; “In case of an application; for both areas, all controlling devices such as
actuators, sensors, switches.. etc should be address assigned or at least only the devices that you are going
to use. Their address is (x.x.x)”
As we can see from the figure 8.1.2, Rocker Switch 4.6.4 2fold is used to control the Actuator 4.6.2 in the
same area to energize a load through output A
Figure 8.1.3
Figure 8.1.3, shows Rocker Switch 5.7.5 2fold is used to control the Actuator 5.6.2 in the same area to
energize a load through output A
Figure 8.1.4
Figure 8.1.4, shows the second Rocker Switch 4.7.5 2fold in Area 4 is used to control the Actuator 5.6.2 in
Area 5 to energize a load through output B
Figure 8.1.5
Figure 8.1.5, shows the second Rocker Switch 5.7.5 2fold in Area 5 is used to control the Actuator 4.6.2 in
Area 4 to energize a load through output B
Connection to the data network allows you to control your devices through tablets/smart phones. It also
allows you to program the Bus over the Internet.
In this experiment, K-BUS IP Interface is used with line coupler to control devices through LAN by using
Android system.
LAN
4 LAN connection.
3
2
5 Programming LED, LED red light up for assignment
3 of physical address, LED green flashes for indicator of the
Figure 9.2.1: Construction of K-BUS
2 device running normally.
- Requirements
1- IP Interface/Router
2. Android 1.6 and above
3- GVS app
4- SD card or flash SD car
5- Internet router/modem
6- Ethernet cable
Installation on Android
1. Run GVS.apk or GVS.phone.apk to Install
2. Create a folder named GVS in the root directory of SD card then copy the file named
config.xml to this folder.
3- Run the program, then the program will do the initialization (as figure 9.3.2 showing), this will take a
few seconds.
4. The system will try to connect to server, if failed, a dialog box will be show as figure 9.3.3.
If succeed, will be show as figure 9.3.4
Installation on your PC :
A program called Mobile Phone Configuration System is already on your PC. This program supports the
use of mobile phone control software .
After assigning group addresses to the KNX devices via ETS4, you can use mobile phone configuration
system to configure the various functions and copy the configuration file which is generated by the
software to the SD card of the mobile phone and then, you can control KNX devices via the mobile control
system.
KNX system is compatible with any other devices from different manufacturers. The first step of any KNX
project is to make sure that the ETS product data of all KNX devices that you intend to use in these projects
are imported in ETS Catalog.
You will have to go to the ETS Catalogue panel, and choose Import.
The file selection dialog will appear in which you can choose the appropriate KNX product file. KNX
Product files can also be downloaded from the website of the appropriate manufacturer.
1- First we need to connect two lines in one area. (Line coupling) . Refer to experiment 5,
connect two lines. (5.6 and 5.7)
2- Place your IP Interface in your panel. Connect the power supply input of IP Interface that
is 3 in the circuit diagram to an external power supply.
2
3- Connect KNX bus input of IP Interface that is 7 in the circuit diagram to any line coupler
leads of the two lines.
4- Connect your LAN that is 1 in the circuit diagram to your Router Internet/modem.
Almost this is how your station and your connection should look like:
9.6: Procedures in ETS4:
Figure 9.6.1
5- Create two sub-groups. The first one ( Figure 9.6.1), shows Rocker Switch 5.6.5 is used to control the
Actuator 5.7.2 to energize load 4 in room simulation through output A
Figure 9.6.2
6- The second subgroup ( Figure 9.6.2), shows Rocker Switch 5.7.5 is used to control the Actuator 5.6.2 to
energize load 1(or 2 or 3..) in room simulation through output B
Click to File -< New. This command will allow you to create a new configuration file.
Fill in the room name in the room window then press OK.
In your Android, create a folder named GVS in the root directory of SD card then copy the new file named
config.xml in your desktop to this folder.