Scenario 3 - Communication Via Programmed Ouc (Compact Instruction) And Cp1543-1 Interface; Mode Of Operation - Siemens SIMATIC S5 Manual

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

Advertisement

2 Engineering
Scenario 3 – Communication via programmed OUC
2.5
(compact instruction) and CP1543-1 interface
2.5.1

Mode of operation

Overview
This scenario presents a variant of the OUC communication, in which the S7-1500
CPU uses the compact OUC block "TRCV_C" to receive data from the SIMATIC
S5.
Via the CP1543-1, the SIMATIC S7-1500 CPU actively establishes an ISO-on-
TCP connection to the SIMATIC S5 using the CP1430 TCP. The data are sent to
the SIMATIC S5 via the standard OUC block TSEND.
For this connection, the SIMATIC S5 uses the standard handling blocks
SYNCHRON/SEND/RECEIVE. In the CP1430 TCP, the ISO-on-TCP connection in
the SIMATIC S5 is configured as a "passive" duplex connection.
Flow chart
Sequence of the programmed OUC communication between S7 and S5 via compact
instructions
The figure below schematically shows the connection established and the data flow
between SIMATIC S5 and SIMATIC S7-1500 using the programmed SEND and
RECEIVE mechanism via ISO-on-TCP.
SIMATIC S5 CPU
OB1
FB40
Ethernet Communication (ISO on TCP) between SIMATIC S5 and
SIMATIC S7-1500 Controllers
Entry-ID: 109482475,
V1.2,
HTB
SYNCRON
SEND
1
SEND job trigger
HTB
SEND
2
SEND
Value 1
Value 2
ALL
...
...
...
RECEIVE
RECEIVE ready to receive
HTB
RECEIVE
3
Value 1
Value 2
...
RECEIVE
...
ALL
...
07/2019
CP1430
CP1543-1
Conn.
TCP
establ.
Connection
CR
Connection
configuration
CC
A_NR
TSAP 1
SEND/RCV
...
Data
Acknowledgment
Acknowledgment
SIMATIC S7-1500 CPU
OB1
RECEIVE
structure of
TRCV_C
connection
Value 1
ID 7
Value 2
TSAP 1
...
SEND/RC
...
V
...
...
...
SEND
TSEND
Value 1
Value 2
...
...
...
...
51

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1500Cp1543-1Cp1430 tcp

Table of Contents