103BCommunication
10.2 PROFINET
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
425
Name
Data type
Start value
Description
DefaultRouter
IP_V4
ADDR
Array [1..4] of Byte
-
Default router
ADDR[1]
Byte
b#16#C8
Router high byte: 200
ADDR[2]
Byte
b#16#0C
Router high byte: 12
ADDR[3]
Byte
b#16#01
Router low byte: 1
ADDR[4]
Byte
b#16#01
Router low byte: 1
Table 10- 26 Elements of the IF_CONF_NOS data type
Name
Data type
Start value
Description
id
UInt
40
subfield_type_id
len
UInt
246
subfield_length
mode
UInt
1
subfield_mode (1: permanent)
Nos (Name of
station)
Array[1..240]
of Byte
0
Station name: You must occupy the ARRAY from the first byte. If
the ARRAY is longer than the station name to be assigned, you
must enter a zero byte after the actual station name (in
conformity with IEC 61158-6-10). Otherwise, nos is rejected and
the "T_CONFIG (Page 421)" instruction enters the error code
DW#16#C0809400 in STATUS. If you occupy the first byte with
zero, the station name is deleted.
The station name is subject to the following limitations:
●
Restricted to a total of 240 characters (lower case letters, numbers, dash, or dot)
●
A name component within the station name, i.e., a character string between two dots,
must not exceed 63 characters.
●
No special characters such as umlauts, brackets, underscore, slash, blank space, etc.
The only special character permitted is the dash.
●
The station name must not begin or end with the "-" character.
●
The station name must not begin with a number.
●
The station name form n.n.n.n (n = 0, ... 999) is not permitted.
●
The station name must not begin with the string "port-xyz" or "port-xyz-abcde" (a, b, c, d,
e, x, y, z = 0, ... 9).
Note
You can also create an ARRAY "nos" that is shorter then 240 bytes, but not less than 2
bytes. In this case, you must adjust the "len" (length of subfield) tag accordingly.