Metrologic Instruments MS9500 manual RS-232 Demonstration Program

Page 34

RS-232 Demonstration Program

If an RS-232 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 RS-232 scanners, a software wedge program that will take RS-232 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,CSO,DSO,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.”

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

32766 CLOSE: SYSTEM

32767 END

29

Image 34
Contents Page Locations USA Corporate Headquarters EuropeIii Table of Contents Appendix C Appendix aAppendix B Appendix DIntroduction Voyager Voyager CodeGate Interface∙ Installation and User’s Guide Mlpn Scanner and AccessoriesVoyager MS9540 CodeGate Single-Line Laser Scanner Quick Start Installing the Scanner to the Host System Disconnecting PowerLink Cables from the Scanner How to Use CodeGate MS9540 Only Two Modes of OperationKit #46-46055 Contains Assembling the StandStand Option 1 Self-supported Stand Option 2 Hard-mounted to countertop Scanner Parts One Beep Audible IndicatorsThree Beeps On Power Up Razzberry ToneThis is a failure indicator. Refer to Failure Modes on Visual Indicators Alternating Flashing of Green and Red Steady Red, Green offFailure Modes Flashing Green and one Razzberry ToneProgramming Modes How does Serial Programming work?Host Scanner Feature Command Ascii Representation Response Abbreviated Ascii Table Upgrading the Flash Rom Firmware Labels Avoid Exposure laser light emitted from this apertureScanner Face Depth of FieldDistance Width of Scan FieldIR Activation Maintenance Applications and Protocols Scanner Version Communication Protocols IdentifierTrouble Shooting Guide Troubleshooting Guide Symptoms Possible Causes SolutionTroubleshooting Guide Unit scans Receiving data but RS-232 Demonstration Program Appendix a Design Specifications OperationalAppendix B Default Settings Light IBM KBW PENDTS/SIEMENS DTS/NIXDORF NCR F NCR S 46XX Light IBM Parameter Msec to Find Supplement Programmable Msec steps max Appendix C RdataCable Connector Configurations Standard PowerLink cable Pin D-type female connector to the PC FunctionPin Male Mini-DIN Pin Function Cable Connector ConfigurationPowerLink Cable Pin Female DIN Pin Function Adapter Cable Pin Male DIN Pin FunctionAppendix D Warranty and Disclaimer Limited WarrantyAppendix E Notices RemarqueAchtung AttenzioneAppendix F PatentsAddendum AddendumIndex CdrhRMA