Ethernet Communication (ISO on TCP) between SIMATIC S5 and
SIMATIC S7-1500 Controllers
Entry-ID: 109482475, V1.2, 07/2019
© Siemens AG
2019 All rights reserved
2.6 Scenario 4a – Communication via parameterized OUC
(single instructions) and CP1543-1
2.6.1 Mode of operation
Overview
In this scenario, the SIMATIC S7-1500 uses the CP1543-1 to actively establish a
parameterized ISO-on-TCP connection to the SIMATIC S5 via the CP1430 TCP.
The data then are sent and received bidirectionally via the blocks TSEND and
TRCV.
For this connection, the SIMATIC S5 uses the standard handling blocks (HTB)
SYNCHRON/SEND/RECEIVE. In the CP1430 TCP, the ISO-on-TCP connection in
the SIMATIC S5 is configured as a "passive” duplex connection.
This scenario 4a is almost identical to scenario 2a. For this reason, please refer
to the corresponding sections of scenario 2 (chapter 2.3) in case of identical
chapters.
Sequence of the programmed OUC communication between S7 and S5 via single
instructions and CP1543-1
The figure below schematically shows the connection established and the data flow
between SIMATIC S5 and SIMATIC S7-1500 using the programmed SEND and
RECEIVE mechanism via ISO-on-TCP.
Flow chart
OB1
SIMATIC S5 CPU S7-1500 CPU
SEND job trigger
CP1430
TCP
SEND
RECEIVE
Value 1
Value 2
…
…
Value 1
Value 2
…
…
Value 1
Value 2
…
…
…
Value 1
Value 2
…
…
…
FB40
HTB
SEND
HTB
RECEIVE
RECEIVE
ALL
SEND
ALL
CP1543-1
Connection
configuration
Connection
configuration
1
2
3
TRCV
TSEND
Conn.
establ.
CR
CC
HTB
SYNCRON
A_NR
TSAP 1
SEND/RCV
…
ID 104
TSAP 1
SEND/RCV
…
RECEIVE ready to receive
RECEIVE
SEND
4
5