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 #53 background imageLoading...
Page #53 background image
2 Engineering
Ethernet Communication (ISO on TCP) between SIMATIC S5 and
SIMATIC S7-1500 Controllers
Entry-ID: 109482475, V1.2, 07/2019
53
© Siemens AG
2019 All rights reserved
Via the connection, data are sent bidirectionally with a count value from the
SIMATIC S5 to the S7-1500 every second. From there, this count value is mirrored
and sent back. After the data have been received, this count value is increased by
+1 and sent again.
Note
The mixed variant of the OUC blocks TRCV_C (compact instruction) and TSEND
(single instruction) used in this example scenario is recommended, if only one
connection ID shall be used for sending and receiving the data.
Further details and information concerning this mixed operation are given in the
following entry (109479564).
Description of the blocks
Block
Symbol
Description
OB 100
Startup
Startup OB
OB 1
Main
Cyclic OB
F B7
ConnManagerProgID7
Management TRCV_C ID 7
DB 35
InstConnManagerProgID7
Instance DB of FB 4
DB 25
ConnectParamID7
Connect parameter ID 7
DB 3
InstTRCV_CID7
Instance DB TRCV ID 7
DB 4
InstTSENDID7
Instance DB TSEND ID7
DB 100
ParaDbID7_TSEND
Parameter DB TSEND
DB 200
ParaDbID7_TRCV_C
Parameter DB TRCV
DB 110
DataTSEND
Send data area
DB 210
DataTRCV_C
Receive data area
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 7 which manages the
OUC communication.
FB 7 (TSEND/TRCV_C management)
In FB7, the data are received by the SIMATIC S5 via the cyclically processed OUC
block TRCV_C. 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 written into DB210 "DataTRCV_C”
and copied into DB110 (DataTSEND) to be sent again. Via a send enable "E0.1”
(abortReq), 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