Pnetd1.Txt" Gateway File - Siemens S7 Series Communication Instruction Manual

Communication via knx gateway
Table of Contents

Advertisement

4 Configuration and Project Engineering

"pnetd1.txt" gateway file

4.4.5
The data points of the PROFINET protocol and their properties are defined in the
"pnetd1.txt" configuration file.
Table 4-7: Structure of the "pnetd1.txt" gateway file
No.
1.
The addresses of the PROFINET data points
have the following structure:
[<def> <type> <byte>.<bit>]
name = <name>
format = <format>
<def>: For the definition of data points, see
Table 3-1: Definition of the data point types
<type>:
inbyte: Byte value that can be read by the
controller
inbit: Single bit that can be read by the
controller
outbyte: Byte value that can be written by
the controller
outbit: Single bit that can be written by the
controller
<byte>: 0..339 ( nth byte in the input/output
register)
<bit>: 0..7 (single bit within the nth byte)
<name>: Optional; you can specify plain text
for the data point.
<format>: Protocol-dependent properties of
the data point such as the data point for
interpreting the information stored at the
address.
If necessary, more parameters can be added
to the format, for example a poll rate (P:x):
format = <format> [F:<fact>]
[P:<poll>][U:<upd>] [I:<opt>]
[L:<loc>] [H:<prio>] [R:<addr>]
[D:<dly>]
For more driver-specific information such as
type, address, formats and other parameters,
please refer to the online documentation
provided by MBS at the following link or the
"pnetd1.txt" file:
http://wiki.mbs-
software.info/doku.php?id=profinet_io-device
Communication with S7 CPU via KNX Gateway
Entry ID: 109739689,
V1.0,
Description
06/2017
Comment
#---------------------------------
# STATUS
#---------------------------------
[M failure]
name = profinet communication
state 0=ok / 1=fail
format = BIT
#---------------------------------
# INPUT BUFFER (max 340 bytes)
#---------------------------------
[S inbyte 0]
name
= KNX-->S7 16-bit dec
format
= SINT16
[S inbit 2.0]
name
= KNX-->S7 1-bit
format
= BIT
[Y inbyte 3]
name
= KNX-->S7 temperature
format
= FLOAT32
#---------------------------------
# OUTPUT BUFFER (max 340 bytes)
#---------------------------------
[M outbyte 0]
name
= S7-->KNX 16-bit dec
format
= SINT16
[M outbit 2.0]
name
= S7-->KNX 1-bit
format
= BIT
22

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S7-1200S7-1500

Table of Contents