System Overview EN0223b
System Overview EN0223b
KNX Association
KNX BASIC COURSE
Table of Contents
1 Definition ...................................................................................................................................3
3 Addressing .................................................................................................................................5
12.1 Cable length between TP power supply unit – TP bus device ..........................................27
1 Definition
The following terms are used as synonyms in KNX literature:
230 V
KNX
1 KNX Power supply unit The choke is mostly integrated in the power supply unit.
(30 V DC)/Choke
3 Addressing
In KNX there are two types of addressing, i.e. the individual addressing and the group addressing.
Individual address
1.1.1
Group address
1 5/2/66
Individual address
1.1.2
Group address
5/2/66
230 V
KNX
Figure 2: Addressing
Structure: A A A A L L L L B B B B B B B B
An individual address shall be unique within a KNX installation. Its primary goal is to forward
“programming telegrams”, new application - / and parameter data via the ETS to the bus device.
The individual address in a telegram has a fixed structure of 16 bits and has the format as shown in
the figure above.
In the user interface of ETS and in KNX documentation, individual addresses are represented in
decimal format with two separating points.
The bus device is usually prepared for the acceptance of its individual address by pressing a
programming button on the bus device. The programming LED is lit during this process. The
individual address of the device can only be entered or overwritten as long as the programming LED
is lit.
The individual address is permanently assigned to the bus device by means of ETS. ETS is now able to
forward all required data (application, configuration, parameters, group address assignments) via the
bus to the device.
If the commissioning including all customization and diagnostic steps have been carried out, the
communication (e.g. light on/off) is exclusively done via group addresses.
3-level structure:
group
Main Middle Sub
2-level structure:
Free structure:
Free
The normal communication between devices in an installation is carried out via group addresses. The
project engineer defines for each function in the installation an appropriate group address. He can
freely select the group address structure.
Due to the structure of the system, 65535 group addresses are available, which can be created and
linked in ETS2. How many group addresses one can assign to a KNX device and how often they can be
linked depends on the KNX system profile, the application program and the memory space available
in the device.
Important: a group address cannot be zero. For an ETS project with 3-level representation this means
that '0/0/0' is not allowed and for 2-level that '0/0' is not allowed.
The group address 0/0/0 is reserved (Broadcast). This address is required for assigning and
establishing the individual addresses. Please note that each bus devices acknowledges the reception
of a broadcast telegram.
2 Only valid from ETS4 onwards. Until ETS3 the most significant bit was set to 0. Main groups were therefore
limited from 0….15. 32767 group addresses were available in total.
For each ETS project it is possible to select the representation of group addresses in a:
The levels only serve for a clearer overview of the functions / group addresses created in ETS.
The default level is the 3-level structure. The level structure can be set for each project in the project
properties of ETS.
Etc.
The free-level group address structure offers the most flexible structuring option (see chapter ETS
Professional).
The meaning of each individual level can be freely defined by the ETS project engineer.
It is recommended to define a company default group address structure and to stick to this structure
in all projects in order to facilitate the insight into different projects.
Each group address can be assigned to bus devices at one’s discretion, regardless of where the
device is installed.
The group addresses are assigned to the group objects of the respective bus devices, either with the
help of ETS (S-mode) or automatically and invisible in E-mode.
Summary:
The individual address is important for the commissioning and diagnostic in an installation via ETS (in
order to address individual devices).
Group addressing dominates however during “normal operation” of a KNX installation: in that case,
the individual address is of a lesser importance.
Important notes3:
Actuators can listen / react to several group addresses per group object.
Sensors can however only send one telegram with a specified group address per group object.
Therefore a central function is represented by one single group address, which is linked once to
a sensor, and many times to all connected group objects of actuators.
Notes:
Recommendation: Use group addresses with main group 16 or higher only if all used devices can
also be linked to it (sometimes not the case with a few legacy devices).
When using main groups 14 to 31 (in two-level + three-level group address structure) in ETS, one
should take into account that these group addresses cannot be filtered by TP line -/ backbone
couplers from the older generation (before 2003). This could negatively influence the dynamics
of the entire bus system. Consequently, for these older generation couplers, these main groups
can only be routed or blocked collectively and are primarily to be used for central functions.
The number of group addresses that can be assigned to sensors and actuators is variable and is
limited by the memory size of the bus device. ETS will prevent that the available memory space
for that specific device is exceeded and will give an appropriate warning to the ETS user.
3 These rules of thumb have been somewhat simplified. More precisely, one should state: group objects can
react to several group addresses, however - after an event (e.g., pressing a rocker) - only the first group address
assigned to a sensor object will be used during sending.
assigning individual addresses to the different devices (for the unique identification of sensors
and actuators in a KNX installation);
Assigning group addresses in order to logically connect sensors and actuators and by doing so
realize the desired functions.
In the case of E-mode compatible products, the same steps as above are applied, whereby the
settings for:
the group addresses (for linking the functions of sensors and actuators)
is done either via local settings on the products or automatically or semi-automatically by a central
controller module.
Group address
5/2/66
1
Individual address
1.1.2
Group address
5/2/66
230 V
KNX
If the upper part of the rocker of the single push button (1.1.1) is pressed, it sends a telegram
containing the group address (5/2/66) and the control value (“1 = switch on”)
All devices that have the same group address in their address table will:
When the lower rocker is pressed, the same happens except that this time the value is set to “0” and
the output relay of the actuator is opened.
4 Group object
Individual address
2 1.1.1
Individual address
1.1.2
230 V
KNX
In the previous introduction example, a group address was assigned directly to a bus device (single
Push button – single channel Actuator).
In reality, one needs to think one level deeper, as there can be several channels that can
communicate in a device. Obviously, this is the case when a push button has more than one rocker or
when an actuator has more than one switching output.
The individual rockers of a push button or the several switching outputs of an actuator are
represented by so-called “group objects”.
KNX group objects represent memory locations in a bus device. The size of these objects can vary
between 1 bit and 14 bytes. The size of the group objects is defined by the manufacturer and
depends on the related function.
As only two states (0 and 1) are required for switching, 1 bit group objects are used in this example.
The data for text transmission is bulkier and therefore group objects with a maximum size of 14 bytes
are used. By means of group addresses, ETS only allows linking group objects that have the same
size.
Figure 7 shows the relation using a push button 2-fold and a switch actuator 2-fold as an example.
a) If e.g. the upper part of the left rocker of a 2-fold push button is pressed, it will write a control
value of “1” to its group object with the number 0. Consequently, the firmware in the device
ensures that a telegram is sent on the bus with the information “Group address 5/2/66, write
value, Value = 1”.
b) All bus devices mounted in the entire KNX installation, to which the group address 5/2/66 has
been assigned (and thus listen to 5/2/66) will then take over the “1” in their own group object. In
our example, the actuator will take over the control value “1” in its group object with number 0.
c) The application software of the actuator establishes that the value in this group object has
changed and executes the switching process.
1 bit to 14 bytes
The length of the data depends on the data point type used and can vary between 1 bit and 14 bytes.
Useful data
DPT_ID DPT_Name
1.001 DPT_Switch
1.007 DPT_Step
1.008 DPT_UpDown
3.007 DPT_Control_Dimming
5.001 DPT_Scaling
9.001 DPT_Value_Temp
9.004 DPT_Value_Lux
…. ….
Several datapoint types were standardized to guarantee compatibility of similar devices from
different manufacturers (e.g. dimmer, clock…).
Both the data format as well as structure of the group objects both for sensor and actuator functions
is part of the data point standardization.
The name of a group object can be freely decided by the manufacturer. For instance, a DPT_Step is
sometimes, depending on the manufacturer, referred to as short operation or as blind operation.
This does however not imply that the use of the DPT is limited to one specific application domain. For
example, “Scaling” (Type 5.001) can be used both for setting a dimming brightness or for setting a
heating valve position.
In the following pages examples of a number of data point types are presented. The full list of all
approved datapoint types can be downloaded from the KNX Association’s web site
(https://www.knx.org/wAssets/docs/downloads/Certification/Interworking-Datapoint-
types/03_07_02-Datapoint-Types-v02.02.01-AS.pdf).
DPT_Switch (1.001)
Size Encoding Meaning
1 Bit 0 Off
1 On
DPT_Bool (1.002)
Size Encoding Meaning
1 Bit 0 False
1 True
DPT_Enable (1.003)
Size Encoding Meaning
1 Bit 0 Disable
1 Enable
DPT_Switch (on/off) is used for switching an actuator function. Other one bit datapoint types are
defined for logical operations (Boolean 1.002), for Enable/Disable (1.003), etc....
Other functions or extensions to the pure switching function (inversion, time delay and toggle switch
functions etc.) are not part of the datapoint type, but are parameters of the functional block
specification, in which this DPT is used (e.g. functional block light switch).
A switching function can additionally have a status or feedback object to report the switching state
(on or off) of an actuator. For this, you need to create a group address that links the status object of
the rocker with the feedback object of the actuator relay. Both the status object and the feedback
object have a data length of 1 bit.
DPT_Step (1.007)
Size Encoding Meaning
1 bit 0 Decrease, Stop
1 Increase, Stop
DPT_UpDown (1.008)
Size Encoding Meaning
1 bit 0 Up
1 Down
Figure 11: Functional block "shutter and blinds actuator - basic"
The functional block “Shutter and blinds actuator –basic” is primarily used to control operating
devices for solar protection (e.g. blind and shutter drives) and consists of at least two group objects
with the following datapoint types:
By writing on the object with “Up/Down”, a shutter or blind is set in motion from an idle state or
changes direction while moving.
By writing on the object “Step/Stop”, a shutter or blind in motion is stopped or, in the case of a blind,
if not in motion, its slats are adjusted by one step per telegram.
Important: Group objects using this function should never respond to read telegrams via the bus, as
such response telegrams can unintentionally stop moving drives, or set them in motion if they are in
the stopped state. The “Read” flag should therefore be deleted in the relevant group objects – both
in sensors as well as actuators. This especially applies for central functions.
Note: Although DPT_Switch (on/off) and DPT_Step or DPT_UpDown (or any 1 bit DPT) use the same
1 bit information (and could in fact be linked in ETS), they should only be linked if the linking would
make sense, e.g. with the function: Lighting off, move up sun shading (DPT_Switch and
DPT_UPDown).
3 2 1 0
DPT_Control_Dimming (3.007)
Size Encoding Meaning
4 Bit bit 3: 0 • Decrease (darker)
bit 3: 1 • Increase (brighter)
bit 0 – 2 • Number of dimming steps
Apart from the 4-bit object (Relative dimming - DPT_Control_Dimming [3.007]), the functional block
dimming consists of at least a switching object (corresponds to DPT_Switch [1.001]) and a value
object (corresponds to DPT_Scaling – [5.001]).
A dimming sensor supports at least the group objects DPT_Switch [1.001] and DPT_Control_Dimming
[3.007] whereas a typical dimming actuator additionally supports the DPT_Scaling [5.001] group
object.
Explained in § 6.1.
Via the "Relative dimming" object DPT_Control Dimming, the dimming actuator receives a dimming
command, after which it dims brighter or darker by x % relative to the currently set brightness. Bit 3
of the useful data determines whether the addressed device dims brighter or darker (sign bit).
Bits 0 to 2 determine the dimming step width. The smallest possible dimming step width is 1/64th of
100 % (1 % in the ETS group monitor).
DPT_Scaling (5.001)
Size Range Meaning
1 byte 0 – 100 % Dimming values
The "Absolute dimming" function (DPT_Scaling [5.001]) is used to directly set a brightness value
between 0 % (minimum) and 100 % (maximum) with a resolution of approx. 0.39% (256 values).
With this data format positive or negative float values with a maximum resolution of 0,01 can be
transmitted. This data format is used in many datapoint type definitions e.g. for transmitting room
temperatures in DPT „Temperature (°C) [9.001]” or wind speed in the DPT „Speed (m/s) [9.005]“.
7 TP bit structure
„0“ and „1“ are the two logical states a bit can have.
30 V
A “bit” can have two logical states, i.e. “0” and “1”.
This means that if several bus devices transmit simultaneously, the logical state “0” will prevail!
Bus device 1
Bus
In KNX TP, bus access is not controlled centrally according to the master/slave principle.
A bus device with data to transmit can start transmission immediately if it detects that the bus is
unoccupied. This access happens randomly with no fixed time slots.
The simultaneous sending request of several bus devices is controlled by the CSMA/CA procedure
(Carrier Sense Multiple Access with Collision Avoidance).
The bus devices listen to the bus while transmitting if they are not sending themselves a logical 0.
This means: As soon as a bus device with the logical state “1” detects the logical state “0” (= flow of
current on the line), it stops transmitting to give way to the other sending device.
The bus device that terminated its transmission continues however to listen until the end of the
telegram transmission, evaluates it and tries once again to send its own telegram.
In this way, if several bus devices attempt to transmit simultaneously, the CSMA/CA procedure
ensures that only one of these bus devices can terminate its transmission without interruption (if
simultaneously sent, the telegrams will be sent in parallel until a collision is detected). The data
throughput is therefore not reduced.
Note: if a bus device cannot send its telegram due to another telegram with a higher priority, it will
wait until the telegram with the higher priority has finished and then it will make another attempt to
send its telegram.
Red
Black
DVC DVC
The data is transmitted symmetrically over the pair of wires. None of these wires are connected to
the ground or PE, nor are they connected to a fixed potential.
The bus device only evaluates the difference of the AC voltage between both wires.
Radiated noise affects both wires with the same polarity and hence have no influence on the
difference in the signal voltage.
Black
Ps
Application
Electronics
Transformer-IC Interface
INFO
Figure 19: The transformer-IC in the bus device separates DC supply voltage and AC information voltage
Data is transmitted in the form of AC voltage. It is superimposed onto the DC supply voltage. Both
voltage parts are separated by the transformer-IC.
Black
Red
Power supply unit Choke
delivers constantly
30 V DC (Regulator!)
Bus line
The power supply feeds the bus via the choke. A voltage regulator is included in the power supply,
which tries to immediately correct deviations in the 30 V nominal voltage. If the installation were
connected directly to the power supply, the voltage regulator would try to also correct the AC
information voltage. This would result in a “tug of war” between the sending bus device and the
regulator included in the power supply.
The choke with its inductance brings some “inertia” into the system.
It allows short-time deviations to the 30 V voltage and at the same time allows the regulation of the
DC supply voltage.
The second task of the choke is the generation of the second (positive) half of the AC voltage pulse.
Only the first (negative) half is generated by the sending bus device. The cooperation between bus
device and choke results in an AC signal voltage without a DC part. This is important for the correct
signal evaluation in receivers.
12 Cable lengths
700 m
350 m
Ps
Ch
DVC DVC
DVC
DVC
DVC
DVC
Irreproducible data transmission problems can occur if the maximum total bus length in a TP line
segment is exceeded.
U/V
6
4
2
0
-2
-4
-6
Figure 22: Cable length between TP power supply unit - TP bus device
A bus device only transmits a half wave (shown in the picture as the negative half wave at the
positive wire).
The choke as part of the power supply unit produces - together with the transceiver IC of the bus
devices - the positive equalization pulse.
As the choke plays a significant role in the forming of the equalization pulse, the bus devices may
only be installed up to 350 m cable length away from the choke (power supply unit).
UE
0,5 V
connected bus devices
Input
receiver
0 10 20 30 40 µs 50
0 0 0 0 t 0
tv = Delay
tv
If several bus devices try to transmit simultaneously, a possible collision can only be resolved up to a
distance of 700 m (delay time of the signal tv < 10 µs).
To ensure that data is reliably transmitted despite these two effects, the total cable length per line
segment may not exceed 1,000 m. The maximum number of devices per line segment depends on
their total power consumption: In newer installations, more devices per line segment can be installed
(see chapter Topology for more information).