Metrologic Instruments MS7620 manual RS232 Demonstration Program

Page 40

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 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,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

37

Image 40
Contents MS7600 Horizon Series Installation and User’s Guide Page Table of Contents Introduction Scanner and Accessories DescriptionReplacement Parts Before Installing Your MS7600 N OT PressMounting the MS7600 Series Package FlowOption B Free Hanging Support Option C Trim Ring Mlpn 46-46641, Additional Purchase Installation for Keyboard Wedge Interface Turn on the host systemInstallation for STAND-ALONE Keyboard Interface Stand-Alone Keyboard InterfaceInstallation for USB Interface If you require USB Point of Sale communication protocolsManufacturers Note Installation for RS232 or Light PEN Interfaces RS232 or Light Pen InterfaceFor RS232 Communication Scan 1st Installation for IBM 46XX Interface RS232/IBM, InterfaceInstallation for Ocia Interface OCIA, InterfaceInstallation of a Secondary Scanner Enable AUX Output Connector Orientation Top Secondary Scanner Setup Bottom O t p Scanner PartsEAS Deactivation Antenna Maintenance3, 4, 5, on SW1 & SW2 Scanner Labels Label LocationsAudible Indicators Three Beeps on power upOne Beep Razzberry ToneVisual Indicators Failure Modes Flashing Amber and One Razzberry ToneFlashing Red and Amber Two Razzberry Tones Continuous Razzberry Tone with both LEDs offChanging the Beeper Tone & Volume Changing the Beeper TonePower Save Modes and IR Detection Power Save Modes and IR Detection Scan Volume Specifications Scan Volume in Plane Perpendicular to FlowDepth of Field by Minimum BAR Code Element Width Minimum Bar Code Element WidthTroubleshooting Guide All InterfacesCodes. The scanner defaults to Keyboard Wedge Only RS-232 Only Aux port operation with any interface Design Specifications Electrical RS232 Demonstration Program Keyboard Type Applications and ProtocolsKeyboard Country Type Default Settings IBM KBW USBDTS/SIEMENS DTS/NIXDORF NCR F NCR S Default Settings ACK/NAK Default Settings Default settings for Aux interface Scanner Pinout Connections Scanner and Cable TerminationsMS762x-37 Keyboard Wedge Stand-Keyboard or USB Cable Connector Configurations Host End Cable Connector Configuration Limited Warranty Avertissement AtenciónAchtung AttenzionePatents Index Light PenUSB Page August