Siemens SIMATIC S5 Manual page 69

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

Advertisement

2 Engineering
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
Table 2-20
Block
OB 100
OB 1
FB 5
DB 29
DB 25
DB 24
DB 28
DB 26
DB 27
OB 100 (startup OB)
After having restarted the S7-1500 CPU, the connect enable bit "statConnID4" is
reset. It has the effect that a passively programmed connection is set up in the
cyclic program.
OB 1 (cyclic OB)
Via the enable input "E 0.2" (abortReq), the OB1 calls FB 5 which manages the
OUC communication.
FB 5 (TSEND/TRCV management)
In FB 5, it is checked via the connect enable bit whether the CPU is restarted. If
this is the case, the passive ISO-on-TCP connection is set up via the OUC block
TCON.
If the connection has been established successfully, the data are received by the
SIMATIC S5 via the cyclically called OUC communication 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 FB5 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", these data are mirrored and sent back to the SIMATIC
S5 every of 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
ConnManagerProgID4
InstConnManagerProgID4
ConnectParamID4
InstTCONID4
InstTDISCONID4
InstTSENDID4
InstTRCVID4
07/2019
Description
Startup OB
Cyclic OB
Management of connection ID 4
Instance DB of FB 4
(+send/receive data area)
Connect parameter ID4
Instance DB TCON ID 4
Instance DB TDISCON ID 4
Instance DB TSEND ID 4
Instance DB TRCV ID 4
69

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1500Cp1543-1Cp1430 tcp

Table of Contents