4.6 Serial Programming
Each command sent to the scanner is the ASCII representation of each numeral in
the configuration bar code. The entire numeric string is framed with an ASCII [stx]
and an ASCII [etx].
4.6.1 EXAMPLE #1:
Command for Disabling Codabar Command = [stx]100104[etx]
String Sent to Scanner = 02h 31h 30h 30h 31h 30h 34h 03h
(All values are hexadecimal).
If the command sent to the scanner is valid, the scanner will respond with an [ack].
If the command sent to the scanner in invalid, the scanner will respond with a
[nak].
NOTE: If this occurs, the end-user must start over at the very beginning of the
configuration sequence. Simply re-transmitting the invalid command will not work,
you must start over.
During programming, the motor and laser turn off. YOU CANNOT SCAN A BAR
CODE WHILE IN SERIAL PROGRAM MODE.
There is a 20 second window between commands. If a 20 second time-out occurs,
the scanner will send a [flak] and you must start over.
To enter serial program mode, send the following command [stx]999999[etx].
To exit serial program mode, send the following command [stx]999999[etx], the
scanner will respond with an [ack] followed by 3 beeps.
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.
19
Need help?
Do you have a question about the iSCAN100 and is the answer not in the manual?