Siemens SIMATIC S7 System Manual page 424

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

103BCommunication
10.2 PROFINET
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 (permanent validity of the configuration data)
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- 24 Subfields supported
subfield_type_id
30
40
Table 10- 25 Elements of the IF_CONF_V4 data type
Name
Data type
Id
UInt
len
UInt
mode
UInt
InterfaceAddress
IP_V4
ADDR
Array [1..4] of Byte
ADDR[1]
Byte
ADDR[2]
Byte
ADDR[3]
Byte
ADDR[4]
Byte
SubnetMask
IP_V4
ADDR
Array [1..4] of Byte
ADDR[1]
Byte
ADDR[2]
Byte
ADDR[3]
Byte
ADDR[4]
Byte
424
Data type
IF_CONF_V4
IF_CONF_NOS
Explanation
IP parameters: IP address, subnet mask, router address
PROFINET IO device name (Name of station)
Start value
Description
30
subfield_type_id
18
subfield_length
1
subfield_mode (1: permanent)
-
Interface address
b#16#C8
IP address high byte: 200
b#16#0C
IP address high byte: 12
b#16#01
IP address low byte: 1
b#16#90
IP address low byte: 144
-
Subnet mask
b#16#FF
Subnet mask high byte: 255
b#16#FF
Subnet mask high byte: 255
b#16#FF
Subnet mask low byte: 255
b#16#00
Subnet mask low byte: 0
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents