Connection Configuration In The S7-1500 Cpu - Siemens SIMATIC S5 Manual

Ethernet communication (iso on tcp) between controllers
Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

2 Engineering
2.4.4

Connection configuration in the S7-1500 CPU

Prerequisite
All network-side settings of the S7-1500 CPU and of the CP1543-1 used in TIA
Portal are structured identically for all scenarios.
For the corresponding configuration steps, proceed as described in chapter
steps 1 and 2 of scenario 1 and complete the configuration following the steps
described in the next section.
Configuration
In this scenario 2b, all required connection parameters of an ISO-on-TCP
connection are pre-assigned and set up via the user program.
The CONNECT parameter of the OUC block TCON is used to configure the
predefined structure (TCON_IP_RFC) of an ISO-on-TCP connection as follows.
3. Create a data block and add a tag of data type "TCON_IP_RFC". The default
settings for scenario 2b have to be parameterized as follows.
Enter die module address of the S7-1500 CPU (in this case: 64) for the
"InterfaceId" tag (1).
Enter the connection number (in this case: 5) for the "ID" tag (2).
The value "16#0C" of the "ConnectionType" tag (3) defines the connection
type "ISO-on-TCP".
Enter the value "false" for the "ActiveEstablished" tag (4) to define the
passive connection establishment of the S7-1500.
Enter the IP address of the partner (in this case: of the CP1430 TCP) in the
"RemoteAddress" field (5).
Enter the remote TSAP (in this case: 43 50 31 35 34 33 2D 31 (hex)
"CPU_150b" (ASC)) and the local TSAP (in this case: 43 50 55 5F 31 35
30 62 (hex) "CPU_150b" (ASC)) in the fields "RemoteTSelector" (6) and
"LocalTSelector" (7), respectively.
2
4
5
Ethernet Communication (ISO on TCP) between SIMATIC S5 and
SIMATIC S7-1500 Controllers
Entry-ID: 109482475,
V1.2,
07/2019
1
3
2.2.4
48

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1500Cp1543-1Cp1430 tcp

Table of Contents