EXAMPLE #3:
The following example shows the events that occur when an invalid bar code
is sent. This sample will load the factory default settings and then set the
baud rate to 19200.
HOST
FEATURE
ASCII
COMMAND
SCANNER
REPRESENTATION
Enter Configuration Mode
RE
SPONSE
[stx]999999[etx] 02h 39h 39h 39h 39h 39h 39h 03h [ack] or 06h
Load Defaults [stx]99999:[etx] 02h 39h 39h 39h 39h 39h 3Ah 03h [nak] or 15h
Invalid command was sent, you must start over!
[stx]999999[etx] 02h 39h 39h 39h 39h 39h 39h 03h [ack] or 06h
Load Defaults [stx]999998[etx] 02h 39h 39h 39h 39h 39h 39h 03h [ack] or 06h
19200 Baud Rate [stx]415870[etx] 02h 34h 31h 35h 38h 37h 30h 03h [ack] or 06h
Exit Configuration Mode [stx]999999[etx] 02h 39h 39h 39h 39h 39h 39h 03h [ack] or 06h
The scanner will beep three times!
This example illustrates two important points.
First, if an invalid command is sent from the host, the scanner responds with
a [nak] and the end-user must start over from the beginning.
Second, if a command is sent to change the Baud Rate, the new baud rate
does not take effect until after the end-user exits configuration mode.
ABBREVIATED ASCII TABLE
4 34h 52
7 37h 55