PureScan Di5 User manual

Configuration guide
PureScan-Di5

Ui
bar code configuration

Table of contents
Uiii
TABLE OF CONTENTS
0. Introduction .............................................U1
1. Defaults ....................................................U5
2. Interface ...................................................U7
2.1. RS232 options ..................................... U8
2.1.1. Baud rate settings................................ U9
2.1.2. Data, parity, stop bits ......................... U10
2.1.3. Handshaking...................................... U11
2.1.4. Intercharacter delay for RS232.......... U14
2.2. Keyboard wedge/USB options........... U15
2.2.1. Keyboard layout ................................. U16
2.2.2. Special options .................................. U18
2.2.3. Intercharacter delay for
wedges/USB...................................... U19
3. Code options......................................... U20
3.1. Setting of readable codes.................. U21
3.1.1. Enabling a single read. Code............. U22
3.1.2. Enabling of readable codes............... U25
3.2. Setting of number of characters.........U29
3.3. Setting code specific options............. U33
3.3.1. Options for UPC-A............................. U34
3.3.2. Options for UPC-E............................. U35
3.3.3. Options for EAN-13 and EAN-8......... U37
3.3.4. Options for Code 39 and It.Pharm..... U39
3.3.5. Options for Codabar.......................... U42
3.3.6. Options for 2of5 and S-Code............. U47
3.3.7. Options for IATA.................................U48
3.3.8. Options for MSI/Plessey.................... U49
3.3.9. Options for Telepen............................ U51
3.3.10.Options for UK/Plessey...................... U52
3.3.11.Options for Code 128 and GS1-128.. U53
3.3.12.Options for Code 93........................... U55
3.3.13.Options for Code 11........................... U57
3.3.14.Options for Korean Postal Authority... U58
3.3.15.Options for Intelligent Mail Barcode... U59
3.3.16.Options for POSTNET....................... U59
3.3.17.Options for GS1 Databar................... U60
3.3.18.Options for Composite Codes............ U61
3. Code options (continued)
3.3.19.Options for Codablock F.....................U63
3.3.20.Options for DataMatrix........................U63
3.3.21.Options for Aztec................................U64
3.3.21.Options for Chinese Sensible code....U65
3.3.22.Options for QR Code..........................U66
3.3.23.Options for Micro QR Code................U67
3.3.24.Options for Maxicode..........................U67
3.3.25.Options for PDF417............................U68
3.3.26.Options for MicroPDF417...................U68
4. String options........................................U70
4.1. Case conversion.................................U71
4.2. Set prefix and suffix............................U72
4.2.1 Set prefix............................................U77
4.2.2. Set suffix.............................................U80
4.3.1. Direct input keyboard keys.................U83
4.3.2. Direct input character misc.................U86
4.3.3. Direct input numeric.......................... U89
4.3.4. Direct input character....................... U90
4.3.5. Direct input lower case character..... U92
4.3.6. Direct input control character............ U94
4.3.7. Direct input code id/length................ U97
5. Read options....................................... U98
5.1. Read mode options.......................... U99
5.1.1. Multiple read reset time.................... U100
5.1.2. Quiet zone options............................U101
5.1.3. Auto trigger options.......................... U102
5.2. Read time options.............................U102
5.3. Power control....................................U105
5.4. Redundancy.....................................U104
5.5. Positive and negative bar codes.......U105
5.6. Floodlight and aiming options...........U106
6. Indicator options................................. U108
6.1. Buzzer settings.................................U109
6.2. Good read LED.................................U111
7. Miscellaneous..................................... U112
7.1. Diagnostics.......................................U113
7.2. Serial configuration support..............U114
A. Trouble shooting...............................U116
B. Example codes.................................U117

Introduction
0
U1
INTRODUCTION
This menu book is intended for setting up your
bar code reader to optimize its performance for
your particular application. When the required
options have been configured, they remain in
the reader, even after power down. The reader
can be returned to factory default by reading
the default label.
Menu labels
The reader must be set by reading the bar code
labels in the menu table. The layout of the table
is explained in next figure 0.01.
Besides options, some chapters have
commands. The commands need to be
scanned directly, without reading the “SET” and
“END” labels. The commands are executed
directly and, unlike options, are not stored in
non volatile memory.
Fig. 0.01. Menu labels
Enter mode
Save mode
configuration parametersserial commands
optional setting
factory default setting

U2
Configuring via the menu book
To configure the required options proceed as
follows:
• scan the SET label
• scan the required option(s)
• scan the END label
After scanning the END label, the new settings
are stored in non volatile memory.
Recommended steps to follow for quick
configuration
After checking your connection you are ready
to start the configuration of your reader.
• Check connection:
Ensure that the power is disconnected from
your equipment before you connect the reader.
After connecting the data cable, the power can
be applied to the equipment and the reader.
•1:
Use chapter 1 to set the correct default for your
reader.
* The reader is now in factory default.
•2:
Use chapter 2 to optimize the interface.
* The reader is now able to read bar codes and
transmit the data.
•3:
Use chapter 3 to optimize the reader for the
type of bar codes you use. Set the readable
codes first and then the options for each of
these codes.
* The reader is now able to read the codes you
selected, validate the data using length and
check digit and transmit that part of the data
you specified.
•4:
Use chapter 4 to select the string options for
your application. These include transmission of
code length, conversion of upper and lower
case and setting a prefix and suffix.
* The reader can now read and transmit the
data in the required format.
•5:
Use chapter 5 to select the read options to your
preference. These options affect the read
mode, read time, trigger and redundancy.
•6:
Use chapter 6 to select the indicator options
you prefer. These options affect the operation
of the buzzer and good read LED.
* The reader will now operate to your personal
preference.
See figure 0.02.
Power OFF
Connect reader
Power ON
Set Default (1)
Optimize interface (2)
Optimize symbologies (3)
Set string options (4)
Set read options (5)
Set indicator options (6)
Fig. 0.02. Recommended Steps

Introduction
0
U3
Configuring via RS232
In the middle column of the menu pages the
command is printed, e.g. U2. These commands
can be sent to readers with an RS232 interface.
To configure via the RS232 port proceed as
follows:
• transmit <ESC><Command string 1><CR>
• transmit <ESC><Command string 2><CR>
• transmit <ESC><Command string n><CR>
• transmit <ESC>Z2<CR>
<ESC>
<ESC> is the ASCII escape character (Hex
1B).
<Command string>
<Command string> is the ASCII command with
its parameters as would be scanned from the
menu book, i.e. <ESC>M41B<CR> configures
the ASCII control code <STX> as the prefix for
Code 39.
Example in hexadecimal format:
1B 4D 34 31 4B ØD
Each 3-character command should be
preceded with the '[' character (Hex 5B) i.e.
<Esc>[BCC<CR> is used to enable Data
Matrix.
Each 4-character command should be
preceded with the ']' character (Hex 5D) i.e.
<Esc>]DIAU<CR> is used to disable auto
connect.
<CR>
<CR> is the ASCII CR character (Hex ØD).
Z2
Some options are not immediately active, like
baud rate settings. Most other options are
immediately active, but the command Z2 must
be send to store the settings to non volatile
memory.
The following commands may be used to:
Command B sound a good read beep
Command E sound an error beep
Command G motor off
Command H motor on
Command L switch on good read LED
Command N switch on bad read LED
Command O switch on both LEDs
Command Y de-trigger the reader
Command Z trigger the reader
Command P disable the laser
Command Q enable the laser
The characters transmitted must be separated
by an intercharacter delay to allow the reader to
process each character received and to
execute the command string.

U4

Defaults
1
U5
1. DEFAULTS
This option allows you to undo all previously
configured options and bring the reader's
configuration back to factory default settings.
These factory default settings are printed in
bold.
Note that differences may occur depending on
the type of interface as will be mentioned in the
text.
Select only the correct default settings
corresponding to your hardware "defaults"
label.
The interfaces supported depend on the reader
model and software release.
Please consult your sales office for not listed
interfaces.

U6
1. Defaults
RS232
USB-HID

Interface
2
U7
2. INTERFACE
This chapter describes the configurable
transmission options for your reader. Some
options may not be relevant to the type of
reader you have. An attempt to configure the
reader for such options does not affect its
operation and usually results in the reader
producing an error tone, indicating you tried to
make an illegal configuration entry.

U8
2.1. RS232 options
This paragraph describes the specific options
for a reader with an RS232 interface.
Bar code readers with an RS232 interface are
normally supplied with either a DB25 or DB9
female connector. Both connectors are fitted
with an external power connector. See figure
2.01 or 2.02.
Other connectors and/or connections are
available by special order.
Pin functions as seen from the bar code reader.
FG:
Frame Ground: This is normally connected to
the "chassis ground" at the host computer. In
the RS232 specification the use of FG is
optional.
TxD:
Transmitted Data: Transmits data from the
reader to the host. This connection is
mandatory.
RxD:
Received Data: Receives data from the host to
the reader. This connection is required if you
want to send commands to the bar code reader
or if software handshaking or
acknowledgement control is used.
RTS:
Request To Send: A general purpose output to
the host, used for hardware flow control. This
connection is optional.
CTS:
Clear To Send: A general purpose input to the
bar code reader, used for hardware flow
control. This connection is optional.
SG:
Signal Ground: Reference point for power
supply and interface signals. This connection is
mandatory.
FG
TxD
RxD
RTS
CTS
SG
FG
TxD
RxD
RTS
CTS
SG
1
2
3
4
5
7
SCANNER
HOST
DB25S
1
2
3
4
5
7
DB25P
Fig. 2.01. RS232 options DB25
TxD
RxD
SG
TxD
RxD
SG
3
2
5
7
8
SCANNER
HOST
DB9S
RTS
CTS
RTS
CTS
3
2
5
7
8
DB9P
Fig. 2.02. RS232 options DB9

Interface
2
U9
2.1.1. Baud rate settings
The baud rate is the rate at which bits are
transmitted from the reader to the host, and
vice versa. Both the reader and the host should
be set to the same baud rate
SET _ZZ_
150 baud K0 _K0_
300 baud K1 _K1_
600 baud K2 _K2_
1200 baud K3 _K3_
2400 baud K4 _K4_
4800 baud K5 _K5_
9600 baud K6 _K6_
19200 baud K7 _K7_
38400 baud K8 _K8_
57600 baud K9 _K9_
115200 baud SZ _SZ_
END _ZZ_

U10
2.1.2. Data, parity and stop bits
The data characters may be transferred in one
of the following formats:
A parity bit may be added to every character so
that the total number of 1's in the data bits,
together with the parity bit, is odd for odd parity
or even for even parity. See figure 2.03.
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
START
START
START
START
START
START
START
START
7 Bit Data
7 Bit Data
7 Bit Data
7 Bit Data
8 Bit Data
8 Bit Data
8 Bit Data
8 Bit Data
2 STOP
STOP
PARITY STOP
PARITY 2 STOP
STOP
2 STOP
PARITY STOP
PARITY 2 STOP
Fig. 2.03. Data, parity, stop bits
SET _ZZ_
7 data bits L0 _L0_
8 data bits L1 _L1_
No parity L2 _L2_
Even parity L3 _L3_
Odd parity L4 _L4_
1 stop bit L5 _L5_
2 stop bits L6 _L6_
END _ZZ_

Interface
2
U11
2.1.3. Handshaking
Data flow control is available using either
hardware (Modem, Busy/Ready) or software
(XON/XOFF). In addition, an optional
acknowledgement control is available (ACK/
NAK with or without error response). Flow
control may be combined with
acknowledgement control. The RS232 voltage
levels employed by most readers for
transmission are either -10V (OFF) or +10V
(ON).
1. No handshake:
Does not employ any handshaking: data is
transmitted regardless of the control signals.
This option will undo any handshake and flow
control options selected.
2. Busy/ready:
The reader's RTS is ON as soon as the power
is supplied to the reader and will stay ON while
the reader can receive data from the host. The
host will keep the reader's CTS ON while it is
ready to receive data from the reader. While
CTS is ON the reader is able to transmit data.
The reader will abort transmission with an error
indication of the buzzer when the CTS is not
ON within a certain configurable period. The
reader may drop RTS to OFF during
transmission if it can not receive data
simultaneously. See figure 2.04.
3. Modem mode:
The reader's RTS is OFF as soon as power is
supplied to the reader. The reader will turn RTS
ON when it wants to transmit data to the host.
The host should respond by putting CTS ON
when it is ready to receive data. While CTS is
ON the reader is allowed to transmit data.
When all data has been transmitted, the reader
will turn RTS OFF. In response, the host should
turn OFF the reader's CTS. If, while RTS is ON,
the CTS line is not ON for a certain
configurable period, the reader will terminate
the transmission with an error indication of the
buzzer. See figure 2.05.
4. XON/XOFF:
The reader sends data until an XOFF (ASCII
DC3, Hex 13) character is received from the
host. Only when the reader receives an XON
(ASCII DC1, Hex 11) character, the reader
continues to send its data.
5. ACK/NAK:
After data has been transmitted, the reader
expects to receive one of the following
responses from the host:
Response: "ACK" (ASCII: Hex Ø6)
Action: The reader completes transmission with
the good-read buzzer.
Response: "NAK" (ASCII: Hex 15)
Action: The reader sends the data again.
Response: "DC1" (ASCII: Hex 11)
Action: The reader completes transmission
without a good-read or error buzzer.
RTS
CTS
TxD
ON
OFF
ON
OFF
ON
OFF
Fig. 2.04. HandShaking
Busy/ready
RTS
CTS
TxD
ON
OFF
ON
OFF
ON
OFF
Fig. 2.05. HandShaking
Modem mode

U12
Response: "None"
Action: If there is no response within one
second then the reader terminates
transmission with an error buzzer. See figure
2.06.
6. ACK/NAK no response:
The difference from the ACK/NAK mode is that
when no response from the host is received
within 100 ms, the reader assumes that the
data has been received correctly by the host.
Response: "ACK" (ASCII: Hex Ø6)
Action: The reader completes transmission with
the good-read buzzer.
Response: "NAK" (ASCII: Hex 15)
Action: The reader sends the data again.
Response: "DC1" (ASCII: Hex 11)
Action: The reader completes transmission
without a good-read or error buzzer.
Response: "None"
Action: If there is no response within 100 ms
then the reader terminates transmission with a
good read buzzer. See figure 2.07.
Transmit
data
Start 1 sec.
timer
Timer
ended
ERROR
Buzzer
No
Yes
Yes
Start of
transmission
Answer
received
No
Yes
No
Answer
= NAK
Answer
= ACK
Answer
= DC1
No
ERROR
Buzzer
No
GOOD READ
Buzzer
Yes
Yes
END
Fig. 2.06. HandShaking
ACK/NAK
Fig. 2.07. HandShaking
ACK/NAK no response
Transmit
data
Start 100 ms.
timer
Timer
ended
GOOD READ
Buzzer
No
Yes
Yes
Start of
transmission
Answer
received
No
Yes
No
Answer
= NAK
Answer
= ACK
Answer
= DC1
No
ERROR
Buzzer
No
GOOD READ
Buzzer
Yes
Yes
END

Interface
2
U13
2.1.3. Handshaking
SET _ZZ_
No handshake P0 _P0_
Busy/ready P1 _P1_
Modem P2 _P2_
XON/XOFF ZG _ZG_
ACK/NAK P3 _P3_
ACK/NAK NO
RESPONSE P4 _P4_
Flow Control time out
indefinitely I0 _I0_
Flow Control time out
100ms I1 _I1_
Flow Control time out
200ms I2 _I2_
Flow Control time out
400ms I3 _I3_
END _ZZ_

U14
2.1.4. Intercharacter delay for RS232
The intercharacter delay introduces a
configurable time delay after each character
transmitted. This may be used if the connected
computer or terminal does not support flow
control and is not capable of handling the
received data.
SET _ZZ_
No delay KA _KA_
20 ms delay KB _KB_
50 ms delay KC _KC_
100 ms delay KD _KD_
END _ZZ_

Interface
2
U15
2.2. Keyboard wedge/USB options
This paragraph describes the options which are
relevant to readers with a wedge or USB
interface. The following parameters can be
configured:
• keyboard language
• special options
• intercharacter delay
Because these options are interdependent, it is
important to perform the configuration in the
sequence given.
Please consult your sales office for keyboard
layouts and language currently supported.
Keyboard wedge operation modes:
This mode enables or disables responses from
PC wedge to the computer during booting.
In normal cases, the keyboard handles the
responses to the computer. The PC wedge is
only listening in order to be aware of the
keyboard state.
With keyboard:
Use this mode in case a keyboard is connected
to the PC wedge Y-cable.
The wedge is only listening in case the
computer is booting or when the wedge is idle.
Without keyboard:
Use this mode in case no keyboard is
connected to the PC wedge Y-cable. In some
cases this mode is required in case only a PC
USB keyboard is connected. If this option is
enable, the computer can detect the wedge as
a keyboard. In case the computer reports a
keyboard error or in case no data is displayed,
try this option. It is required to power OFF the
PC, wait 10 seconds and power ON the PC
again. Do not enable this option in case a
keyboard is connected to the Y-cable.
The wedge is responding to all commands from
the computer.
The ‘without keyboard’ option is only supported
for PC/AT wedges.
SET _ZZ_
With keyboard KM _KM_
Without keyboard KL _KL_
END _ZZ_

U16
2.2.1. Keyboard language
Keyboards are also different depending on
country or language. Examples are the
QWERTY and AZERTY keyboards. Select the
same language that has been selected on your
PC.
The languages supported depend on the
reader model and software release. Please
consult your sales office for the languages
currently supported.
SET _ZZ_
US KE _KE_
UK KV _KV_
German KG _KG_
French KI _KI_
French Macintosh BAO _BAO_
Italian OW _OW_
Spanish KJ _KJ_
Portuguese PH _PH_
Swiss ( French ) PL _PL_
END _ZZ_

Interface
2
U17
Swiss ( German ) PK _PK_
Dutch PI _PI_
Belgian PJ _PJ_
Swedish PD _PD_
Finnish PG _PG_
Danish KK _KK_
Norwegian PE _PE_
Japanese PM _PM_
Czech WF _WF_
SET _ZZ_
END _ZZ_
Table of contents