Rs232 Demonstration Program - Metrologic MS2422 Installation And User Manual

Metrologic instruments bar code scanner installation and user's guide
Hide thumbs Also See for MS2422:
Table of Contents

Advertisement

T
ROUBLESHOOTING
Symptom
RS232 Only
The host is receiving
data but the data
does not look correct.
Characters are being
dropped.
Aux Port Operation With Any Interface
The secondary
scanner is not
functioning.
The secondary
scanner powers up
but data is not
relayed to the host.
* Refer to the MS2xxx Stratos Series Configuration Addendum (
Codes: Auxiliary Port, Quick Start for a Secondary Metrologic Scanner.
RS232 D
EMONSTRATION
If an RS232 scanner is not communicating with your IBM compatible PC, key in the following BASIC program to test that
the communication port and scanner are working. This program is for demonstration purposes only. It is only intended to
prove that cabling is correct, the com port is working, and the scanner is working. If the bar code data displays on the
screen while using this program, it only demonstrates that the hardware interface and scanner are working. At this point,
investigate whether the application software and the scanner configuration match. If the application does not support
RS232 scanners, a software wedge program that will take RS232 data and place it into a keyboard buffer may be needed.
This program tells the PC to ignore RTS-CTS, Data Set Ready (DSR) and Data Carrier Detect (DCD) signals. If the
demonstration program works and yours still does not, jumper RTS to CTS and Data Terminal Reading (DTR) to DCD and
DSR on the back of your PC.
10
CLS
20
ON ERROR GOTO 100
30
OPEN "COM1:9600,S,7,1,CS0,DS0,CD0,LF" AS #1
35
PRINT "SCAN A FEW BAR CODES"
40
LINE INPUT #1, BARCODE$
50
PRINT BARCODE$
60
K$ = INKEY$: IF K$ = CHR$(27) THEN GOTO 32766
70
GOTO 40
100
PRINT "ERROR NO."; ERR; " PRESS ANY KEY TO TERMINATE."
110
K$ = INKEY$: IF K$ = "" THEN GOTO 110
32766 CLOSE: SYSTEM
32767 END
Possible Cause(s)
The scanner and host may not be
configured for the same interface.
The intercharacter delay needs to be
added to the transmitted output.
The secondary scanner cable may
not be connected to the proper port
on the scanner.
The auxiliary com port may not be
operating properly.
P
ROGRAM
Check that the scanner and the host are configured for the
same interface.
Add some intercharacter delay to the transmitted output by
using the MetroSelect Configuration Guide (
02407x).
Refer to the user's guide provided with the secondary
scanner.
Ensure that the secondary scanner is connected to the
MS242x com port marked "Aux" port.
* The scanner must be configured to enable the auxiliary
port.
The auxiliary input port's data format must match the main
output format of the secondary scanner.
00-02034x) under Scanner Configuration Bar
MLPN
Solution
00-
MLPN
41

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ms2421

Table of Contents