Our KNX interface uses KNXnet/IP tunneling to communicate to the KNX network. Therefore, any standard conform KNXnet/IP router or interface can be used.
KNXnet/IP routers and interfaces must not be monitored by the NETx Server! During the monitoring process, our server opens a KNX management connection (for more details see this article). Some KNXnet/IP routers and interfaces will reboot and close all tunneling connections after closing a KNX management connection. Therefore, unwanted disconnects of the KNXnet/IP connection will occur.
Please use the GATEWAY item to monitor the state of a KNXnet/IP router or interface instead.
Within the Item Tree of the server, the GAETEWAY item indicates the connection state to a KNXnet/IP router or interface. If it is true, the connection is working – if it is false there is a communication problem. The following figure shows an example where the connection to a KNXnet/IP router is successfully established.
In addition, the Status item provides an error code if the connection is not working:
|1000||Network problem. The server is not able to establish an IP connection to router or interface. Please check your firewall, network and all network switches and routers.|
|33||The KNXnet/IP router or interface cannot find an active data connection with the specified ID. This may indicate that the KNXnet/IP router or interface made a restart and lost the connection IDs. Possible reason for a restart may be too much traffic at the KNX bus, a hardware failure or problems with the power supply.|
|34||The requested connection type is not supported by the KNXnet/IP router or interface.|
|35||One or more requested connection options are not supported by the KNXnet/IP router or interface.|
|36||No KNXnet/IP tunneling connection is available. A KNXnet/IP router or interface only supports a limited amount of simultaneous connections. Old devices only one – newer devices (like our NETx KNX IP Router and Interface) up to 5. Please check whether other client (e.g. ETS) is also connected to the router or interface.|
|37||No free KNX individual address available for the tunneling connection. Please check your ETS project whether all available tunneling connections are assigned to a KNX individual address. For older KNXnet/IP routers or interfaces, additional addresses may be activated by pressing the programming button for at least 5 seconds. Please check the datasheet of your device.|
|38||The KNXnet/IP router or interface detects an error concerning the data connection with the specified ID.|
|39||The KNX connection to the router or interface is not working. Please check the twisted pair side of your router or interface.|
If the status is 1000, there is a network problem. To further analyze the problem, check your firewall, network and all network switches and routers. KNXnet/IP tunneling uses UDP/IP for communication, the default UDP port is 3671. Please ensure that a UDP communication with port 3671 is possible between the server and the KNXnet/IP router or interface.
For analyzing the network, please do not use the "ping" command. ping uses the ICMP protocol. This means that even a ping is successful it does not indicate that a UDP/IP connection is possible. Even more each standard network device will reply to ping requests – even if it is not a KNXnet/IP router or interface.
For a meaningful analyzes you can use the following tools:
The nxaKNXnetIPTestTool.exe Tool is located within the following directory: <installation directory>\Tools\KNXnetIP
Usage: KNXnetIP <Dst IP Address> [Src IP Address]
To use the tool, open a Windows "cmd" shell and change to the directory mentioned above. Then invoke the command with the IP address of the KNXnet/IP router or interface as parameter that you would like to test. The second parameter is the local IP address which is optional.
To check the router if the IP address 192.168.1.36, the following command has to be entered:
Within the output of the command, the raw KNXnet/IP packets are shown. In addition, it is shown whether the connection was successful – if not the error code is shown too.
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.