Siemens SIMATIC S5 Manual page 35

Ethernet communication (iso on tcp) between controllers
Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

2 Engineering
The data are sent and received bidirectionally via the OUC blocks TSEND and
TRCV. The data are sent every 0.5 seconds (via clock memory bit). To detect the
ongoing data communication in the S7-1500, a count value is received by the
SIMATIC S5, mirrored and sent back. For visualization, the received count value is
transferred to the output area AB0.
Description of the blocks
Block
OB 100
OB 1
FB 4
DB 19
DB 16
DB 17
OB 100 (startup OB)
After having restarted the S7-1500 CPU, a start identifier is set for automatically
establishing a connection to the SIMATIC S5.
OB 1 (cyclic OB)
Via the enable input "E 0.1" (abortReq), the OB1 calls FB 4 which manages the
OUC communication.
FB 4 (TSEND/TRCV management)
In FB4, the data are received by the SIMATIC S5 via the cyclically processed OUC
block TRCV. To visualize the ongoing communication, a count value is copied to
an output area (AB 0) of the S7-1500.
The count value received by the SIMATIC S5 is located in the instance data block
of FB4 in the static tag "statRcvData" and is copied to the send area of the instance
data block "statSendData" for sending. Via a send enable "E0.1" (abortReq), these
data are mirrored and sent back to the SIMATIC S5 every 500 ms.
In addition, the received data are checked.
The data are cyclically checked for a deletion identifier ("A1A1") being
-
available. In case of a match, the count value is reset.
-
The ongoing communication of the OUC communication is visualized via the
output area of the S7-1500.
Ethernet Communication (ISO on TCP) between SIMATIC S5 and
SIMATIC S7-1500 Controllers
Entry-ID: 109482475,
V1.2,
Symbol
Startup
Main
ConnManagerParamID105
InstConnManagerParamID105
InstTSENDParamID105
InstTRCVParamID105
07/2019
Description
Startup OB
Cyclic OB
Management of connection ID
105
Instance DB of FB 4
(send/receive data area)
Instance DB TSEND ID 105
Instance DB TRCV ID 105
35

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1500Cp1543-1Cp1430 tcp

Table of Contents