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 #37 background imageLoading...
Page #37 background image
2 Engineering
Ethernet Communication (ISO on TCP) between SIMATIC S5 and
SIMATIC S7-1500 Controllers
Entry-ID: 109482475, V1.2, 07/2019
37
© Siemens AG
2019 All rights reserved
Block
Symbol
Description
FB 245
HTB_RECEIVE
Handling block RECEIVE-All (A-NR:= 0)
FB 249
HTB_SYNCHRON
Handling block SYNCHRON
DB 90
-
Data area for sending
DB 95
-
Data area for receiving
OB21/OB22 (STARTUP OBs)
The following functions are executed in the startup of the SIMATIC S5-CPU:
The set interface (interface no. = 0) of the CP1430 TCP is initialized and
synchronized via the handling block "HTB_Synchron” (FB 249).
An internal startup bit (M 184.5) resets the initial count value.
OB1 (cyclic OB)
The following functions are processed in the cyclic OB1 of the SIMATIC S5-CPU:
This example scenario 2a is started by setting an enable bit (M 130.3).
Call of the user communication block ID105_S7 (FB 33) which uses a time
trigger to call the send and receive functions via S5 handling blocks (HTBs)
and increments the count values in the data area.
Call of the handling blocks SEND ALL and RECEIVE ALL for data transfer to
the CP1430 TCP.
FB33 (ID105_S7)
The function block FB 33 contains the time-triggered call of the send and receive
functions in which a simple simulation program demonstrates the exchange of
data.
A restart of the communication is initiated via the startup bit M 184.5
(OB21/22).
Every second (clock memory bit), a count value (in DB90) is sent to the S7-
1500 CPU via the ISO-on-TCP connection.
After the data have been received, this count value is checked in the S7-1500,
incremented by +1 and sent back to the SIMATIC S5 at the next send trigger of
the S7-1500. The data received by the SIMATIC S5 are transferred to DB95.
A simple error analysis regarding the connection status is done by storing the
indicator words and parameter error bytes.
HTB_SEND block: ANZW: MW90 PAFE: MB94
HTB_RECEIVE block: ANZW: MW95 PAFE: MB99

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