KNX Net Ip
KNX Net Ip
Trademark notice
BACnet and ASHRAE are registered trademarks of American Society of Heating, Refrigerating and Air-
Conditioning Engineers. Microsoft, Excel, Internet Explorer, Windows, Windows Vista, Windows Server, and
SQL Server are registered trademarks of Microsoft Corporation. Oracle and Java are registered trademarks
of Oracle and/or its affiliates. Mozilla and Firefox are trademarks of the Mozilla Foundation. Echelon, LON,
LonMark, LonTalk, and LonWorks are registered trademarks of Echelon Corporation. Tridium, JACE,
Niagara Framework, and Sedona Framework are registered trademarks, and Workbench are trademarks of
Tridium Inc. All other product names and services mentioned in this publication that are known to be
trademarks, registered trademarks, or service marks are the property of their respective owners.
Chapter 3 Components...................................................................................37
knxnetIp-Connections ..............................................................................37
knxnetIp-ConnectionsCommsCounters .....................................................38
knxnetIp-KnxDevice .................................................................................38
knxnetIp-KnxDeviceFolder .......................................................................41
knxnetIp-EndPoint ...................................................................................41
knxnetIp-EndPointCommsCounters ..........................................................42
knxnetIp-GroupDataManage ....................................................................43
knxnetIp-KnxInstallation ...........................................................................44
knxnetIp-LocalInterface ............................................................................45
knxnetIp-LocalInterfaces...........................................................................46
knxnetIp-KnxNetwork ..............................................................................46
knxnetIp-KnxPollScheduler .............................................................49
knxnetIp-KnxStationDataDefs.........................................................51
knxnetIp-KnxPointDeviceExt ....................................................................51
knxnetIp-TunnelConnection......................................................................53
knxnetIp-TunnelConnectionCommsCounters ............................................55
Glossary ............................................................................................................65
Index.................................................................................................................67
Related documentation
Several other documents are available for learning how to use the Niagara Knxnet/IP driver.
• Niagara Drivers Guide explains concepts.
• Getting Started with Niagara explains concepts.
The KNX decentralized, distributed network protocol manages building controls, such as HVAC and lighting
systems. The Niagara Framework® KNX driver models devices that conform to the KNX protocol standard.
The KNXnet/IP driver:
• Provides a license feature: knxnetIp
• Works with NiagaraAX-3.8 and Niagara 4.1 versions and later
• Supports the JACE-3E, JACE-6, JACE-6E and JACE-8000 (it does not support the JACE-2)
• Supports both ETS4 (Engineering Tools Software) and ETS5 KNX tools
• Supports versions 12-14 of the ETS knxproject xml schema
• Uses the more data-rich ETS project file as a source of KNX system data for discovery
• Supports ETS Two Level, Three Level and Free Level group addressing
• Supports the full list of current KNX datapoint types defined in the knx Master Data xml file
• Supports manufacturer-specific KNX datapoint types with values exposed as hex strings
• Supports enhanced point discovery to improve pre-setting Point Facets, Point Names, Hierarchy and
Point types
• Supports complex multi-value KNX datapoint types
Consistent modelling (knxnetIp-device = Niagara-device and KNX Group Address = Niagara-point)
• Supports knxnetIp tunnelling
• Supports proxy routing
• Supports enhanced bus-data-received functionality
• Provides documentation as a PDF and Workbench help
• Makes no reference to the EIB (European Installation Bus)
Compatibility
The knxnetIp driver is compatible with standard KNX Services.
Tunnelling
Data Link Layer — Fully Supported
CEMI Raw— Not Supported
KNX Busmonitor— Not Supported
Routing
Through a tunnel connection the driver supports physical routers, which route KNX messages.
The driver does not support the KNX protocol’s Routing Service, which broadcasts messages around the en-
tire network.
The driver provides proxy routing, which uses a tunnel to connect to a router device for the purpose of send-
ing messages.
KNX system specification editions
Here are the specific KNX System Specification document editions:
• 03_01_02 Glossary v01.04.00 AS.pdf
• 03_02_06 Communication Medium KNX IP v01.00.02 AS.pdf
• 03_03_02 Data Link Layer General v01.02.02 AS.pdf
• 03_03_07 Application Layer v01.06.04 AS.pdf
• 03_06_03 EMI_IMI v01.03.03 AS.pdf
• 03_07_02 Datapoint Types v01.08.03 AS.pdf
• 03_07_03 Standardized Identifier Tables v01.03.01 AS.pdf
• 03_08_01 Overview v01.04.02 AS.pdf
• 03_08_02 Core v01.05.02 AS.pdf
• 03_08_03 Management v01.06.02 AS.pdf
• 03_08_04 Tunnelling v01.05.04 AS.pdf
Re qu irem en ts
Requirements include installer training, ETS data, software, hardware, and licensing.
Systems integrator training
The procedures in this document assume that you are Niagara certified and experienced at configuring
stations.
ETS proj ec t req ui reme n ts
Using ETS (Engineering Tool Software), export the ETS Project. This provides the source of the KNX system
data for the Knxnet/IP driver.
P l a t f o r m p re re q u i s i t e s
The KNXnet/IP driver requires a NiagaraAX or Niagara 4 platform that supports Hot Spot VM (virtual ma-
chine) from Oracle. It does not support the JACE 2, 4, or 5. The KNXnet/IP driver only supports an IP con-
nection to the KNX network.
Ve r s i o n
These Niagara versions support the KNXnet/IP driver:
• NiagaraAX-3.8
• Niagara 4.1 and later
L ic en si ng req ui reme n t
• The knxnetIp feature must be present in your Workbench platform and station platform licenses.
• Attributes associated with the knxnetIp feature are listed in the table.
Attribute Description
device.limit This attribute is common to most features. It defines the maximum number of devices that can be connected to
this driver.
history.limit This attribute is common to most features. It defines the maximum number of histories that can be used for this
feature.
installation.limit This attribute defines the maximum number of KNX installations that can be connected to this driver.
interface.limit This attribute defines the maximum number of platform interfaces that can be connected to this driver.
point.limit This attribute is common to most features. It defines the maximum number of points used on this feature.
schedule.limit This attribute is common to most features. It defines the maximum number of schedules used on this feature.
Driver modules
KNX integration requires modules for both NiagaraAX and Niagara 4 versions.
NiagaraAX KNX modules
Two modules are required for the KNXnet/IP driver:
• knxnetIp.jar
• docknxnetIp.jar
• knxnetlp-doc.jar
• knxnetIp-rt.jar
• knxnetIp-wb.jar
E T S FA Q s
The implementation of a KNX network begins with the ETS project.
D o e s t h e ‘ B u s C o n n e c t i o n ’ p ro p e r t y re q u i re c o n f i g u r a t i o n i n E T S ?
Fi gu re 2 Bus Connection property in ETS
No. To import devices from an exported ETS Project file it is not necessary to configure the B u s C o n n e c t i o n
property in ETS.
Can I di scove r poi nt s f rom di ffe ren t ETS proje ct s a n d a dd t he m t o t h e same d evi ce ?
Fi gu re 3 Multi-level project
Yes you can. You can also add points from different projects that use different Group Address Style strat-
egies. It is possible to mix points from Two Level, Three Level and Free Group Address styles in the same
device.
A p a s s w o rd - p ro t e c t e d d i a l o g u e o p e n s w h e n I t r y t o d i s c o v e r d e v i c e s a n d p o i n t s . W h y i s
t hi s a n d wh at password do I en t e r?
The KNX ETS can export a project with a password. The KNXnet/IP driver can open the project when you
present the correct credentials. You will need to enter the same password used to set up the ETS project.
D r i v e r FA Q s
What is a KNXnet/IP Interface device?
A KNXnet/IP Interface device is a hardware device that supports KNXnet/IP tunnelling only. A single inter-
face, such as the Weinzierl 730 and the Siemens N 148/22 may support multiple KNXnet/IP tunnelling con-
nections. These devices can have simultaneous tunnelling connections, which are managed by defining
multiple KNX individual device addresses on the device. In the KNXnet/IP driver, this is called the Individual
Device Address and allows the KNX network to be accessed by both ETS and the KNXnet/IP driver.
Wh at i s a K NXn e t/ IP rout e r de vic e ?
This is a hardware device that supports both KNXnet/IP tunnelling and KNXnet/IP routing connections, as
well as having the filter table to allow the device to perform as a coupler. Some KNXnet/IP Routers, such as
the Siemens N 146/02 allow multiple tunnelling connections.
Wh at i s p roxy rou ti n g?
The KNXnet/IP driver does not directly support the KNXnet/IP Routing Service. Proxy routing:
• Enables the KNXnet/IP driver to communicate with KNXnet/IP router devices whose IP subnet differs
from the Host IP subnet.
• Allows the KNXnet/IP driver to communicate with multiple KNXnet/IP router devices without using up a
KNXnet/IP tunnelling connection in each KNXnet/IP router.
Proxy routing relies on configuring a KNXnet/IP device in the station using a KNXnet/IP tunnelling connec-
tion to one KNXnet/IP router device that has the same IP subnet address as the host. The KNXnet/IP router
device’s filtering needs to be configured to allow it to route messages from the KNXnet/IP tunnelling con-
nection to other KNXnet/IP router devices and vice-versa.
The other KNXnet/IP routerdevices can then be configured as KNXnet/IP devices in the station with their
C o n n e c t i o n M e t h o d property set to Proxy Routing and their proxy device address and other connection
properties set to the KNXnet/IP device that was configured to use the KNXnet/IP tunnelling connection de-
scribed above.
Wh at K NX ne t /IP d evi ce a ddre ss i nf or mat i on doe s t he KNX dr i ve r n e ed an d ho w doe s i t
obtain it?
Interfaces and routers are the two primary KNXnet/IP device types. The KNXnet/IP driver needs three ad-
dresses to communicate with either of these device types:
• I p A d d re s s : Obtained from the KNXnet/IP device either over the KNX network using the driver’s search-
network-for-devices feature or by manual data entry.
• C o n t r o l P o r t N u m b e r : Obtained from the KNXnet/IP device either over the KNX network using the driv-
er’s search-network-for-devices feature, by manual data entry, or by default.
N O T E : The default C o n t ro l P o r t N u m b e r is 3671.
• I n d i v i d u a l D e v i c e A d d r e s s : Obtained from the KNXnet/IP device either over the KNX network using
the driver’s search-network-for-devices feature, by manual data entry, or by using importing devices from
the driver’sknxproj file.
N O T E : Manual data entry is not available in v29 of the KNXnet/IP driver.
The KNXnet/IP driver’s search-network-for-devices (device discovery) feature uses a multicast connection.
N O T E : If both the I p A d d r e s s and C o n t ro l P o r t N u m b e r are known by the KNXnet/IP driver, it does not in-
itiate a search request via a multicast connection.
Does the KNXnet/IP driver support multicast telegrams?
The term “multicast” can apply to both IP Multicast and the KNX point-to-multi-point, connection-less (multi-
cast) transport layer communication mode.
To facilitate device discovery on the network, the KNXnet/IP driver does support IP Multicast.
N O T E : The default I P M u l t i c a s t A d d r e s s is 224.0.23.12.
The KNXnet/IP driver inherently supports the KNX point-to-multi-point, connection-less (multicast) transport
layer communication mode in so far as it makes use of the A_GroupValue_Read-PDU, A_GroupValue_Re-
sponse-PDU and A_GroupValue_Write-PDU Application Layer services, which are only supported using this
communication mode.
Does the KNX driver support KNXnet/IP devices that do not support multicast?
Yes, providing the I p A d d r e s s and C o n t ro l P o r t N u m b e r are known to the KNXnet/IP driver. They can both
be entered manually.
N O T E : Multicast–connection support is part of the Core: KNXnet/IP service, which is mandatory for all certi-
fied KNXnet/IP devices.
W h a t c o n t ro l s t h e r a t e o f K N X d a t a re q u e s t s f ro m t h e d r i v e r ?
The I n t e r M e s s a g e D e l a y setting in the tunnel connection paces the out-going data requests from the driv-
er. This can be used to reduce the rate of data requests in cases where a KNXnet/IP Interface device cannot
cope with the traffic volume, caused possibly by its implementation settings or by its operating speed. The
I n t e r M e s s a g e D e l a y default setting of minimum 15ms has proved successful with Siemens interface devi-
ces. Any problems arising from this being set too small would manifest as control points intermittently hav-
ing a Read Fault: Timed out waiting for L_Data_con (condition).
Fi gu re 4 Inter Message Delay
Each out-going data request actually involves six packets travelling between the KNXnet/IP driver and the
KNXnet/IP Interface as follows:
1. Request from KNXnet/IP driver to KNXnet/IP Interface
2. Acknowledgement from KNXnet/IP Interface to KNXnet/IP driver
3. Confirmation from KNXnet/IP Interface to KNXnet/IP driver
4. Acknowledgement from KNXnet/IP driver to KNXnet/IP Interface
5. Reply from KNXnet/IP Interface to KNXnet/IP driver
6. Acknowledgement from KNXnet/IP driver to KNXnet/IP Interface
This appears as several flashes on the KNXnet/IP Interface’s LEDs.
H o w d o e s t h e d r i v e r p re v e n t c o m m u n i c a t i o n s t r a ff i c f ro m s w a m p i n g t h e K N X t w i s t e d p a i r
line?
The KNXnet/IP driver prevents the KNX twisted pair line from being swamped with traffic by controlling the
number of concurrently active group address read operations and is set by the M a x P e n d i n g R e a d s prop-
erty in the G r o u p D a t a M a n a g e r. The term “active” in this context means that:
1. A particular group address read operation reached the head of the group data operation queue.
2. The communications stack sent an L_Data_req message to the KNXnet/IP device and received an L_Da-
ta_con reply, but has not yet received a corresponding L_Data_ind message.
The default value of M a x P e n d i n g R e a d s is 4 but, unfortunately, there is no clear guidance in the KNX Specs
as to what an acceptable M a x P e n d i n g R e a d s value should be. However, having this value too small does
not cause a read–queue–is–full fault.
F ig ure 6 Max Pending Reads
P o r t n u m b e r s e l e c t i o n : The ETS tool sets the port numbers used by the KNXnet/IP Interface device (pro-
vided that the device can be configured). The port numbers that the KNXnet/IP driver chooses dynamically
for each Local Interface range between a port-minimum (0-65535) and port-maximum (0-65535). The default
values of these are 3500 and 4000 although they can be changed when setting up of the driver. Clearly, re-
ducing the range restricts the number of potential device connections and, ultimately, if the range offers only
one port number, the driver will not function because two ports is a minimum for each device connection.
R e c y c l i n g p o r t n u m b e r s : When dynamically choosing a new port number, the KNXnet/IP driver starts at
the port minimum number (default setting) and chooses the next available port number or it cycles through
the range. You can select this behaviour when setting up the driver.
T u n n e l l i n g FA Q s
KNXnet/IP tunnelling is the primary method of interfacing to a KNX system. It allows for Unicast communica-
tion from a single external device to the KNX system. This is akin to using a USB or Serial Interface to inter-
face to the KNX system.
What maintains the tunnel connection?
The C o n t r o l E n d P o i n t connects, maintains and disconnects the tunnel connection. To be more precise,
control of the tunnel connection is the only thing the C o n t ro l E n d P o i n t does. The C o n t ro l E n d P o i n t sees
very little traffic, only two or three messages to connect or disconnect and one or two messages per minute
to maintain the connection.
Fi gu re 7 Maximum Received Packets Que Size
The M a x i m u m R e c e i v e d P a c k e t s Q u e S i z e controls the size of the control end point’s receive queue. It de-
faults two five packets. If this value were too small, there would be an indication of lost frames in the hidden
R x F r a m e s L o s t Q u e u e F u l l communications counter.
Unlike the G ro u p D a t a O p e r a t i o n Q u e u e , the necessary size of this queue does not depend on the number
and frequency of control point polling. Instead, it depends on how quickly the KNXnet/IP driver can process
incoming messages, which in turn depends on the overall CPU usage in the platform.
You can monitor the success or otherwise of received data by inspecting the R x F r a m e s L o s t Q u e u e F u l l
counter in the hidden communications counters. Depending on the number and frequency of lost Rx frames
you can try increasing the M a x i m u m R e c e i v e d P a c k e t s Q u e S i z e in steps of 50, until no more Rx frames
are being lost.
F ig ure 10 Rx Frames Lost Queue Full
C om p o und S tr uc tu res
The KNX standard specifies that some Datapoint Types (DPT) have compound structures, where one DTP
contains several data fields. So, how does the KNXnet/IP driver write to a KNX compound structure DPT?
This topic answers this question with an example.
Datapoint Type 222.100 is a DPT with three sets of room temperature setpoints, each of which is a 16-bit
float value. The room temperature setpoint comfort (TempSetpComf), room temperature setpoint standby
(TempSetpStdby) and room temperature setpoint economy (TempSetpEco) are all encoded within the same
DPT.
From the standpoint of the framework’s driver data model, each of these setpoints is a separate proxy point
but, on the wire, KNX compounds them into one group address. Therefore, when it writes to the group ad-
dress the KNXnet/IP driver must know the current value of every field before overwriting the DPT. To do
this, the driver reads the whole group address before individually overwriting the data. This behaviour can
be seen in the following ETS Group Monitor diagnostic of Group Address 7/1/0, which is a 222.100 DPT:
Quick start
The basic steps to configure a station to communicate with a KNX system involve setting up Workbench,
commissioning the Supervisor or JACE platform and configuring input proxy points.
Step 1 Plan and then configure the KNX system using the ETS (Engineering Tool Software).
This software is separate from the Niagara Workbench
Step 2 Using ETS, export the ETS Project. This provides the source of KNX system data for the KNXnet/IP
driver.
Step 3 Copy the KNXnet/IP driver modules to the C:\Niagara\Framework-n.n.nn\Modules folder,
where Framework-n.n.nn is the version of the
Step 4 Commission the remote controller platform.
Commissioning is documented in the controller guide.
Step 5 Set up a KnxNetwork in the station.
The detailed procedures in this guide begin with this step.
Step 6 Update the KNX Data Defs (data definitions).
Step 7 Configure the connection.
Step 8 Set up one or more KNX devices in the station.
Step 9 Set up one or more KNX points in the station.
Step 10 Set up alarms and other components.
For information on how to set up alarms, refer to Niagara Alarms Guide.
The driver makes only a single attempt to synchronize data definitions per session, unless the pre-
vious attempt failed.
After updating data definitions, it opens the K N X D e v i c e M a n a g e r view.
Step 3 Double-click the D r i v e r s node in the Nav tree again.
Once the data definitions are loaded, unless an error occurred, KNX Data Definition setup is com-
plete, and the D r i v e r M a n a g e r view clears the {down} status of the K N X N e t w o r k .
You are ready to update data definitions in the remote station and configure the KNX network driver’s con-
nection to the physical KNXnet/IP network.
Step 4 If this is the first time your Workbench has been used with a K N X N e t w o r k , the I m p o r t T e m p o r a -
r i l y D i s a b l e d window opens.
You are now ready to configure the KNX network driver’s connection to the physical KNXnet/IP network.
N O T E : If loading failed for some reason, there is a button available in the D e v i c e and P o i n t M a n a g e r views
to force a loading attempt.
Step 1 Obtain the latest knx_extra.xml from Dropbox and put it in the knx sub-folder of your Niagara
installation on your PC (for example:. C:\Niagara\Niagara-n.n.nn\knx\knx_extra.xml).
The driver examines the new knx_extra.xml file you copied into the knx sub-folder of your in-
stallation and displays:
As it loads the view, the driver checks the station’s version of the data definitions against Work-
bench’s version. Since the versions differ, the driver prompts you:
Step 6 To synchronize data definitions between Workbench and the station, click Ye s .
The driver updates the data definitions.
Step 7 To view the current status of the data definitions in the remote station, right-click the K n x N e t w o r k
node in the Nav tree, click V i e w s → A X P ro p e r t y S h e e t ,and confirm the status of the Knx Data
Defs.
A default Local Interface has been added to the KNXnet/IP driver and a default Knx Installation has
been added to the Local Interface.
Step 2 Select the Adapter Id to use for this connection to the physical KNX Network.
N O T E : You can add additional Local Interfaces from the palette for each of the platform’s TCP/IP
Interfaces to use for connecting to a physical KNX Network. All the Local Interfaces in the station
must have different Adapter Ids.
Step 3 Expand the Knx Installation section of the A X P r o p e r t y S h e e t and enter the Multicast Ip
Address.
N O T E : If you are using more than one Knx IP Multicast Address, you can add additional Knx Instal-
lation instances from the palette to any Local Interface. All the Knx Installation instances under a
Local Interface must have different Knx IP Multicast Addresses.
Step 4 To update the database, click S a v e .
You are now ready to add KNXnet/IP interface devices to the KNX network driver.
Device setup
Setting up the network involves adding and configuring devices and points.
You add KNX device instances to the station in three ways:
• By using the framework to discover the devices on a connected, physical KNX network
• By importing device data from an ETS project file (*.knxproj)
• By manually inputting the device data
Discovering devices
Discovery adds KNX device instances to the station database.
P re re q u i s i t e s : The KNX network driver has been be added to the D r i v e r s node. The KNX Data Defs are
loaded. The connection to the physical KNXnet/IP network has been configured.
Step 1 Expand the station C o n f i g node, double-click the D r i v e r M a n a g e r node, and double-click the
KNXNetwork driver row in the table.
The K n x D e v i c e M a n a g e r view opens.
Step 2 Click D i s c o v e r.
The D i s c o v e r / I m p o r t D e v i c e s window opens.
Step 3 Select the Search network for Devices option, choose which Knx Installation to search from
the drop-down list and click O K .
The discovery process takes about 10 seconds for each Knx Installation search.
N O T E : As discovery adds the devices to the database it updates the Knx Installation and Ip
Address properties. You do not need to configure them here.
Step 5 Make any other configuration changes and click O K .
Step 2 Click D i s c o v e r.
The D i s c o v e r / I m p o r t D e v i c e s window opens.
Step 3 Select the Import Devices from cache/file and the Import from file options and click on
the File Chooser.
The F i l e C h o o s e r window opens.
Step 4 Navigate to and select your ETS Project file, click O p e n , then click O K in the D i s c o v e r / I m p o r t D e -
v i c e s window.
The time it takes to import an E T S P r o j e c t f i l e is proportional to its size.
The E t s P r o j e c t F i l e I m p o r t view opens.
Step 5 Drag the device(s) from the D i s c o v e r e d pane to the D a t a b a s e pane or click A d d to display the
A d d window.
N O T E : This process imports only the Individual Device Address from the ETS Project file.
You must configure the Knx Installation for each device. It is not necessary to configure the Ip
Address now because the first time the framework connects to the device, using the device’s In-
dividual Device Address, it retrieves the Ip Address from the device itself.
Step 6 Configure the Knx Installation and click O K .
Step 2 Click N e w.
N O T E : When you add devices manually, you must configure both the Knx Installation and Ip
Address for each device. It is not necessary to configure the Individual Device Address be-
cause, when the KnxNetwork driver first tries to connect to the device, the driver uses the Ip Ad-
dress to discover the Individual Device Address from the dervice itself.
Step 4 Configure any other properties and click O K .
Step 3 Click D i s c o v e r.
The D i s c o v e r / I m p o r t D e v i c e s window opens.
N O T E : The cache retains all the previously loaded ETS project files. To speed import, you can im-
port from cache. When you do so, the driver checks to detect changes to the original file since it
was last imported into the cache.
Step 4 Select Import from cache or Import from file option and click O K .
The E t s P r o j e c t F i l e I m p o r t view opens.
Step 5 Drag point(s) from the D i s c o v e re d pane into the D a t a b a s e pane or click A d d .
The A d d window opens.
Can I have both the KNXnet/IP driver and EIBnet/IP driver running in my station?
No. There is an absolute certainty of conflict between the KNXnet/IP driver and the older EIBnet/IP driver if
they are running concurrently. If there is an EIBnet/IP driver in the station, delete it before you enable the
KNXnet/IP driver.
W h y, w h e n d i s c o v e r e d p o i n t s a re a d d e d t o t h e D a t a b a s e , a r e t h e y i n { f a u l t } ?
One of the many reasons why points can go to a {fault} condition, relates to the R1 firmware revision of
the Siemens N 148/22 KNXnet/IP Interface device. It may also occur with other KNXnet/IP Interface devices.
The problem is caused by the KNXnet/IP Interface device failing to respond with an acknowledge message
although message confirmation has been requested by the KNXnet/IP driver.
You may also observe that the F a u l t C a u s e property of the point proxy extension indicates Read fault:
confirmation — Confirm Timed Out.
One way to overcome this problem is to upgrade the R1 firmware revision level of the Siemens N 148/22
KNXnet/IP Interface device (or any other KNXnet/IP interface device). It is beyond the scope of this docu-
ment to detail the steps to accomplish this, but manufacturers of KNXnet/IP interface devices may provide
tools and guidance to upgrade their firmware.
Another way to overcome the problem is available within the KNXnet/IP driver. To do this, configure the
KNXnet/IP driver not to request an acknowledgement to its messages. To configure this use a hidden prop-
erty in the tunnel connection of the KNXnet/IP driver.
Unhide the r e q u e s t A c k n o w l e d g e m e n t s slot of the K n x N e t w o r k → K n x D e v i c e → C o m m s C o n n e c t i o n -
s→Tunnel Conn.
Why do some points randomly change state between {stale} and/or {fault} and {ok}?
If, after appropriate time-outs, the KNXnet/IP driver fails to receive requested data from the KNX device,
points go to a {fault} and/or {stale} state.
If the KNX device subsequently transmits data, for example a change of state or value, the KNXnet/IP driver
receives this unsolicited message thereby causing a change of proxy point status.
W h y, w h e n d i s c o v e r e d p o i n t s a re a d d e d t o t h e D a t a b a s e , s o m e a r e { s t a l e } a n d s o m e a r e
not?
One of the many reasons why points can go to a stale state relates to the ETS project file.
When points are added to the database from a ETS project file, their subscription properties are automati-
cally configured based on the communications flags set in the ETS project. These are the flags for the KNX
device's group objects, which are associated with the point's Group Address.
If a group address has at least one KNX device group object associated with it that has its Read Communi-
cation Flag property enabled, the Poll once on subscribed, Poll once on operational and Poll
until answer after poll once properties are set to true. This triggers an immediate poll of the Group
Address (because this view is itself subscribed to the point).
If a Group Address has no associated KNX device group objects that have their Read Communication
Flag enabled, its subscription properties are all set to false by default. The value, however, may be up-
dated (and become not stale) in the KNXnet/IP driver when any subsequent unsolicited messages regarding
the Group Address are received from the KNX system.
Here are the Read Communication Flag settings for some of the points in the example shown above:
N O T E : The Control Output (Control value) object has its Transmit flag set. This causes an unsolicited mes-
sage transmission from the KNX device.
queue. The queue in question is the Group Data Operation Queue, which holds a list of group data opera-
tions (Group Address reads or writes) waiting to be started as soon as the communications stack is able.
The Group Data Operation Queue has its size exposed under the hidden L D a t a Wo r k e r child of the G r o u p
D a t a M a n a g e r, immediately preceding the Hop Count property and can be seen in the example below. The
default value of the Group Data Operation Queue is 50.
Subject to how many Group Addresses are being polled, how often, and the amount of available RAM, you
could try increasing the value to 1000 to overcome the fault.
Components include services, folders and other model building blocks associated with a module. You may
drag them to a P r o p e r t y or W i r e S h e e t from a palette.
Descriptions included in the following topics appear as context-sensitive help topics when accessed by:
• Right-clicking on the object and selecting V i e w s → G u i d e H e l p
• Clicking H e l p → G u i d e O n T a rg e t
knxnetIp-Connections
These properties configure data communication options.
Include In Trace true (default) or Controls whether or not this information is included in the sta-
(hidden) false tion Spy Log.
Tunnel Conn Tunnel Connection Holds information and configuration for the Tunnel Connec-
tion. Refer to knxnetIp-TunnelConnection, page 53.
knxnetIp-ConnectionsCommsCounters
These properties provide communications statistics counters for the Comms Connections. By default, this is
a hidden folder.
Fi gu re 13 Connections Comms Counters properties
To access these hidden properties, you must first remove the config hidden flag, then expand C o n f i g → D r i -
v e r s → K n x N e t w o r k → K n x D e v i c e → C o m m s C o n n e c t i o n s in the station Nav tree, and double-click the
Comms Counters.
Property Value Description
Rx Frames Lost read-only Reports the Rx frames lost when the queue is full : 0, 1, 2 ...
Queue Full max.
The M a x i m u m R e c e i v e d P a c k e t s Q u e S i z e controls the size
of the C o n t r o l E n d P o i n t ’s receive queue size. It defaults of 5.
If this value were too small, there would be an indication of lost
frames here.
Rx Frames Lost No read-only Reports the Rx frames lost due to no packet worker: 0, 1, 2
Packet Worker ... max.
knxnetIp-KnxDevice
This component is the container for all KNXnet/IP proxy points.
To access these properties, expand C o n f i g → D r i v e r s → K n x D e v i c e in the station Nav tree, right-click the
K n x D e v i c e node, click V i e w s → A X P r o p e r t y S h e e t .
In addition to the standard properties (Status, Enabled, Fault Cause, Health, and Alarm Source In-
fo), these properties are unique to the KNX Data Defs.
Individual Device nnn.nnn.nnn Defines the unique number that identifies the current device
Address object on the network.
Mac Address read-only Specifies the data link layer MAC address of the device.
D I Bs, Supported read-only Indicates that the driver supports no service families.
Service Families
Group Data Group Data Holds information and configuration for the Group Data Man-
Manager Manager ager. Refer to knxnetIp-GroupDataManage, page 43.
Points Knx Point Device Serves as a container for information and configuration proper-
Ext ties for the KNX proxy points. Refer to knxnetIp-KnxPointDevi-
ceExt, page 51
Connection Tunnelling (de- Displays the current mechanism for connecting the device to
Method fault) or Proxy the station.
Routing
Comms Connections Holds information and configuration of the Comms connec-
Connections tions. Refer to knxnetIp-Connections, page 37.
De vic e In f o prop er t ie s
Description Information Blocks of the KNXnet/IP Interface device.
Individual Address read-only Displays the individual address for the device.
Device Friendly read-only Displays the alternate name for the KNXnet/IP interface
Name device.
knxnetIp-KnxDeviceFolder
This component serves as a container for KNX devices.
Use this folder to organize devices in the station by geographic location or some other grouping.
knxnetIp-EndPoint
This component appears in the palette as the Multicast End Point. The same component appears under the
KnxDevice, CommsConnection as a Control End Point and in a Tunnel Conn as a Data End Point. The proper-
ties for each end point are the same.
F ig ure 16 End Point properties
Here is how to access the three versions of this component. All three instances of this component require
you to expand C o n f i g → D r i v e r s → K n x N e t w o r k in the station Nav tree. From the K n x N e t w o r k node, the
procedure varies depending on the instance you are looking for.
Ve r s i o n t o a c c e s s How to access
To configure the hidden Comms Counters and Include In Trace properties you must first turn off the hid-
den config flag. To do so, right-click end point in the Nav tree, click V i e w s → A X S l o t S h e e t , right-click the
hidden property row(s) in the table, click Config Flags, un-check the Hidden flag, and click O K .
knxnetIp-EndPointCommsCounters
These properties provide communications statistics counters for the control end point. By default, this is a
hidden folder.
Fi gu re 17 End Point Comms Counters properties
The end point comms counters to view depends on your end point. There may be three instances in the sta-
tion: Multicast End Point, Control End Point and Data End Point. To access these hidden properties, first
change the hidden flag for C o m m s C o u n t e r s properties, then expand C o n f i g → D r i v e r s → K n x N e t -
w o r k → K n x D e v i c e in the station Nav tree, double-click one of the end point components (Multicast, Control
or Data) and click the C o m m s C o u n t e r s component.
To access these properties, expand C o n f i g → D r i v e r s → K n x N e t w o r k in the station Nav tree, right-click the
K n x D e v i c e node, click V i e w s → A X P r o p e r t y S h e e t , and expand G r o u p D a t a M a n a g e r.
To configure the hidden L Data Worker and Hop Count properties you must first turn off the hidden config
flag. To do so, right-click G r o u p D a t a M a n a g e r in the Nav tree, click V i e w s → A X S l o t S h e e t , right-click the
hidden property row(s) in the table, click Config Flags, un-check the Hidden flag, and click O K .
Read Before Write 100ms ... 6secs Defines the amount of time to wait before timing out on a
Timeout (Defaults to 0.5 read-before-write. Read Before Write Timeout.
secs)
knxnetIp-KnxInstallation
Holds information and configuration for the KNX Installation. In addition to the standard properties (Status,
Enabled, and Fault Cause), these properties are unique to Knx Installation.
Fi gu re 19 Knx Installation properties
To access these properties, expand C o n f i g → D r i v e r s in the station Nav tree, right-click the K n x N e t w o r k
node, click V i e w s → A X P ro p e r t y S h e e t , and expand L o c a l I n t e r f a c e s → L o c a l I n t e r f a c e → K n x I n s t a l l a t i o n .
In addition to the standard properties (Status, Enabled, and Fault Cause), this property sheet provides these
properties.
knxnetIp-LocalInterface
KNXnet/IP interfaces are used for programming KNX systems from the Ethernet side. These properties hold
information and configuration values for the local programming interface.
F ig ure 20 Local Interface properties
To access these properties, expand C o n f i g → D r i v e r s in the station Nav tree, right-click the K n x N e t w o r k
node, click V i e w s → A X P r o p e r t y S h e e t , and expand L o c a l I n t e r f a c e s → L o c a l I n t e r f a c e .
In addition to the standard properties (Status, Enabled, and Fault Cause), these properties support the
local interface function.
Property Value Description
Config Status read-only Displays the current configuration state of the local interface.
Local Port Max numeric, 1 — Defines the highest port number to which the driver dynami-
65535 (Defaults to cally assigns the next available number. Obtain Local Socket
4000) Behaviour enables this dynamic port assignment.
knxnetIp-LocalInterfaces
This component serves as a container under the KnxNetwork for local interfaces.
This is a default container under the KnxNetwork.
knxnetIp-KnxNetwork
This component is the base container for all KNXnet/IP devices and their child data objects (KNX proxy
points).
Fi gu re 21 KnxNetwork Property Sheet
Health additional Reports the status of the network, device or component. This
properties advisory information, including a time stamp, can help you rec-
ognize and troubleshoot problems but it provides no direct
management controls.
Alarm Source Info additional Contains a set of properties for configuring and routing alarms
properties when this component is the alarm source.
Monitor additional Configures a network's ping mechanism, which verifies net-
properties work health. This includes verifying the health of all connected
objects (typically, devices) by pinging each device at a re-
peated interval.
Tuning Policies Tuning Policy Map Refer to Tuning Policies/Default Policy, page 47.
Write On Up true (default) or Determines a writable proxy point’s behavior when the point
false and its parent device transition from down to up.
true initiates a write when a transition from down to up
occurs.
false prevents a write when a transition from down to up
occurs.
knxnetIp-KnxPollScheduler
The network Poll Scheduler maintains a group of four rate buckets to service pollables, three of which corre-
spond to configured poll rates (slow, normal and fast) and one (dibs stack) which is allocated for pollables
that transition to a subscribed state.
To access these properties, expand C o n f i g → D r i v e r s in the station Nav tree, right-click the K n x N e t w o r k
node, click V i e w s → A X P r o p e r t y S h e e t , and expand P o l l S c h e d u l e r properties.
knxnetIp-KnxStationDataDefs
KNX Data Defs properties are part of the KNX Import Service. K n x D a t a D e f s is a container for the specifi-
cations of the KNX Datapoint Types, which are imported from the knx_extra.xml file.
F ig ure 24 Knx Data Defs properties
To access these properties, expand C o n f i g → D r i v e r s in the station Nav tree, right-click the K n x N e t w o r k
node, click V i e w s → A X P r o p e r t y S h e e t , and expand K n x D a t a D e f s .
knxnetIp-KnxPointDeviceExt
All KNXnet/IP proxy extension types (K Kn x B o o l e a n P r o x y E x t , K n x N u m e r i c P r o x y E x t , K n x S t r i n g P r o x y E x t
and K n x E n u m P r o x y E x t ) share the same set of configuration properties. Any instance of any of the KNXnet/
IP proxy extension types is a proxy for one or more group address in a KNX installation.
The KNXnet/IP proxy extension types take on the readable-writable personality of the control point they are
attached to. For example, a K n x N u m e r i c P r o x y E x t , when used as an extension on a numeric point has read-
only functionality, but when used on as an extension on a numeric writable it can read and write attribute
values.
Fi gu re 25 Example of proxy extension properties
Group Addresses additional features Defines a list of group addresses from which the value of this
proxy extension can be updated.
The first group address in the list is the primary group address
and cannot be deleted, but can be edited. This proxy exten-
sion directs read and write requests to this address.
The remaining group addresses update the proxy extension
output value. This happens when the driver receives a mes-
sage from any of these addresses.
Data Value Type ID drop-down list (de- Defines the KNX data type for the address. It includes the size
faults to Unknown) of the data value and its function. For example the data item
Poll Once On true or false Forces a poll when the point status changes from disabled to
Operational enabled, down to up, and fault to noFault. If enabled, the re-
sulting poll is independent, and occurs independently of any
other poll setting (for instance, it occurs even if Poll Enable
is false and if the Poll Scheduler rate is zero or disabled.)
To modify this behaviour, configure the Poll Until Answer
Received On Poll Once property.
Poll Until Answer true or false Setting Poll Once On Subscribed orPoll Once On Opera-
After Poll Once tional to true, and this value to true, modifies the poll
once behaviour to poll until the driver receives a valid value in-
stead of polling once and discarding the value. This has the ef-
fect of subscribing the point to the Poll Scheduler until
such time as the point receives data addressed to the first
group address in the list provided the value is a valid value for
this point type. When these conditions are satisfied, the point
is unregistered from the poll scheduler.
Poll After Write true or false Enables and disables a poll for a value after a write. This prop-
erty is independent of the Poll Enable property.
Poll Frequency Fast, Normal, or Selects how often to poll the device. The Poll Scheduler de-
Slow fines these rates.
knxnetIp-TunnelConnection
These properties configure the tunnel connection.
Remote Control read-only (defaults Reports the Port number in the format: 0, 1, ... 65535 .
Hpai, Port to –1 if no
connection)
Data End Point read-only Reports the current state of the data end point: state=
Closed or state=Open. Refer to .
Include In Trace true (default) or Controls if this information is included in the station Spy Log.
(hidden) false
Individual Address read-only Reports the individual address in the format: nn.nn.nn.
Confirmation Time- read-only Confirms when the time out occurred in the format: hh mm ss.
out (hidden)
Comms Counters Tunnel Connection Holds information on the Communications Counters. Refer to
(hidden) Comms Counters knxnetIp-EndPointCommsCounters, page 42.
knxnetIp-TunnelConnectionCommsCounters
These properties provide communications statistics counters for the Tunnel Connection. By default, this is a
hidden folder.
To access these hidden properties, first change the hidden flag for C o m m s C o u n t e r s , then expand C o n -
f i g → D r i v e r s → K n x N e t w o r k → K n x D e v i c e → C o m m s C o n n e c t i o n s → T u n n e l C o n n in the station Nav tree,
right-click C o m m s C o u n t e r s the node, click V i e w s → A X P ro p e r t y S h e e t .
Frames Received read-only Reports the frames received with the wrong source IP address
Wrong Source IP in the format: 0, 1, 2 ... max.
Address
Invalid Frames read-only Reports the invalid frames received in the format: 0, 1, 2 ...
Received max.
Closed Because All read-only Reports the number of times (in the format: 0, 1, 2 ... max)
Clients the transmission closed due to all clients being unregistered.
Unregistered
Closed Because read-only Reports the number of times (in the format: 0, 1, 2 ... max)
Connection State the transmission closed due to a time out.
Response Timeout
Closed Because read-only Reports the number of times (in the format: 0, 1, 2 ... max)
Connections Pro- the transmission closed due to the connections processor
cessor Stopping stopping.
No Confirm Re- read-only Reports the number (in the format: 0, 1, 2 ... max) of no
ceived (hidden) confirmation messages received.
Windows create and edit database records or collect information when accessing a component. You access
them by dragging a component from a palette to a Nav tree node or by clicking a button.
Windows do not support O n V i e w ( F 1 ) and G u i d e o n T a r g e t help. To learn about the information each
contains, search the help system for key words.
You open this window when you double-click on the K n x N e t w o r k node in the station Nav tree and click the
D i s c o v e r button.
Property Value Description
Search network for radio button and Selects the group (installation) of KNX devices on the network
Devices, ‘Knx In- drop-down list to search: Knx Installation (Local Interface...)
stallation to search’
Import Devices drop-down list Selects a location in memory from which to acquire device
from cache/file, Im- information..
port from cache
Import Devices File Chooser Selects a file, usually in the Supervisor PC, from which to ac-
from cache/file, Im- quire device information.
port from file
Im p o rt an E T S p ro jec t f il e
This window defines the ETS project file that contains the data definitions.
Fi gu re 29 Import an ETS project file
You open this window after clicking T o o l s → K N X I m p o r t S e r v i c e by clicking on the I m p o r t e d F i l e s , slot fol-
lowed by clicking the I m p o r t button.
You open this window when you double-click on the K n x N e t w o r k node in the station Nav tree and click the
N e w button.
Property Value Description
Name text Provides descriptive text that reflects the identity of the entity
or logical grouping.
Knx Installation drop-down list (de- Selects the multicast address group to which this device
faults to the cur- belongs.
rent interface,
including none
selected)
Ip Address nnnn.nnnn. Specifies the numerical label assigned to an object, which is
nnnn.nnnn connected to a network that uses the Internet Protocol for
communication.
Control Port –1, 1, 2, ... Identifies the port number on the controller or computer used
Number 65535 (defaults to to connect to the network.
-1)
If using fox streaming, which uses the station to render the vid-
eo stream, this port should be different from the station’s fox
port. If you are not using fox streaming, this port should be
the same as the station’s fox port.
Individual Device nnn.nnn.nnn Defines the unique number that identifies the current device
Address object on the network.
Connection drop-down list (de- Defines how this KNX device routes messages to a KNX
Method faults to router.
Tunnelling)
Mac Address read-only Specifies the data link layer MAC address of the device.
Device Friendly read-only Displays the alternate name for the KNXnet/IP interface
Name device.
Plugins provide views of components and can be accessed in many ways. For example, double-click a
component in the Nav tree to see its default view. In addition, you can right-click on a component and select
from its V i e w s menu.
For summary documentation on any view, select H e l p → O n V i e w (F
F1 ) from the menu or press F 1 while the
view is open.
knxnetIp-KnxDeviceManager
This view lists the KNX devices on the network.
F ig ure 31 KNX Device Manager view
You access this D a t a b a s e view by double-clicking the C o n f i g → D r i v e r s → K n x N e t w o r k node in the Nav tree.
Columns
Column name Description
Connection Method Indicates how this device routes messages to a KNX router.
Control Port Number Reports the port number on the controller or computer used to connect to the network.
Device Friendly Name Displays the alternate name for the KNXnet/IP interface device.
Individual Device Address Reports the unique number that identifies this device on the network.
Knx Installation Reports the multicast address group to which this device belongs.
Mac Address Reports the data link layer MAC address of the device.
Proxy Device If you are using proxy routing, displays the name of another KNX device that acts as the
proxy for this device.
Status Reports the current condition of the entity as of the last refresh: {alarm}, {disabled}, {down},
{fault}, {ok}, {stale}, {unackedAlarm}
Buttons
• N e w F o l d e r creates a new folder for devices. Each such folder provides its own set of manager views.
• N e w creates a new device record in the database.
• E d i t opens the device’s database record for updating.
• D i s c o v e r runs a discover job to locate installed devices, which appear in the D i s c o v e re d pane. This view
has a standard appearance that is similar to all D e v i c e M a n a g e r views.
• C a n c e l ends the current discovery job.
• A d d inserts into the database a record for the discovered and selected object.
• M a t c h associates a discovered device with a record that is already in the database.
• C h e c k D a t a D e f s updates the data definitions in the station.
• T a g I t associates metadata, such as location or unique configuration with the object.
• T e m p l a t e C o n f i g accesses the station template that defines configuration options. You would select a
template to set up the device with pre-configured properties.
ETS The Engineering Tool Software (ETS) is a PC software tool which enables the
design, engineering and configuration of installations based on KNX certified
products. The tool, which is manufacturer independent, enables a system
integrator to combine products from different manufacturers into one solution
ETS project This term describes an entity that consists of a group of KNX devices and the
links between them. It may also contain KNX catalog data. The ETS software
tool manages and maintains these projects.
KNX KNX is a worldwide Standard for control in both commercial and residential
buildings
KNX device KNX devices are KNX system components that are connected together by a
two-wire bus allowing them to exchange data. Sensors and actuators are
examples of typical KNX devices.
KNX installation A KNX installation comprises KNX devices, which are accessible through a
KNX IP device.
KNXnet/IP driver This is the Niagara KNXnet/IP driver that supports the standard KNX network
protocol.
KNXnet/IP routing This term refers to a multicast-based telegram, which allows a KNX IP router to
perform the function of a line or area coupler.
KNXnet/IP Tunnelling This term refers to the primary method of interfacing to a KNX system, which
enables point-to-point communication (unicast) from a single external device to
the KNX system. This is akin to using a USB or serial interface.
OSI The Open Systems Interconnection model (OSI model) is a conceptual model
that standardizes the communications functions of a telecommunication or
computer system without regard to their underlying internal structure and
technology. Its goal is the interoperability of diverse communication systems
with standard protocols.
local interface..................................................23
new KNX device .................................................60
P
platform requirements ..........................................9
plugins ...............................................................63
point manager ....................................................30
points
add.................................................................30
discover ..........................................................30
port ...................................................................13
prerequisites ........................................................9
proxy routing .....................................................11
Q
quick start ..........................................................16
R
Related documentation.........................................6
requirements........................................................8
licensing requirement ........................................9
router device ......................................................11
routing ........................................................... 8, 11
S
software version ...................................................9
specification .........................................................8
station
setting up .......................................................17
T
traffic control......................................................13
troubleshooting..................................................33
tuning policy.......................................................47
tunnel
connection ......................................................14
queue .............................................................14
tunneling............................................................14
V
version .................................................................9
views..................................................................63
W
windows.............................................................59