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.7.3 Communication program SIMATIC S5
Overview
The following blocks contain the communication program of the S5-CPU. In this
scenario, the S5 sends and receives data via an active ISO-on-TCP connection.
The connection is established from the SIMATIC S5.
OB 1
Main
OB 21
Startup
FB31
HTB
SEND_ALL
HTB
RECV_ALL
SEND_DB
RECV_DB
User
blocks
Handling
blocks
Data blocks
OB 22
Startup
HTB
SYNCHRON
HTB SEND
HTB RECV
Function
Via the connection actively established by the SIMATIC S5, data are sent
bidirectionally with a count value to the S7-1500 every second. From there, this
count value is mirrored and sent back. After the data have been received, this
count value is increased by +1 and sent again.
In case of the SIMATIC S5 CPU being restarted, a deletion identifier is sent to the
S7-1500 and the count value is reset.
Description of the blocks
The following blocks contain the communication program of the S5-CPU.
Table 2-21
Startup OB (restart/warm start)
Startup OB (network/cold start)
User program call of FB 33 and of the HTBs
SEND/RECEIVE ALL