6 Programmed Communication Connections
A-171
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07
6.5.1 Parameter Field for TCP Connection
Structure
Subfield 1
Subfield n
Subfield 2
ID = connection ID
Type = 1
No_of_subfields = n
Freely assignable connection reference;
must be specified in AG_SEND / AG_RECV.
Range of values for the connection ID:
S7-400: 1,2 through 64
S7-300: 1,2 through 16
Identifier for the connection type
Usable Subfields
Table 6-5
Subfield
Parameter
ID Type
*)
Special Features / Notes
(Please refer also to the general
description in Table 6-10 Page A-177)
Use
(mandatory /
optional)
1 SUB_IP_V4 IP address of the partner m
**)
9 SUB_LOC_PORT - m
10 SUB_REM_PORT - m
**)
18 SUB_CONNECT_NAME - o
19 SUB_LOC_MODE - o
21 SUB_KBUS_ADR This value is always set to 2 for CPs for the
S7-300 and does not need to be specified.
m (for S7-400)
22 SUB_CON_ESTABL - m
*) The general properties of the subfield types are described below in Section 6.6.
**) Option using passive connection
Note
Please read the description of the configurable connection properties for the TCP
connection in Section 5.6!