EasyManuals Logo

Siemens CP1430 TCP User Manual

Siemens CP1430 TCP
107 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #45 background imageLoading...
Page #45 background image
2 Engineering
Ethernet Communication (ISO on TCP) between SIMATIC S5 and
SIMATIC S7-1500 Controllers
Entry-ID: 109482475, V1.2, 07/2019
45
© Siemens AG
2019 All rights reserved
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
Symbol
Description
OB 100
Startup
Startup OB
OB 1
Main
Cyclic OB
FB 5
ConnManagerProgID5
Management of connection ID 5
DB 29
InstConnManagerProgID5
Instance DB of FB 4
(+send/receive data area)
DB 25
ConnectParamID5
Connect parameter ID5
DB 24
InstTCONID5
Instance DB TCON ID 5
DB 28
InstTDISCONID5
Instance DB TDISCON ID 5
DB 26
InstTSENDID5
Instance DB TSEND ID 5
DB 27
InstTRCVID5
Instance DB TRCV ID 5
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.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens CP1430 TCP and is the answer not in the manual?

Siemens CP1430 TCP Specifications

General IconGeneral
BrandSiemens
ModelCP1430 TCP
CategoryController
LanguageEnglish

Related product manuals