Siemens SIMATIC S5 Manual page 45

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

Advertisement

2 Engineering
Function
A programmed OUC communication is set up passively by calling the OUC
communication block TCON. In this case, the connection is established actively
from the SIMATIC S5. As soon as the connection is established, the data are
exchanged via the OUC communication blocks TSEND and TRCV.
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-12
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 "startConnID5" 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 500 ms.
Ethernet Communication (ISO on TCP) between SIMATIC S5 and
SIMATIC S7-1500 Controllers
Entry-ID: 109482475,
V1.2,
Symbol
Startup
Main
ConnManagerProgID5
InstConnManagerProgID5
ConnectParamID5
InstTCONID5
InstTDISCONID5
InstTSENDID5
InstTRCVID5
07/2019
Description
Startup OB
Cyclic OB
Management of connection ID 5
Instance DB of FB 4
(+send/receive data area)
Connect parameter ID5
Instance DB TCON ID 5
Instance DB TDISCON ID 5
Instance DB TSEND ID 5
Instance DB TRCV ID 5
45

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1500Cp1543-1Cp1430 tcp

Table of Contents