ID-04 Imager User’s Manual
3-7
Communications
ACK / NAK Options
RES-NAK Defaults
The following are general outlines of the ACK/NAK protocol. Items that are framed by
brackets ( [ ] ) can either be disabled or enabled. LRC does not include STX, but it does
include preamble, postamble, and ETX.
Symbol Data Output
TX to host: [STX] [preamble] SYMBOL DATA [postamble] [ETX] [LRC]
Response from host: ACK/NAK. Sent when LRC, ETX, postamble, or timeout (waiting for
more data) are detected (if REQ is disabled) depending on what is enabled.
Commands from Host to Imager
TX to Imager: [STX] <command> [ETX] [LRC]
Response from Imager: ACK/NAK. Sent when LRC, ETX, or command-ending angle
bracket ‘>’ are received, depending on what is enabled.
Command Response from Imager to Host
TX to host: [STX] [preamble] COMMAND RESPONSE DATA [postamble] [ETX] [LRC]
Response from host: ACK/NAK. Sent when LRC, ETX, postamble, command-ending
angle bracket ‘>’, or timeout (waiting for more data) are detected, depending on what is
enabled.
As with Polling Mode
<K140,5>
, the Imager can optionally perform the REQ and RES event
sequences in ACK/NAK mode. If the sender does not receive an ACK or NAK, it will send
REQ to request such a response (if enabled). When the sender receives an ACK, too many
NAKs, or times out (if already enabled), it will send a RES (if enabled) to terminate the trans-
action.
Note: See
ACK / NAK Data Flow Examples
in Appendix D for sample ACK/NAK communications
scenarios.
Note: See
USB HID Interface
for protocol information relating to USB.
Definition:
These parameters take effect for ACK/NAK
<K140,4>
on the main RS-232 or
RS-422 ports (not on the Auxiliary Port), and are completely independent of
the Polling Mode Options
<K148>
.
The Imager always follows the protocol in both directions (to and from the
host). There is no option to disable it from either direction.
Serial Cmd:
<
K147,
RES,REQ,STX,ETX,ACK,NAK
>
RES: (Reset)
00 (disabled)
REQ: (Request)
00 (disabled)
STX: (Start of Text)
00 (disabled)
ETX: (End of Text)
00 (disabled)
ACK: (Acknowledge)
06
NAK: (Negative Acknowledge)
15
Содержание ID-04
Страница 1: ...ID 04 Imager User s Manual ID 04 User s Manual ...
Страница 12: ...xii ID 04 Imager User s Manual Statement of RoHS Compliance ...
Страница 26: ...1 14 ID 04 Imager User s Manual Make Menu Changes and Save in di soric ID ...
Страница 44: ...2 18 ID 04 Imager User s Manual Using EZ Trax ...
Страница 76: ...3 32 ID 04 Imager User s Manual Postamble ...
Страница 94: ...4 18 ID 04 Imager User s Manual Additional Notes about Calibration ...
Страница 154: ...6 34 ID 04 Imager User s Manual Background Color ...
Страница 210: ...7 56 ID 04 Imager User s Manual Configuring EZ Trax Output ...
Страница 223: ...ID 04 Imager User s Manual 8 13 Symbol Quality will be output in the format you chose in the Preferences dialog ...
Страница 225: ...ID 04 Imager User s Manual 8 15 Symbol Quality Options 0 Disabled 1 Enabled ...
Страница 229: ...ID 04 Imager User s Manual 8 19 Symbol Quality will be output in the format you chose in the Preferences dialog ...
Страница 230: ...8 20 ID 04 Imager User s Manual di soric Symbol Quality Output by di soric ID ...
Страница 242: ...9 12 ID 04 Imager User s Manual ...
Страница 274: ...10 32 ID 04 Imager User s Manual Skew Correction ...
Страница 292: ...11 18 ID 04 Imager User s Manual Request All Configuration Database Settings ...
Страница 334: ...14 14 ID 04 Imager User s Manual Ordered Output Filter ...
Страница 368: ...A 34 ID 04 Imager User s Manual Glossary of Terms ...