Metrologic Instruments MS2421, MS2422 RS232 Demonstration Program, On Error Goto, Close System

Page 45

TROUBLESHOOTING

 

Symptom

 

Possible Cause(s)

 

Solution

 

RS232 Only

 

 

 

 

 

The host is receiving

 

The scanner and host may not be

 

Check that the scanner and the host are configured for the

 

data but the data

 

 

 

 

configured for the same interface.

 

same interface.

 

does not look correct.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Characters are being

 

The intercharacter delay needs to be

 

Add some intercharacter delay to the transmitted output by

 

 

 

using the MetroSelect Configuration Guide (MLPN 00-

 

dropped.

 

added to the transmitted output.

 

 

 

 

02407x).

 

 

 

 

 

 

 

 

 

 

 

Aux Port Operation With Any Interface

 

 

 

 

 

 

 

 

 

The secondary

 

 

 

Refer to the user’s guide provided with the secondary

 

scanner is not

 

 

 

 

 

 

 

scanner.

 

functioning.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The secondary scanner cable may

 

Ensure that the secondary scanner is connected to the

 

 

 

not be connected to the proper port

 

 

 

 

 

MS242x com port marked “Aux” port.

 

The secondary

 

on the scanner.

 

 

 

 

 

 

scanner powers up

 

 

 

 

 

 

 

 

* The scanner must be configured to enable the auxiliary

 

but data is not

 

 

 

 

 

 

 

port.

 

relayed to the host.

 

The auxiliary com port may not be

 

 

 

 

 

 

 

 

operating properly.

 

The auxiliary input port’s data format must match the main

 

 

 

 

 

output format of the secondary scanner.

 

 

 

 

 

* Refer to the MS2xxx Stratos Series Configuration Addendum (MLPN 00-02034x) under Scanner Configuration Bar

 

Codes: Auxiliary Port, Quick Start for a Secondary Metrologic Scanner.

 

 

 

RS232 DEMONSTRATION PROGRAM

 

 

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

30OPEN “COM1:9600,S,7,1,CS0,DS0,CD0,LF” AS #1

35PRINT “SCAN A FEW BAR CODES”

40LINE INPUT #1, BARCODE$

50PRINT BARCODE$

60K$ = INKEY$: IF K$ = CHR$(27) THEN GOTO 32766

70GOTO 40

100PRINT “ERROR NO.”; ERR; “ PRESS ANY KEY TO TERMINATE.”

110K$ = INKEY$: IF K$ = “” THEN GOTO 110

32766 CLOSE: SYSTEM

32767 END

41

Image 45
Contents Metrologic INSTRUMENTS, INC Trademarks CopyrightTable of Contents EMC Introduction Manual ScopeProduct Overview Optional Accessories Base KIT ComponentsDescription Replacement Parts See caution statement on General PrecautionsDesign Specifications Operational MS2421 / MS2422 Scanner Design SpecificationsMS2421 Scanner Base Model CharacteristicsDimensions MS2421 Label Locations Top and Examples Bottom MS2422 Scanner MS2422 Dimensions MS2422 Label Locations Top and Examples Bottom Installation Quick Installation OutlineSite Requirements Unpacking the Unit Installing the Unit in the Counter MS2422 Mounting Diagram RS232 Cable Installation Interface SpecificRS232 Interface Cable Installation Schematic Full Speed USB USB Cable Installation Schematic IBM IBM Cable Installation Schematic Cable Installation Secondary Metrologic Scanner Secondary Scanner Cable Installation Schematic EAS Deactivation Base Model Checkpoint Recommended Switch Bank SettingsScan Zone Scanner OperationHorizontal Direct 13 mil Wake Activation Area Photocell LED Output Wake Activation Area Sensitivity Photocell LED Output Range Audible Three Beeps on power upOne Beep Razzberry ToneSteady Blue and Single blue Flash Visual Steady BlueBlue LED Off Flashing BlueError Code Display Optional Product Roll Bar Shown Diagnostic Indicator DisplayScanner Operation Scanner Operation Laser Off Power Save Mode Blink Power Save ModeLaser & Motor Off Power Save Mode Dual Action Power Save Mode #1Placing the Unit in Laser & Motor Off Power Save Mode Changing the Beeper VolumeWaking the Unit from All Power Save Modes Beeper Options and Button FunctionsPOWER-UP Test Mode Configuration ModeStartup Horizontal Scan Window Replacement MaintenanceDaily Maintenance Same symbol timeout is TroubleshootingScanner and the communication port match and the program is Print Error NO. ERR Press ANY KEY to Terminate On Error GotoRS232 Demonstration Program Close SystemCommunication Parameters Default SettingsIBM 46 USB IBM USB ACK / NAK Multiple Selections Default Settings Default settings for Aux interface EAS Scanner and Cable TerminationsSIG1 Scale Ready MS2421 Models Additional Pinout ConnectionsSIG2 SIG3PC+5V USB Cable Connector ConfigurationsPinFunction† Regulatory Compliance SafetyITE Equipment LaserEuropean Standard RemarqueFunkstöreigenschaften nach EN550221998 Standard EuropeoAvertissement Class B DevicesMetrologic Instruments, Inc Limited WarrantyPatents 39, 46, 47 Index39-41 Page Page January 2009, Version