
Basic Principles of Serial Data Transmission
2-30
Point-to-point connection CP 440 Installation and Parameter Assignment
A5E00057742-02
Handling Errored Data
The figure below illustrates how errored data is handled with the 3964(R)
procedure.
Connection
cleardown
User
data
Connection
setup
Receiving data
STX
DLE
1st byte
nth byte
DLE
ETX
BCC
NAK
CP 440
Communication
partner
Start code (02H)
Pos. acknowledgment (10H)
1st data byte
nth data byte
End code (10H)
End code (03H)
3964(R) only
Neg. acknowledgment (15H)
T
New setup attempt
Figure 2-15
Data Traffic When Receiving Errored Data
When DLE, ETX and BCC are received, the CP 440 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 440 responds with DLE.
Otherwise, the CP 440 responds with NAK and waits the block wait time (T) of
4 seconds for a new attempt. If, after the parameterized number of transmission
attempts, the block cannot be received, or if no further attempt is made within the
block wait time, the CP 440 aborts the receive operation.