4.6.3 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.
FEATURE
Enter Program Mode
Load Defaults
Invalid command was sent, you must start over!
Enter Program Mode
Load Defaults
19200 Baud Rate
Exit Program Mode
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 program mode.
ABBREVIATED ASCII TABLE
Character
[SIX]
[ETX]
[ACK]
[NAK]
0
1
2
3
4
5
6
7
8
9
HOST
COMMAND
ASCII REPRESENTATION
[stx]999999[etx]
02h 39h 39h 39h 39h 39h 39h 03h [ack] or 06h
[stx]99999:[etx]
02h 39h 39h 39h 39h 39h 3Ah 03h [nak] or 15h
[stx]999999[etx]
02h 39h 39h 39h 39h 39h 39h 03h
[stx]999998[etx]
02h 39h 39h 39h 39h 39h 39h 03h [ack] or 06h
[stx]415870[etx]
02h 34h 31h 35h 38h 37h 30h 03h [ack] or 06h
[stx]999999[etx]
02h 39h 39h 39h 39h 39h 39h 03h [ack] or 06h
Hex Value
02h
03h
06h
15h
30h
31 h
32h
33h
34h
35h
36h
37h
38h
39h
Decimal Value
2
3
6
21
48
49
50
51
52
53
54
55
56
57
SCANNER
RESPONSE
[ack] or 06h
21
Need help?
Do you have a question about the iSCAN100 and is the answer not in the manual?