Metrologic Instruments MS9500 manual Host Scanner Feature Command Ascii Representation Response

Page 21

Programming Modes (continued)

4.During programming, the motor and laser remain active. YOU CANNOT SCAN ANY BAR CODES WHILE IN PROGRAM MODE.

5.There is a 20 second window between commands. If a 20 second timeout occurs, the scanner will send a [nak] and you must start over.

6.To enter serial program mode, send the following command [stx]999999[etx].

7.To exit serial program mode, send the following command [stx]999999[etx], the scanner will respond with an [ack] and a long beep.

8.This mode uses the current Baud Rate, Parity, Stop Bits and Data Bits settings that are configured in the scanner. The default settings of the scanner are 9600, Space, 2, 7 respectively. If a command is sent to the scanner to change any of these settings, the change will NOT take effect until after serial program mode is exited.

EXAMPLE #2: The following example will set the scanner to the factory default settings, Disable Scanning of Code 128 bar codes, change the beeper tone, and add a “G” as a programmable prefix.

 

HOST

 

 

SCANNER

FEATURE

COMMAND

ASCII REPRESENTATION

RESPONSE

Enter Program Mode

[stx]999999[etx]

02h 39h

39h 39h 39h 39h 39h 03h

[ack] or 06h

Load Defaults

[stx]999998[etx]

02h 39h

39h 39h 39h 39h 38h 03h

[ack] or 06h

Disable Code 128

[stx]100113[etx]

02h 31h

30h 30h 31h 31h 33h 03h

[ack] or 06h

Alternate Tone 1

[stx]318565[etx]

02h 33h

31h 38h 35h 36h 35h 03h

[ack] or 06h

Prog. Prefix #1

[stx]903500[etx]

02h 39h

30h 33h 35h 30h 30h 03h

[ack] or 06h

Code Byte 0

[stx]0[etx]

02h 30h

03h

[ack] or 06h

Code Byte 7

[stx]7[etx]

02h 37h

03h

[ack] or 06h

Code Byte 1

[stx]1[etx]

02h 31h

03h

[ack] or 06h

Exit Program Mode

[stx]999999[etx]

02h 39h

39h 39h 39h 39h 39h 03h

[ack] or 06h

The scanner will emit a long beep!

The commands sent to the scanner do not include the small superscripted ‘3’ that you see in front of each bar code string in the MetroSelect manual. THE ‘3’ SHOULD NOT BE SENT, IT IS A CODE TYPE DESIGNATION ONLY!

As you will note for commands requiring additional bar codes to be scanned (such as prefixes, suffixes, timeouts, etc.), simply send the code bytes in the same order that you would normally scan the bar codes.

16

Image 21
Contents Page USA Corporate Headquarters Europe LocationsIii Table of Contents Appendix B Appendix aAppendix C Appendix DVoyager Voyager CodeGate Interface IntroductionScanner and Accessories ∙ Installation and User’s Guide MlpnVoyager MS9540 CodeGate Single-Line Laser Scanner Quick Start Installing the Scanner to the Host System Disconnecting PowerLink Cables from the Scanner Two Modes of Operation How to Use CodeGate MS9540 OnlyAssembling the Stand Kit #46-46055 ContainsStand Option 1 Self-supported Stand Option 2 Hard-mounted to countertop Scanner Parts Three Beeps On Power Up Audible IndicatorsOne Beep Razzberry ToneThis is a failure indicator. Refer to Failure Modes on Visual Indicators Steady Red, Green off Alternating Flashing of Green and RedFlashing Green and one Razzberry Tone Failure ModesHow does Serial Programming work? Programming ModesHost Scanner Feature Command Ascii Representation Response Abbreviated Ascii Table Upgrading the Flash Rom Firmware Avoid Exposure laser light emitted from this aperture LabelsDistance Depth of FieldScanner Face Width of Scan FieldIR Activation Maintenance Scanner Version Communication Protocols Identifier Applications and ProtocolsTrouble Shooting Guide Symptoms Possible Causes Solution Troubleshooting GuideTroubleshooting Guide Unit scans Receiving data but RS-232 Demonstration Program Operational Appendix a Design SpecificationsLight IBM KBW PEN Appendix B Default SettingsDTS/SIEMENS DTS/NIXDORF NCR F NCR S 46XX Light IBM Parameter Msec to Find Supplement Programmable Msec steps max Rdata Appendix CPin D-type female connector to the PC Function Cable Connector Configurations Standard PowerLink cablePowerLink Cable Pin Female DIN Pin Function Cable Connector ConfigurationPin Male Mini-DIN Pin Function Adapter Cable Pin Male DIN Pin FunctionLimited Warranty Appendix D Warranty and DisclaimerRemarque Appendix E NoticesAttenzione AchtungPatents Appendix FAddendum AddendumCdrh IndexRMA