Plus RS-232 Manuel d'utilisateur Page 54

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 235
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 53
Asynchronous Link Protocols
Chapter 4
4-11
If the timeout expires before a response is received, the transmitter sends
a DLE ENQ on Path 1 to request a retransmission of the last response sent
on Path 2. It restarts the timeout and waits for a response.
This too can be repeated several times, and there is a user-defined limit on
the number of timeouts that are allowed per message. If the enquiry limit
is exceeded, the message source will be signaled that the transmission has
failed, and the transmitter proceeds to the next message.
Since there are only two response codes defined, there are no invalid
response codes. If the separator returns an invalid response code, the
transmitter will ignore it. A more precise and detailed description of the
actions of the transmitter appears in Table 4.A in structured English
procedures. Figure 4.7 is a flowchart of the software logic for
implementing the transmitter.
Figure 4.7
Software
Logic for Implementing T
ransmitter
DLE STX Data DLE ETX BCC
Message Packet
T
Retransmit Same Message
T
imeout Loop
Received
Yes
T
No
Received
Yes
3*
No
Yes
P
Yes
3*
No
DLE ENQ
No
Timed Out
No
11322
T
P = Recovery Procedure
= Ready to Transmit
* Default Values Used
Legend:
Yes
DLE ACK
?
DLE NAK
?
?
NAKs
Received for this
Message
?
Timeouts
for this
Message
?
by the Module
Next Message
Vue de la page 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 234 235

Commentaires sur ces manuels

Pas de commentaire