EasyManuals Logo

Siemens S7 Series User Manual

Siemens S7 Series
36 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #22 background imageLoading...
Page #22 background image
4 Configuration and Project Engineering
Communication with S7 CPU via KNX Gateway
Entry ID: 109739689, V1.0, 06/2017
22
Siemens AG 2017 All rights reserved
4.4.5 “pnetd1.txt” gateway file
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.
Description
Comment
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
#---------------------------------
# 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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens S7 Series and is the answer not in the manual?

Siemens S7 Series Specifications

General IconGeneral
CPUVaries by model (e.g., S7-300, S7-400, S7-1200, S7-1500)
MemoryVaries by model (e.g., 64 KB to 20 MB)
Communication InterfacesPROFINET, PROFIBUS, Ethernet, MPI
I/O ModulesDigital Input (DI), Digital Output (DO), Analog Input (AI), Analog Output (AO)
ProgrammingSTEP 7 (TIA Portal) programming software. Supports various programming languages and provides tools for configuration, diagnostics, and commissioning.
Power Supply24 V DC, 120/230 V AC. Integrated or external power supply, depending on the CPU and system configuration.
Operating TemperatureTypically 0 to 60 °C (horizontal mounting), -20 to 60°C (vertical mounting), depending on the specific module.
Product Type DesignationS7-300, S7-400, S7-1200, S7-1500
Programming LanguagesLAD, FBD, STL, SCL, GRAPH
Digital InputsVaries by module (e.g., 8, 16, 32 channels)
Digital OutputsVaries by module (e.g., 8, 16, 32 channels)
Analog InputsVaries by module (e.g., 2, 4, 8 channels)
Analog OutputsVaries by module (e.g., 2, 4, 8 channels)
Operating Voltage24V DC or 120/230V AC (varies by model)
CPU Processing SpeedVaries by model (e.g., 0.1 ms to 5 ns per instruction)
Real-time ClockIntegrated (varies by model)
Mounting TypeDIN rail mounting.
Protection ClassIP20

Related product manuals