| SCANTECH
Electronic Programming Mode (EPM)
As an alternative to
changing the scanner parameters with programming bar
codes, the Scantech scanners H-3010/UD/RS232+OCIA and
P-7010/RS232+KBW
can also be electronically programmed from the host
system via RS232 interface.
1. INTRODUCTION
The basic operation
is as follows :
1. The scanner is set
in Local Command Mode (LCM) and in Electronic
Programming Mode (EPM).
See requirements and description below.
2. The essential part of the programming bar codes is
transmitted from the host system to the scanner.
Further explanation follows:
The Scantech programming
barcodes are EAN13 codes.
The left half of this EAN13 contains the digits :
8712345.
The contents of the right half varies, depending on the
programming purpose.
For instance: The
programming bar code to alter the speaker frequency is :
8712345 15001 3 (See code 2.1.1 in the Configuration
Guide). The last digit
(in this case 3) is the regular EAN check digit. In
instances when the speaker frequency must be altered ;
simply send the 5 digits 15001 to
the scanner (which has already been set in LCM and in
EPM) and that’s it!
Below you find a complete
description of : 1. How to set the scanner in LCM
2. Three examples of EPM.
2. CONNECTION & basic communication :
1. The scanner is
connected via RS232 interface, full duplex connection,
to a host system.
(e.g. at the H-3010, P-4010, C5010 or G-6010 using the
Scantech PC cable A2017622).
2. The scanner must be switched ON.
3. Make sure the RS232 settings of the host system are
similar to the scanners' settings.
- Communication can be tested by scanning a barcode :
The monitor should display the bar code contents.
- In the event that there is no proper communication and
scanners' settings are unknown,
scan programming codes 1.1 and 1.3 from the
Configuration Guide to set to
Factory Default ( = 9600
baud / 8 databits / 2 stopbits / No Parity / No
protocol).E.g. this may be necessary in case some
kind of RTS/CTS handshaking mode is set in the
scanner,which is not supported by the host system.
3. ENTERING LOCAL COMMAND
MODE
1. Reset the scanner by
sending an [ENQ] (= 05 hex = <Ctrl>E) to the
scanner.
(The scanner will respond with a double beep).
2. Disable the scanner by sending a [SHIFT IN] (= 0F hex
= <Ctrl>O) to the scanner.
3. Enter Local Command Mode by sending "!"
(exclamation mark)
The scanner will respond by sending the ">"
sign.
The scanner is now in Local Command Mode, it no longer
reads bar codes.
4. ENTERING AND LEAVING
ELECTRONIC PROGRAMMING MODE
Once the scanner is in
LCM, the Electronic Programming Mode can be entered by
sending the string "progmode¿ " to the
scanner. The scanner is ready now to receive the (5
digit) message(s) as described above in
‘Introduction’.
After each received and recognized programming string,
the scanner acknowledges with a # sign.
In the event that the scanner receives an erroneous
input, it will respond with a question mark.
To conclude a programming session:
Leave EPM by sending
"exit" to the scanner
Send "save -m=stack¿ " to the scanner in
order to store the setting(s) in the scanners’
EEPROM.
5. THREE EXAMPLES OF
ELECTRONIC PROGRAMMING MODE
5.1 The following example
will alter the scanner beep of the H-3010 or P-7010:
Starting point : The
scanner is in LCM already.
| Input string to scanner: |
Scanner acknowledges with: |
Remark: |
| progmode¿ |
# sign |
Entering programming mode |
| 15001¿ |
# sign |
15001 is the right half of
program-ming code 2.1.1 (See Configuration
Guide) minus the last (check) digit. |
| exit¿ |
> sign |
Leaving programming mode |
| save -m=stack¿ |
> sign |
Storing the setting in EEPROM |
| <ctrl> E |
double beep |
Resetting the scanner |
5.2 The following example
will turn on the Interleaved 2/5 decoder of the H-3010
or P-7010
and will set the minimum code length for Interleaved 2/5
to 10 digits.
Starting point : The
scanner is in LCM already.
| Input string to scanner: |
Scanner acknowledges with: |
Remark: |
| progmode¿ |
# sign |
Entering programming mode |
| 14202¿ |
# sign |
Code 4.1.35 ITF ON |
| 14411 ¿ |
# sign |
Code 4.2.4 Set ITF minimum length |
| 13110 ¿ |
# sign |
Code 4.2.8 Minimum length = 10 |
| exit¿ |
> sign |
Leaving programming mode |
| save -m=stack¿ |
> sign |
Storing the setting in EEPROM |
| <ctrl> E |
double beep |
Resetting the scanner |
5. EXAMPLES OF ELECTRONIC
PROGRAMMING MODE (cont’d)
5.3 The following example
,for the H-3010 or P-7010, will :
- Turn the Code ID
transmission: ON
Turn on the Code/EAN 128 decoder Programming code:
8712345 14310 7
Alter the EAN128 Code Identifier to the # sign
Programming codes : Set EAN128 Identifier 8712345
14404 3
Select character # (ASCII 35) 8712345 13135 7
Close identifier programming 8712345 13100 5
Starting point : The
scanner is in LCM already.
| Input string to scanner: |
Scanner acknowledges with: |
Remark: |
| progmode¿ |
# sign |
Entering programming mode |
| 11047¿ |
# sign |
Code ID transmission: ON |
| 14310¿ |
# sign |
Turn Code/EAN 128 decoding ON |
| 14404¿ |
# sign |
Set ID for EAN128 |
| 13135¿ |
# sign |
Character is # |
| 13100¿ |
# sign |
Close code Id programming |
| exit¿ |
> sign |
Leave programming mode |
| save -m=stack¿ |
> sign |
Store the settings in EEPROM |
| <ctrl> E |
double beep |
Resetting the scanner |
6. CLOSING LOCAL COMMAND
MODE
Reset the scanner by
sending a <Ctrl>E (= [ENQ] = 05hex) to the
scanner.
The scanner must respond
with a double beep and is ready for normal application
again.
7. Notes:
1. The commands used to
electronically program the Scantech H-3010 and P-7010
differ slightly from the commands used for the P-4010,
C-5010 and G-6010.
2. The scanner commands mentioned above (i.e.
<Ctrl>E for Reset and <Ctrl>O for Disable)
refer to the Scantech Default values (as described in
the scanners' User's Manual under Chapter 'Controlling
the Scanner from the POS'). In specific instances,
when these commands have already been re-programmed,
of course the alternative commands must be applied
above in order to Disable or Reset the scanner.
Notes :
- More details available upon request.
- Subject to change without prior notice.
|