Microscan MS-96 Uživatelský manuál Strana 212

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 226
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 211
Multidrop Communications
A-34 MS-9 Scanner User’s Manual
Polling Sequence
Data that is transmitted to the host (symbol data, noread messages, counters, etc.) via
concentrators is solicited by poll requests from the host.
The polling sequence example is by poll address 1E (ASCII hex value for Scanner 02)
and a REQ (request). The scanner responds by first transmitting its own address, 1E,
followed by a STX (start of text) character, and then the data. Next it transmits an ETX
(end of text) character and an LRC (longitudinal redundancy check) character.
If the concentrator (or controller) receives the data from the scanner and is able to vali-
date it with an LRC calculation, it responds with an ACK (acknowledgment). If the scan-
ner in turn receives the ACK, the scanner ends this exchange with a RES (reset).
Polling Reset
If the scanner has no information, it responds to a poll request by transmitting a
RES (reset).
If the scanner receives a NAK instead of the ACK after transmitting its data string, it
will re-attempt to send the data string up to three times. If the scanner still does
not receive an ACK, it will send a RES (reset) and discard the data in its buffers.
If the scanner transmits data to the concentrator and the concentrator responds
with an ACK or NAK, but the scanner doesn’t receive the concentrator’s response,
the scanner will timeout and send a REQ to the concentrator and request another
response. If after three retries (the number of times it transmits a REQ to the con
-
centrator) the scanner receives no response, it ends the transmission with a RES
(reset).
Concentrator RES 1E REQ ACK
Scanner 02 1E STX DATA ETX LRC RES
Start of Sequence End of Sequence
Figure A-12 Polling Sequence
Zobrazit stránku 211
1 2 ... 207 208 209 210 211 212 213 214 215 216 217 ... 225 226

Komentáře k této Příručce

Žádné komentáře