Weinzierl KNX Over IP en
Weinzierl KNX Over IP en
While KNX has established itself as the world's most important standard in building automation,
Ethernet (also often referred to as IP - Internet Protocol) has developed into a universal
communication solution for automation tasks.
Due to the different system properties, KNX and Ethernet can complement each other perfectly.
Thus, IP in KNX is not only used for interfaces, but is also specified as an independent medium in
the KNX standard.
The introduction of KNX Security was an important milestone for the broad use of IP in KNX
installations. Here KNX has positioned itself for the future like no other building automation protocol.
Photo: KNX IP LineMaster 762 Photo: KNX IP Multi IO 580 (48 I/O)
The tunnelling protocol can be selected in ETS in the Connection Manager and is also suitable for
remote access via the Internet. It can also be used to connect a visualization to a bus line. The
Tunnelling Protocol also supports the bus monitor function.
Thus, the large bandwidth of a LAN network offers an optimal solution. While KNX TP can only
transmit a maximum of approx. 50 telegrams per second, in the LAN it is already more than 10,000
at 10 Mbit/s. In order to process this amount of telegrams without losses, both high computing
power and a corresponding telegram buffer from IP to KNX TP are required.
Since the use of the Ethernet as a backbone is of great importance for the system, a corresponding
protocol was standardized in KNX. The KNXnet/IP specification describes in the Routing sub-item
how KNX/IP routers forward telegrams via IP. For forwarding via Ethernet, the KNX telegrams are
individually packed into UDP/IP telegrams and sent as multicast telegrams via Ethernet. All KNX/IP
routers in the network can receive these telegrams at the same time and decide, based on their
routing table, whether to forward the telegram into the connected KNX line. For a secure
transmission, KNX IP Security has also introduced an encrypted transmission of routing telegrams.
The routing protocol is suitable for connecting any number of visualizations to a KNX installation
with IP backbone, but does not support the bus monitor format.
If tunnelling or routing were used for such a solution, the devices could access the KNX network, but
would still have to compile or interpret KNX telegrams
It is much easier if a special KNX IP interface takes over this task. The KNX IP BAOS devices
(BAOS stands for "Bus Access and Object Server") provide access to telegram level as well as the
configured data points of the building as object server. This means that the KNX stack in the device
assigns received telegrams to the corresponding communication objects and stores their data in
memory. Registered clients are informed about every change, but can also retrieve the data
independently. The data of the communication objects are updated on receipt even if no client is
connected. This enables a smartphone, for example, to read the process image from the BAOS
interface without any loss of time when establishing a connection, without loading the KNX bus. In
order to send data to the bus, a client can access the communication objects by writing. The device
can independently generate and send group telegrams.
The configuration of the data points is done with the help of the ETS (Engineering Tool Software). In
the ETS, the interface appears like a conventional bus subscriber. The data types of the
communication objects are set via the parameter dialog. The group addresses can then be assigned
as usual.
A client can thus access the data points using the BAOS protocol without having to know the syntax
of KNX telegrams. It addresses the data points by their number as they are displayed in the ETS. If
group addresses in the KNX network are changed, the interface is automatically updated by an ETS
download. It is not necessary to change the configuration of the client.
The KNX IP BAOS 773/774 provides two different BAOS protocols:
• Firstly, the devices support the so-called KNX BAOS Binary Protocol. It is available both
via TCP/IP and UDP/IP. The binary protocol is particularly suitable for devices that are
programmed with classic programming languages such as C, C++ or C# and support IP
sockets. However, it is hardly possible to use the KNX BAOS Binary Protocol from a web
browser:
• For this reason, access to the Object Server can now alternatively be made via the new
KNX BAOS Web Services based on Java Script Object Notation (JSON). Thus, the KNX IP
BAOS 773/774 can be directly integrated into own web applications. The Web Services have
the same functional range as the KNX BAOS Binary Protocol, but use a text-based syntax,
which is sent via HTTP (TCP/IP, Port 80). The web services do not include a graphical user
interface. This must be created separately, typically in HTML and Java Script, and can be
stored in the client memory, for example.
In addition to the functionalities of the KNX IP BAOS 773/774, the KNX IP BAOS 777 contains
REST Services.
KNX IP BAOS 777 Visualization in the Web browser KNX IP BAOS 777 Email Function
With the integrated email function, it is now easy and convenient to have notifications sent to a
mobile device such as a smartphone or tablet when changes are made to the individual functions.
The device also allows a connection to a time server, which synchronizes the system time in the
KNX installation with an external time server.
Application of a KNX IP only device Photo: KNX IP Multi IO 580 (48 I/O)
This allows - as shown here as an example with the KNX IP Multi IO 580 - a direct connection to an
existing LAN if no KNX TP line is available or if a high data rate is required for this device. This is
also useful for devices that already have an IP connection, e.g. a VoIP telephone that is to be
equipped with KNX functionality by the manufacturer.
The KNX IP only device Multi IO 580 can be programmed by the ETS in several ways:
KNXnet/IP Routing
Programming via KNXnet/IP routing is possible if the
device already has a valid IP configuration (e.g. via
DHCP or Auto IP). The routing interface appears in
the ETS if at least one device is visible in the network
which supports routing. The name of the network
interface in the PC appears as designation.
If Routing is selected as interface, the programming
is done from the ETS project as with other devices.
In this case the LAN is used as KNX medium similar
to TP. No additional interface device is required.
With the variants for KNX IP, the dimming actuator can be connected directly to the IP network of a
building with full compatibility with the KNX system and ETS. On models that also support Power-
over-Ethernet (PoE), the connected LED lamps can be supplied directly via the network cable. They
only require an Ethernet connection, but no additional power supply. This opens up new installation
possibilities and represents a further step towards the "digital ceiling".
As different as the two applications of KNX IP are, as different are the respective extensions for
security. With the Secure Routing protocol, which is based on UDP Multicast, a common key is used
to encrypt the entire KNX IP routing communication. A special feature is the telegram counter during
routing. This is time-based and thus represents a time stamp that allows obsolete telegrams to be
detected. The common system time is continuously synchronized between the devices.
With the tunnelling protocol, the client and KNX IP device (KNXnet/IP server) first build a secure
channel using the so-called Diffie-Hellmann method. Only then are the user ID and password
transmitted. A new feature of KNX Secure Tunnelling is the possibility to establish the connection
with TCP.
KNX IP
Interface
732 secure
KNX IP Router
752 secure
KNX IP
LineMaster
762
KNX IP BAOS
773/774
KNX IP BAOS
777