EasyManua.ls Logo

Siemens SIMATIC CP 340 - Handling Errored Data

Siemens SIMATIC CP 340
200 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
Loading...
Basic Principles of Serial Data Transmission
2.4 Data Transmission with the 3964(R) Procedure
PtP coupling and configuration of CP 340
Manual, 04/2011, A5E00369892-03
43
2.4.5 Handling Errored Data
Handling errored data
The figure below illustrates how errored data is handled with the 3964(R) procedure.
&3
67;
'/(
'/(
(7;
%&&
1$.
ထ

ထ
ထ
7
&RPPXQLFDWLRQ
SDUWQHU
VWE\WH
VWGDWDE\WH
QWKE\WH
QWKGDWDE\WH
6WDUWFRGH+
3RVDFNQRZOHGJPHQW+
(QGFRGH+
(QGFRGH+
5RQO\
3RVDFNQRZOHGJPHQW+
&RQQHFWLRQ
VHWXS
8VHUGDWD
&RQQHFWLRQ
UHOHDVH
5HFHLYLQJGDWD
1HZVHWXSDWWHPSW
Figure 2-11 Data traffic when receiving errored data
When DLE, ETX, BCC is received, the CP 340 compares the BCC of the communication
partner with its own internally calculated value. If the BCC is correct and no other receive
errors occur, the CP 340 responds with DLE.
Otherwise, it responds with an NAK and waits the block wait time (T) of 4 seconds for a new
attempt. If after the defined number of transmission attempts the block cannot be received,
or if no further attempt is made within the block wait time, the CP 340 aborts the receive
operation.

Table of Contents

Other manuals for Siemens SIMATIC CP 340

Related product manuals