Siemens NCM S7 Manual De Usuario

Descargar
Página de 255
Programmed Communication Connections
153
SIMATIC NET NCM S7 for Industrial Ethernet
Release 6/2003
C79000–G8976–C129–07
5.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:
S
S7-400: 1,2 through 64
S
S7-300: 1,2 through 16
Identifier for the connection type
Usable Subfields
Table 5-2
 
Subfield
Parameter
ID
Type 
*)
Special Features / Notes
(Please refer also to the general
description in Table 5-7 Page 159)
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 0 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 5.6.
Note
Please read the description of the configurable connection properties for the TCP
connection in Section 4.6!