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
Startup of the SIMATIC S5 and synchronization with the CP1430 TCP.
The cyclic processing of the HTB RECEIVE block in the S5-CPU ensures readiness
to receive between the CPU and the CP1430 TCP. The data are transferred from
the CP1430 TCP to the data block of the SIMATIC S5-CPU via the RECEIVE ALL
handling block.
The SIMATIC S5 transfers the SEND job to the CP1430 TCP via HTB SEND. The
data are transferred from the SIMATIC S5-CPU (data block) to the CP1430 TCP via
the SEND ALL handling block.
The connection is established and the received data are transferred to the S7-1500
CPU via the cyclic processing of the OUC block TRCV_C. If the connection has
been established successfully, the cyclic processing of the TRCV-C ensures that
data can be received. If data are received, this is shown by a positive
acknowledgment and signaled at block parameter NDR. Otherwise, a negative
acknowledgment will be sent for the job.
A SEND job is sent from the S7-1500 CPU to the SIMATIC S5 via the OUC block
TSEND. In this scenario, the block sends a job to the SIMATIC S5 CP1430 TCP
every second. In the S5-CPU, the data are transferred via the standard HTBs
RECEIVE and RECEIVE ALL.
2.5.2 Communication program in the SIMATIC S7-1500
Overview
The following blocks contain the communication program in the S7-1500 CPU.
OB 1
Main
OB 100
Startup
RecvData
SendData
FB 7
ConnManager
ParamID7
User
blocks
TSEND
TDISCON
TRCV_C
OUC system
blocks
Function
The OUC block TRCV_C is used to actively establish a connection via a CP1543-
1 by calling the FB7 (ConnManagerParamID7). As soon as the connection is
established, the data are exchanged via the communication blocks TSEND and
TRCV_C.