16
P
ROGRAMMING
M
ODES
4. During programming, the motor and laser turn off. YOU CANNOT SCAN A
BAR CODE WHILE IN SERIAL PROGRAM MODE.
5. There is a 20 second window between commands. If a 20 second timeout
occurs, the scanner will send a [nak] and you must start over.
6. To enter serial program mode, send the following command
[stx]999999[etx].
7. To exit serial program mode, send the following command [stx]999999[etx],
the scanner will respond with an [ack] followed by 3 beeps.
8. This mode uses the current Baud Rate, Parity, Stop Bits and Data Bits
settings that are configured in the scanner. The default settings of the
scanner are 9600, Space, 2, 7 respectively. If a command is sent to the
scanner to change any of these settings, the change will NOT take effect
until after serial program mode is exited.
EXAMPLE #2
:
The following example will set the scanner to the factory default settings,
Disable Scanning of Code 128 bar codes, change the beeper tone, and add
a “G” as a programmable prefix.
HOST
SCANNER
FEATURE COMMAND ASCII
REPRESENTATION
RESPONSE
Enter Program Mode [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 38h 03h [ack] or 06h
Disable Code 128
[stx]100113[etx]
02h 31h 30h 30h 31h 31h 33h 03h [ack] or 06h
Alternate Tone 1
[stx]318565[etx]
02h 33h 31h 38h 35h 36h 35h 03h [ack] or 06h
Prog. Prefix #1
[stx]903500[etx]
02h 39h 30h 33h 35h 30h 30h 03h [ack] or 06h
Code Byte 0
[stx]0[etx]
02h 30h 03h
[ack] or 06h
Code Byte 7
[stx]7[etx]
02h 37h 03h
[ack] or 06h
Code Byte 1
[stx]1[etx]
02h 31h 03h
[ack] or 06h
Exit Program Mode [stx]999999[etx]
02h 39h 39h 39h 39h 39h 39h 03h [ack] or 06h
The scanner will beep three times!
The commands sent to the scanner do not include the small superscripted
‘3’ that you see in front of each bar code string in the MetroSelect manual.
THE ‘3’ SHOULD NOT BE SENT. IT IS A CODE TYPE DESIGNATION
ONLY!
As you will note for commands requiring additional bar codes to be scanned
(such as prefixes, suffixes, timeouts, etc.), simply send the code bytes in the
same order that you would normally scan the bar codes.
Содержание Eclipse MS5145-00
Страница 1: ......
Страница 2: ......
Страница 23: ...19 SCAN AREA Minimum Bar Code Element Width A B C D E F mm 10 12 17 26 33 66 mils 4 1 4 8 6 8 10 4 13 26...
Страница 47: ......
Страница 48: ...January 2006 Web 01 Only Printed in China 7 0 7 9 0 1 6 B...