Basic Principles of Serial Data Transmission
2.5 Data transfer using the ASCII driver
PtP coupling and configuration of CP 340
52
Manual, 04/2011, A5E00369892-03
End Criterion "Expiration of Character Delay Time"
When data is received, the end of the message frame is recognized when the character
delay time expires. The received data is taken over by the CPU with the function block
P_RCV.
In this case the character delay time must be set such that it easily expires between two
consecutive message frames. But it should be long enough so that the end of the message
frame is not falsely identified whenever the partner in the link takes a send pause within a
message frame.
The figure below illustrates a receive operation with the end criterion "Expiration of character
delay time".
:DLWLQJIRU
FKDUDFWHU
&KDUDFWHU
DUULYHG
&KDUDFWHUUHFHLYHG
ZLWKFKDUDFWHUGHOD\
WLPHPRQLWRULQJ
0HVVDJHIUDPH
HQWHUHGLQUHFHLYH
EXIIHU
(UURUHQWHUHGLQ
UHFHLYHEXIIHU
:DLWLQJIRUFKDUDFWHU
GHOD\WLPH5HFHLYHG
FKDUDFWHUVGLVFDUGHG
(UURUZKHQUHFHLYLQJ
QRWDFKDUDFWHUGHOD\
WLPHHUURU
0HVVDJHIUDPH
FRPSOHWH
FKDUDFWHUGHOD\
WLPHH[SLUHG
0
H
V
V
D
J
HI
UD
P
HE
X
II
H
UH
G
(Q
GF
UL
WH
UL
R
QI
R
UP
H
V
V
D
J
HI
UD
P
HL
G
H
Q
WL
IL
H
GH
UU
R
UH
Q
WU
\I
R
OOR
Z
V
Figure 2-15 Sequence of Receive Operation with End Criterion "Expiration of Character Delay Time"
Содержание SIMATIC CP 340
Страница 6: ...Preface PtP coupling and configuration of CP 340 6 Manual 04 2011 A5E00369892 03 ...
Страница 10: ...Table of contents PtP coupling and configuration of CP 340 10 Manual 04 2011 A5E00369892 03 ...
Страница 186: ...Accessories and Order Numbers PtP coupling and configuration of CP 340 186 Manual 04 2011 A5E00369892 03 ...
Страница 190: ...Literature on SIMATIC S7 PtP coupling and configuration of CP 340 190 Manual 04 2011 A5E00369892 03 ...
Страница 200: ...Index PtP coupling and configuration of CP 340 200 Manual 04 2011 A5E00369892 03 ...