Communication with S7 CPU via KNX Gateway
Entry ID: 109739689, V1.0, 06/2017
Siemens AG 2017 All rights reserved
3.3 Correlation of the gateway configuration files
The gateway is configured using various configuration files (cfg, txt files). Once
programming is complete, these files are uploaded in a text editor (for example,
Notepad++) using the integrated web server in the gateway or directly edited and
enabled in the integrated web server. A configuration check is performed in the
gateway and any errors are displayed.
As the gateway supports different bus systems (PROFINET, KNX, BACnet…),
there are different driver files with protocol information (files with the .cfg extension)
and a file with the definition of the data points (.txt extension).
The dispatch file (dispatch.txt) is an integral part. It contains the mapping of the
data points of the different protocols to each other.
The data points are programmed as objects. For the exact meaning and structure
of these files, please refer to the gateway manual (\3\). The gateway data backup
cfg and txt files also contain this information as comment lines.
For the complete configuration, please refer to the supplied “ugwbackup.tgz”
gateway data backup in the “ugw > config” folder and the included comments
(109740160_KNX_Gateway_RestoreFile_Vxx.zip).
Figure 3-3: Gateway configuration files
pnetd1.cfg
PROFINET
pnetd1.txt
dispatch.txt
eib1.cfg
KNX
Protocol
information
Definition of
data points
Definition of
data points
Protocol
information
Assignment between
data points
eib1.txt
Table 3-2: Gateway configuration files
PROFINET protocol
information
This file contains information and settings
for the PROFINET network, including the
I/O used in the network.
Here: I/O configuration of the gateway in
STEP 7 (TIA Portal)
Definition of the
PROFINET data points
Defines how and with which data type the
data points are interpreted.
Assignment between
KNX data points and
PROFINET data points
This file describes the assignment of the
data points between the PROFINET side
(pnetd1.txt) and the KNX side (eib1.txt).
Defines the KNX data
points
This file contains the description of the
individual data points on the KNX side.
This file contains information and settings
for the KNX protocol.