Ethernet Communication (ISO on TCP) between SIMATIC S5 and
SIMATIC S7-1500 Controllers
Entry-ID: 109482475, V1.2, 07/2019
© Siemens AG
2019 All rights reserved
Function
The OUC block TSEND_C is used to actively establish a connection via the
integrated PNIO interface of the CPU by calling the FB 6
(ConnManagerParamID6). As soon as the connection is established, the data are
exchanged via the communication blocks TSEND_C and TRCV.
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.
The mixed variant of the OUC blocks TSEND_C (compact instruction) and TRCV
(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).