2 Engineering
Scenario 4a – Communication via parameterized OUC
2.6
(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.
Note
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.
Flow chart
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.
SIMATIC S5 CPU
OB1
FB40
Ethernet Communication (ISO on TCP) between SIMATIC S5 and
SIMATIC S7-1500 Controllers
Entry-ID: 109482475,
V1.2,
1
HTB
SYNCRON
SEND
SEND job trigger
HTB
SEND
3
SEND
Value 1
ALL
Value 2
...
...
...
RECEIVE
2
RECEIVE ready to receive
HTB
RECEIVE
Value 1
Value 2
...
RECEIVE
...
ALL
...
07/2019
CP1430
CP1543-1
Conn.
TCP
establ.
CR
Connection
Connection
configuration
configuration
CC
A_NR
ID 104
TSAP 1
TSAP 1
SEND/RCV
SEND/RCV
...
...
S7-1500 CPU
RECEIVE
TRCV
4
Value 1
Value 2
...
...
SEND
TSEND
Value 1
5
Value 2
...
...
59