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.2.3 Communication program SIMATIC S5
Overview
The following blocks contain the communication program of the S5-CPU. In this
scenario, the S5 takes over the active part of the communication.
OB 1
Main
OB 21
Startup
FB40
HTB
SEND_ALL
HTB
RECV_ALL
COM_FETCH
_DB
COM_WRITE
_DB
DB 70
FET_WRI
User
blocks
Handling
blocks
Data blocks
OB 22
Startup
HTB
SYNCHRON
FB 99
Takt
HTB FETCH
HTB SEND
Function
Via an active WRITE connection, a count value is sent cyclically from the SIMATIC
S5 to the S7-1500 every second and then is requested again by the S7-1500 via a
FETCH connection.
Description of the blocks
The following blocks contain the communication program of the S5-CPU.
Table 2-7
Startup OB (restart/warm start)
Startup OB (network/cold start)
User program for FETCH/WRITE function
Time-triggered call of the FETCH and WRITE
functions via S5 handling blocks (HTBs)
Handling block SEND (-All A-NR:= 0)
Handling block RECEIVE (-All A-NR:= 0)