Subfield Parameter
ID Type Length (byte) Description Special features Use
22 SUB_CON_ESTABL 4 + 1 Type of connection establishment. With
this option, you specify whether the con-
nection is established by this station.
Possible values:
0 = passive
1 = active
mandatory
1) option using passive connection
Parameter Declaration Data type Description
SubBlockID IN WORD ID
SubBlockLen IN WORD Length
TcpIpActive IN INT Connection via MAC or IP address
(MAC=0, IP=1)
LocalResource IN WORD Local resource 0001h ... 00DFh
(1=PG, 2=OP, 0010h ... 00DFh=not specified)
LocalRack IN WORD Number local rack 0000h ... 0002h
LocalSlot IN WORD Number local slot 0002h ... 000Fh
(2=CPU, 4=VIPA-PG/OP, 5=CP int., 6=CP ext.)
RemoteResource IN WORD Remote resource 0001h ... 00DFh
(1=PG, 2=OP, 0010h ... 00DFh=not specified)
RemoteRack IN WORD Number remote rack 0000h ... 0002h
RemoteSlot IN WORD Number remote slot 0002h ... 000Fh
(2=CPU, 4=VIPA-PG/OP, 5=CP int., 6=CP ext.)
The "local TSAP" is created with LocalResource, LocalRack and LocalSlot.
The "remote TSAP" is created with RemoteResource, RemoteRack and RemoteSlot.
The configuration of a dynamic Siemens S7 connection via IP_CONF takes place analog
to the configuration of a fix Siemens S7 connection with Siemens NetPro. Based on Sie-
mens NetPro there are the following parameters corresponding to the following subfields:
Properties - Siemens S7- Connection
Siemens NetPro FB55 - IP_CONFIG
establish an active connection SUB_CON_ESATBL.CON_ESTABL
TCP/IP SUB_S7_C_DETAILS.TcpIpActive
SUB_S/_C_DETAIL
Example for configuring a
Siemens S7 connection
VIPA SPEED7
Network Communication
Ethernet Communication > FB 55 - IP_CONF - Progr. Communication Connections
HB00 | OPL_SP7 | Operation list | en | 18-30 177