Basic Principles of Serial Data Transmission
2.6 Data Transmission with the ASCII Driver
CP 341 Point-to-Point Communication, Installation and Parameter Assignment
Manual, 09/2008, A5E02191071-01
65
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 accepted by the CPU.
In this case the character delay time must be set such that it is certain to expire between two
consecutive message frames. But it should be so long that the end of the message frame is
falsely identified in the case of a send pause of the link 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
ZLWKFKDUDFWHU
GHOD\WLPH
PRQLWRULQJ
(QWHUPHVVDJHIUDPH
LQUHFHLYHEXIIHU
PD[0)VRU
E\WHV
(QWHUHUURULQ
67$786RXWSXWRI
WKH)%
:DLWLQJIRUFKDUDFWHU
GHOD\WLPH5HFHLYHG
FKDUDFWHUVGLVFDUGHG
(UURUZKHQUHFHLYLQJQRWD
FKDUDFWHUGHOD\WLPHHUURU
0
H
V
V
D
J
HI
UD
P
H
E
X
IIH
UH
G
(Q
GF
UL
WH
UL
R
QI
R
UP
H
V
V
D
J
HI
UD
P
HL
G
H
QW
LI
LH
GH
UU
R
UH
QW
U\
I
R
OOR
Z
V
0HVVDJHIUDPH
FRPSOHWHFKDUDFWHU
GHOD\WLPHH[SLUHG
Figure 2-21 Flow diagram for receiving with end criterion "Expiration of character delay time"
长沙工控帮教育科技有限公司
www.gkbpx.com