Communication
10.2 PROFINET
CONF_DATA Data block
The following diagram shows how the configuration data to be transferred is stored in the
configuration DB.
①
②
③
The configuration data of CONF_DB consists of a field that contains a header
(IF_CONF_Header) and several subfields. IF_CONF_Header provides the following
elements:
● field_type_id (data type UInt): Zero
● field_id (data type UInt): Zero
● subfield_cnt (data type UInt): Number of subfields
Each subfield consists of a header (subfield_type_id, subfield_length, subfield_mode) and
the subfield-specific parameters. Each subfield must consist of an even number of bytes.
The subfield_mode supports a value of 1.
Note
Only one field (IF_CONF_Header) is currently allowed. Its parameters field_type_id and
field_id must have the value zero. Other fields with different values for field_type_id and
field_id are subject to future extensions.
In the IF_CONF_Header field, only two subfields, "addr" (IP address) and "nos" (Name of
station) are currently allowed.
Table 10- 20 Subfields supported
subfield_type_id
30
40
544
Configuration DB
Configuration data
Subfield 1
Data type
IF_CONF_V4
IF_CONF_NOS
④
Subfield 2
⑤
Subfield
⑥
Subfield-specific parameters
Explanation
IP parameters: IP address, subnet mask, router address
PROFINET IO device name (Name of station)
n
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG