MS-3000 Single Head Decoder User's Manual P/N 83-003001 REV.
Information and specifications in this manual are subject to change without notice. Copyright © 1998 by Microscan Systems, Inc., 1201 S.W. 7th Street, Renton, Washington, U.S.A. 98055 (425) 226-5700 FAX: (425) 226-8682 All rights reserved.
Table of Contents List of Illustrations ................................................................................... v List of Tables.......................................................................................... vi About the MS-3000 Decoder ................................................................. vi About This Manual ................................................................................. vi Keystroke Entries...............................................................
Chapter 4 Profile Card Configuration Summary of MS-3000 Modes.............................................................. 4-2 Operating Instructions ......................................................................... 4-3 General Settings.................................................................................. 4-4 Communications Settings.................................................................... 4-6 Operations Settings ..............................................................
List of Illustrations Figure 1-1 System Diagram ....................................................................... 1-2 Figure 1-2 Front Panel ............................................................................... 1-3 Figure 1-3 Trigger Connector Socket ......................................................... 1-4 Figure 1-4 Trigger Connector Wiring Diagram (untriggered) ..................... 1-5 Figure 1-5 Decoder to Scan Head .............................................................
List of Tables Table 1-1 Cable Distances ........................................................................ 1-3 Table 1-2 Trigger Connector Pin Assignments .......................................... 1-4 Table 1-3 Power Connector Pin Assignments ........................................... 1-6 Table 1-4 LAN Connector Pin Assignments .............................................. 1-7 Table 1-5 Host Connector Pin Assignments ..............................................
About the MS-3000 Decoder The MS-3000 single head decoder, companion to Microscan’s MS-520 and MS-1200 scan heads, is designed to accept high speed bar code data from a scan head, translate that data into alphanumeric characters, and send that data to a host or other terminal.
About This Manual This manual provides complete information on setting up and installing the MS-3000 decoder. Chapter 1 provides overall step-by-step instructions for setting up and installing the MS-3000 decoder with specific “go to” references to other chapters and appendices. Chapter 2 provides instructions for configuring the MS-3000 decoder by menu. Chapter 3 provides instructions for configuring the MS-3000 decoder by serial command.
Keystroke Entries Keystrokes to be entered from your terminal are highlighted in bold, as in , including a < left angle bracket symbol (unless redefined by Command Start Character command) and followed by a > right angle bracket symbol.
Approvals • UL (Underwriters Laboratories, Inc.) • CSA (Canadian Standards Association) • TüV (Technischer überwachungs-Verein) European models must use a similarly rated Class 1 or Class 2 power supply that is certified with the standard for Safety EN 60950:1992 + A2:1993 or A3:1995. • FCC (Federal Communication Commission) • This Class A digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations.
Warning and Caution Summary Caution: There are no user serviceable parts in the MS-3000 decoder. Opening the decoder voids the Microscan Systems warranty. Note: The MS-520 and MS-1200 scan heads are designed to be connected to the MS-2000 and 3000 decoders. When installed, power for the scan head is provided by the decoder. Caution: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules.
Safety Labels The following labels are found on the bottom of the MS-3000: T H I S E Q UI P M E N T H A S B E E N T E S T E D W I T H C L A S S A CO M P U T ING D E V I C E S , A N D H A S B E E N FO U N D T O C O M P L Y W I T H P A R T 1 5 O F FC C M A Y C A U S E U N A C C E P T A B L E IN T E R FE R E N C E T O R A D I O A N D T V R U L E S . S E E IN S T R U C T I O N M A N U A L . O P E R A T I O N IN A R E S I D E N T I A L A R E A 1 2 0 1 S . W . 7 th S t.
1 1–Setup and Inst. Chapter 1 Setup and Installation Chapter Contents Step 1 - Plan Scanning System............................................................1-2 Step 2 - Attach Cabling ........................................................................1-3 Step 3 - Configure Decoder................................................................1-10 Step 4 - Position Scan Head and Label .............................................1-10 Step 5 - Do Read Rate Test ...................................
1–Setup and Inst. Chapter 1 Setup and Installation 1 Plan Scanning System Before installing the MS-3000 decoder you should sketch out a diagram of your scanning system, showing equipment, connector and cable types, and cable lengths. Figure 1-1 shows a possible scanning system setup.
Attach Cabling 1–Setup and Inst. 2 Attach Cabling Under ideal conditions, maximum cable lengths can match the distances shown in table 1-1. However, since cable lengths and sizes are dictated by local conditions such as wire size, wire shape (flat or round), shielding, grounding, extraneous signal noise, etc., maximum cable distances will vary. Table 1-1 Cable Distances Maximum Distance Cabling RS-232 Decoder to Host 50 ft. (15.2 m) RS-422 Decoder to Host 4000 ft. (1219 m) Decoder to Scan Head 15 ft.
1–Setup and Inst. Chapter 1 Setup and Installation Trigger Connector The trigger connector (TRIG) is a 6-pin DIN socket (figure 1-3) that mates with a 240 degree 6-pin DIN plug. Pin assignments are shown in table 1-2. Table 1-2 Trigger Connector Pin Assignments 6 1 Pin 5 TRIG 4 3 2 Figure 1-3 Trigger Connector Socket Function 1 Trigger Input +3 VDC to + 24 VDC 2 TTL Relay driver output signal 5 VDC 3 +5 VDC 4 +12 VDC 5 Ground 6 Not used Pin 1 is the input from the object detector.
Attach Cabling Negative Trigger J2 +0 VDC to +24 VDC 1–Setup and Inst. Positive Trigger J2 1 Trigger input 2 Aux. relay driver 3 +5 VD C 4 +12 VD C +0 VDC to +24 VDC 1 Trigger input 2 Aux. relay driver 3 +5 VDC 4 +12 VDC 5 Ground 6 Not used N.C. N.O.
1–Setup and Inst. Chapter 1 Setup and Installation Back Panel Connectors On the rear panel (figure 1-6) there are the following four connectors: a. Power (5-pin DIN socket) b. LAN (modular RJ-11) c. Host (25-pin D-subminiature socket) d. Monitor (9-pin D-subminiature socket) HOST POWER MONITOR LAN Figure 1-6 Rear Panel of MS-3000 Decoder Power Connector The power connector (figure 1-7) has a 5-pin DIN socket with pin assignments shown in table 1-3.
Attach Cabling The Local Area Network (LAN) connector allows the MS-3000 decoder to communicate with a multidrop concentrator via a 4-wire cable (preferably shielded) with a 6-pin, 6-wire, RJ-11 type connector. Pin assignments are as shown in table 1-4. The LAN connector is used when a MS-3000 decoder is configured for RS-485 multidrop communications.
1–Setup and Inst.
Attach Cabling 1–Setup and Inst.
1–Setup and Inst. Chapter 1 Setup and Installation 3 Configure Decoder Settings for Communications, Operations, Code Types, and User Outputs and Raster Setup are stored in non-volatile memory and can be configured by menu, serial command, or profile card commands. For explanations of configuration settings, see Chapter 2, “Menu Configuration.
Do Read Rate Test This test calculates the percentage of scans decoded. It is useful during setup procedures to help optimize scan head-to-label orientation. a. Place the label used in your application in front of the scan head and within the desired read range. Note: Ensure that the label being scanned is of a code type enabled in the decoder’s software. Hint: Read rates are easier to read on the screen if Postamble is enabled. b.
1–Setup and Inst. Chapter 1 Setup and Installation 6 Install Decoder The MS-3000 decoder can be mounted temporarily using the four rubber pads, or permanently, as follows: a. Position the decoder in a dry place. b. Before mounting, ensure that there is at least a 3 inch (76.2 mm) clearance at the rear and front of the decoder for the connectors and cables being used. c. Use the measurements provided in figure 1-12 to locate centers of mounting holes and drill four 5/32 inch or four 4 mm holes. d.
Install Decoder 1–Setup and Inst. If the unit does not have housing, use the measurements provided in figure 1-13 to locate the centers of the mounting holes. Measuremen ts i n inc hes (mill im et ers) Front 1.0" (25.4) 0.160" (4.06) Dia. (4 places) 5.8" (147.32) 3.8" (96.52) 4.5" (114.30) 5.2" (132.08) 5.8" (147.32) 0.030" (7.
1–Setup and Inst. Chapter 1 Setup and Installation Ground and Shield Considerations Proper grounding is necessary for operator safety, noise reduction, and the protection of equipment from voltage transients. Buildings–including any steelwork, all circuits, and all junction boxes–must be grounded directly to an earth ground in compliance with local and national electrical codes. RS-232 signals have a common signal ground (pin 7 of the 25-pin connector).
Chapter 2 Menu Configuration Communications Menu ........................................................................ 2-5 Operations Menu ............................................................................... 2-13 Code Types Menu.............................................................................. 2-22 User Outputs Menu............................................................................ 2-29 Raster Setup Menu ..................................................................
Chapter 2 Menu Configuration Entering the Menu Configuration Program To see the Main menu (figure 2-1), from an ASCII terminal that is connected to the decoder, send the serial command (enter the < > brackets as well as the upper case D).1 2–Menu Config. xx Figure 2-1 Configuration Program - Main Menu2 If the menu does not appear, see Appendix D, “Troubleshooting,” on page A-6. Using the Menu Configuration Program The bottom line on the screen is called the command line.
For example, to enable LRC (see figure 2-2, “Communications Menu Structure,” on page 2-5 and “Longitudinal Redundancy Check” on page 2-10), you would use the following command line path: From the Main menu, press CR at the Communications prompt (this is the first prompt displayed in the Menu Configuration Program) to access the Communications menu.
Chapter 2 Menu Configuration Saving Menu Changes Press ESC (escape key) to see the following on the command line: Press M to return to the Main menu, or press E to exit the Menu Configuration program. If E is pressed, the following question will appear: 2–Menu Config. Press N to exit without saving changes, or press Y to retain the current settings to non-volatile RAM for power up. If Y is selected, a beep will indicate the save has been carried out.
Communications Menu Communications Menu The Communications menu allows you to set the communication protocols between the decoder and the host. Communications – Bold text represents default settings. Host Protocol Protocol – – – – – Preamble – User Defined – User Defined Multidrop – RES – RES – – – Postamble Disabled Enabled – Address = ^A – REQ – EOT – Address = ^A – REQ – EOT LRC – Preamble Point-to-Point – ^M Point-to-Point – User w/RTS/CTS Definable (ASCII char.
Chapter 2 Menu Configuration There are three subtopics in this menu: Host Protocol, Host Port, and Aux Port. To help visualize the menu’s organization and to locate the page number where each topic is described, see figure 2-2, “Communications Menu Structure,” on page 2-5. Note: Changes in Communications parameters or assigning an address to the decoder can cause loss of communications with the configuration terminal when you exit the menu program (whether or not changes are saved for power-on).
Communications Menu Selecting: Has this effect: Used only with RS-232 or RS-422. This selection enables the host to send a single byte transmission command of start (XON) or stop (XOFF). If an XOFF has been received from the host, data will not be sent to the host until the host sends an XON. During the XOFF phase, the host is free to carry on other chores and accept data from other devices. Point-to-Point with RTS/CTS and XON/XOFF Used only with RS-232.
Chapter 2 Menu Configuration Selecting: Has this effect: Used only with RS-232 or RS-422. ASCII characters can be assigned as an address and as protocol commands (RES, REQ, EOT, STX, ETX, ACK, and NAK). User Defined is necessary when a new protocol must be defined to match a specific NOTE: Note: AAspecific specificASCII host protocol.
Communications Menu Preamble Default: Preamble (enable/disable) Default: Disabled Options: Disabled, Enabled (within any protocol) Allows you to enable or disable the preamble character(s). Postamble Default: ^M^J. Corresponds to (carriage return/line feed) displayed in the menu. Options: Any ASCII character, including control characters. Control characters entered on the command line are displayed in the menu as mnemonic characters.
Chapter 2 Menu Configuration Longitudinal Redundancy Check Default: Disabled (in unpolled mode), Enabled (in polled mode) Options: Disabled, Enabled An error-checking routine that verifies the accuracy of transmissions. It is the exclusive OR of all characters following the SOM (start of message) up to and including the EOM (end of message). 2–Menu Config. Response Timeout Default: 12 ms Options: 0 to 65,000 ms. A zero (0) causes an indefinite wait.
Communications Menu Stop Bits Default: One Options: One, Two Allows you to select the last one or two bits in each character to indicate the end of the character. Data Bits RS-422 Default: Disabled Options: Disabled, Enabled Note: Used only in Point-to-Point protocol only, and not with RTS/CTS. Whenever RS-422 is disabled, RS-232 is enabled in the background. However, when Multidrop is enabled, the functioning protocol is RS-485 regardless of the displayed status of RS-422 in the menus.
Chapter 2 Menu Configuration Aux Mode Default: Disabled Options: Disabled, Transparent, Half Duplex, Full Duplex Aux Mode (auxiliary mode) allows you to select a communications mode for auxiliary operations (see Appendix H, “Auxiliary Monitor,” on page A-13). 2–Menu Config. Other Aux Port Parameters The other Aux Port parameters—Baud Rate, Parity, Stop Bits, and Data Bits—are identical to the host port parameters and are changed in the same manner (see page 2-10).
Operations Menu Operations Menu The Operations menu allows you to set the operations parameters for the decoder. To help visualize the menu’s organization and to locate the page number where each topic is described, see figure 2-3.
Chapter 2 Menu Configuration Triggering Mode Default: Continuous Read Options: Continuous Read, Continuous Read 1 Output, External Level, External Edge, Serial Data, Serial Data & External Edge Allows you to establish the type of trigger event that will initiate or end the read cycle. (See “End of Read Cycle” on page 2-16.) 2–Menu Config. Selecting: Continuous Read NOTE: If Continuous Read is enabled with Match Code, the decoder defaults to Continuous Read 1 Output mode.
Operations Menu Selecting: Has this effect: As with Level, Edge allows a read cycle to be initiated by a trigger signal from an object detector when it detects the appearance of an object (rising edge). But unlike Level mode, the removal of an object (falling edge) does not end the read cycle. With Edge enabled, the read cycle ends with a good read, a timeout, or a new trigger (figure -1).
Chapter 2 Menu Configuration End of Read Cycle 2–Menu Config. Default: Timeout Options: Timeout, New Trigger, Timeout & New Trigger Allows you to choose the conditions that will end the read cycle. The read cycle is the time during which the decoder will receive and process label data. When the Triggering Mode option is set in an External or Serial mode of operation, the trigger event initiates the read cycle.
Operations Menu Has this effect: Timeout & New Trigger Ends the read cycle after a specified period of time or at the occurrence of new trigger event, and if no label has been read, causes a noread message, if enabled, to be transmitted. With either External Edge, Serial Data, or Serial Data & Edge enabled, a timeout, or an edge or serial trigger, whichever comes first, ends the read cycle. An edge or serial trigger also initiates a new read cycle.
Chapter 2 Menu Configuration host command and requires the same command format as all host commands (that is, to be entered within the < > brackets). External Trigger Polarity 2–Menu Config. Default: Positive Options: Positive, Negative Note: External Level (page 2-14), External Edge (page 2-15), or Serial Data & Edge (page 2-15) must be enabled for External Trigger Polarity to take effect. “N/A” is displayed in the menu when all other triggering modes are enabled.
Operations Menu When to Output Default: As Soon As Possible Options: As Soon As Possible, End of Read Cycle Allows you to choose when bar code data is sent to the host. Selecting: Has this effect: Causes bar code data (good reads) to be transmitted immediately upon a good decode. End of Read Cycle Causes bar code data output to be delayed until the end of the read cycle.
Chapter 2 Menu Configuration 2–Menu Config. With Match Code enabled, a master label can be entered in three ways: 1. With New Master Pin enabled (see page 2-31), toggling pin 25 to ground (pin 7) enables the next good read to be the master label. 2. Sending serial command enables the next good read to be the master label. 3. Sending serial command <)XXXX)> downloads data as master label. (Master label data is entered in place of the Xs.
Operations Menu Number of Labels Field Separator Default: , (comma) Options: Any available ASCII character, except NUL. Allows you to choose the separator character to be inserted between labels. MS-3000 Single Head Decoder User’s Manual 2-21 2–Menu Config. Default: 1 Options: 1 to 6 Note: If Number of Labels is set to any number greater than one while Match Code or Continuous Read 1 Output is enabled, Number of Labels will default back to one.
Chapter 2 Menu Configuration Code Types Menu The Code Types menu allows you to choose among five bar code types and define their parameters. Code Types – Bold text represents default settings. Narrow Margins Status – 2–Menu Config.
Code Types Menu Note: Options listed in the command line do not always appear in the same order as those posted in the first column of the menu. Options can be defined for any bar code type whether or not the bar code itself is enabled at the time. Narrow Margins Status Code 39 Status Default: Enabled Options: Enabled, Disabled Check Digit Default: Disabled Options: Disabled, Enabled Code 39 is self-checking and does not normally require a check digit.
Chapter 2 Menu Configuration Large Intercharacter Gap Default: Disabled Options: Disabled, Enabled Allows the decoder to read labels with gaps between bar code characters exceeding three times the narrow element width. Fixed Code Length 2–Menu Config. Default: Disabled Options: Disabled, Enabled Used to increase data integrity by ensuring that only one label length will be accepted.
Code Types Menu Large Intercharacter Gap Default: Disabled Options: Disabled, Enabled Allows the decoder to read labels with gaps between bar code characters exceeding three times the narrow element width. Fixed Code Length Code Length Default: 10 Options: 1 to 31 Note: Fixed Code Length (page 2-25) must be enabled for Code Length to take effect. Allows you to specify the exact number of characters that the decoder will recognize. The decoder will ignore any code not having the specified length.
Chapter 2 Menu Configuration Check Digit Output Default: Disabled Options: Disabled, Enabled When enabled, the check digit character is sent along with the label data. When disabled, label data is sent without the check digit. Code Length #1 2–Menu Config. Default: 10 Options: 0 to 30, even. If you enter an odd number the decoder will use the next lower number. With I 2 of 5, two code lengths can be defined.
Code Types Menu Supplementals Separator Default: Enabled Options: Enabled, Disabled Allows you to insert a character between the standard UPC or EAN code and the supplemental code. Separator (character) Default: , (comma) Options: Any ASCII character. Allows you to change the separator character from a comma to a new value. MS-3000 Single Head Decoder User’s Manual 2-27 2–Menu Config.
Chapter 2 Menu Configuration Code 128 Status Default: Disabled Options: Disabled, Enabled Fixed Code Length 2–Menu Config. Default: Disabled Options: Disabled, Enabled Allows you to increase data integrity by ensuring that only one label length will be accepted. Code Length Default: 10 Options: 1 to 31 Note: Fixed Code Length must be enabled for Code Length to take effect. Allows you to specify the exact number of characters that the decoder will recognize.
User Outputs Menu User Outputs Menu The User Outputs menu allows you to configure the decoder’s output.
Chapter 2 Menu Configuration Beeper Speed Default: Fast Options: Fast, Slow Beeper Speed allows you to set the beeper to accommodate your application. The beeper takes approximately 80 ms to sound when Slow is enabled. If your application speed is faster than 80 ms (approximately), enable Fast. 2–Menu Config. Full Screens Default: Enabled Options: Enabled, Disabled Allows you to display either the full menu screen or just the command line.
User Outputs Menu New Master Pin Laser On/Off Default: Disabled Options: Disabled, Enabled Note: A serial or external trigger (see “Triggering Mode” on page 2-14) must be enabled for Laser On/Off to take effect. When enabled, the laser is ON only during the read cycle. When disabled, the laser operates continuously. Note: Laser On/Off does not relate to the (Enable Laser Scanning) or (Disable Laser Scanning) operational commands on page 5-3.
Chapter 2 Menu Configuration Good/Bad Pulse Width 2–Menu Config. Default: 5 (.05 seconds). Corresponds to 50 ms displayed in the menu. Options: 0 to 255 (0 to 2.55 seconds). Divide the number entered on the command line by 100 for time in seconds. Allows you to set the duration of the good read/no read output signals at host connector pins 6 and 8 by entering any number from 0 to 255.
Raster Setup Menu Raster Setup Menu Note: Raster Setup is applicable to the MS-1280 raster scan head only. The Raster Setup menu allows you to set top and bottom offset values as well as the raster motor speed. – Raster Setup – – Enabled Disabled Top Offset in Degrees – – 0 User Definable (0 to 45) Bottom Offset in Degrees – – Sweeps per Second 45 User Definable (0 to 45) – – 2–Menu Config. Status Bold text represents default settings.
Chapter 2 Menu Configuration Note: The top offset must always be less than the bottom offset or the resulting arc will be 0 degrees. Top Offset in Degrees, along with Bottom Offset in Degrees, allows you to set the raster sweep arc. See figure 2-8. Bottom Offset in Degrees 2–Menu Config. Default: 45 (degrees) Options: 0 to 45 (in one-degree increments) Note: The bottom offset must always be greater than the top offset or the resulting arc will be 0 degrees.
Chapter 3 Serial Configuration Chapter Contents This chapter describes how to configure the MS-3000 single decoder by serial commands from a host.1 All of the configuration parameters that can be changed in the menus with the exception of Full Screens, as described in Chapter 2, “Menu Configuration,” can also be changed by serial configuration commands. All of the serial configuration parameters, with the exception of Trigger Filter Timing Value, also appear in the menus.
Chapter 3 Serial Configuration Summary of Serial Configuration Commands Table 3-1 Summary of Serial Configuration Commands Function Host Protocol (Not in menu) KF Trigger Filter Timing Value Kf Protocol Preamble Kd Ke Kc KA KB KT Kb Ka Host Port Ky KU Kg 3–Serial Config.
User Outputs Function Ku Beeper Kv Kz Relay Driver Usage New Master Pin KC Laser On/Off KD KE Reverse Video Good/Bad Polarity Good/Bad Pulse Width Command Start Character KS Verification Serial Command KX User Output Status Request Raster Setup (1280 only) Kw Kx Raster Command Parameter KR Format
Chapter 3 Serial Configuration • All fields preceding the modified field must be included. For example, in the RS-232 port, to change Data Bits to Eight without changing any other field, enter either: or . • All fields following the modified field can be left out. For example, in the RS-232 port, to change Baud Rate to 4800, enter . (See examples on following pages.
access. If this should occur, try gaining access to the decoder by use of a profile card1 or by entering a command from an auxiliary terminal via the auxiliary RS-232 port. If neither of these methods is available, try defaulting the decoder. See Appendix C, “Defaulting the Decoder,” on page A-4. Trigger Filter Timing Value Format: Returns the current trigger filter timing value in milliseconds. Format: Allows you to set trigger filter timing.
Chapter 3 Serial Configuration Communications Commands Note: Changes in Communications parameters or assigning an address to the decoder can cause loss of communications with the configuration terminal when you exit the menu program (whether or not changes are saved for power-on).
Communications Commands Note: Address can be assigned any ASCII character except a null. Control characters are used to define RES through NAK (except Address). Table 3-2 lists the control characters used for these data fields. (Refer to Table A-2, “ASCII Table with Control Characters,” on page A-3 for more information.
Chapter 3 Serial Configuration LRC Format: status: 0 = Disabled 1 = Enabled Example: To enable LRC, enter . Host Response Timeout Format: timeout setting: Any number from 0 to 65,000 (a zero creates an indefinite wait). Default is 12 (ms). Example: To change Response Timeout to 30 ms, enter . Intercharacter Delay 3–Serial Config. Format: time interval (in milliseconds between characters): Any number from 0 to 255. Default is 0.
Communications Commands RS-422 Format: RS-422 status: 0 = Disabled 1 = Enabled Example: To enable RS-422, enter . This command assumes the decoder is in RS-232 before RS-422 is enabled. If a multidrop address has been already assigned, the decoder will be in RS-485 communications, regardless of RS-422 status. Host Port Status Request Format: Returns status of Host Port and RS-422 . Auxiliary Port 3–Serial Config.
Chapter 3 Serial Configuration Operations Commands Triggering Mode Format: 0 = Continuous Read 1 = Continuous Read 1 Output 2 = External Level 3 = External Edge 4 = Serial Data 5 = External and Serial Example: To select External Edge, send: . End of Read Cycle Format: end of read cycle: timeout (in 10 millisecond increments): 0= Timeout Any number between 0 to 65,535. Default is 100 (one seconds). 1= New Trigger 2= External and Serial 3–Serial Config.
Operations Commands Noread Message Format: status: noread message: 0 = Disabled Any ASCII string up to 7 digits. Default is NOREAD 1 = Enabled Example: To enable Noread Message and change noread message to “Fail,” send: . Bar Code Output Format: when to output: status: 0 = As Soon As Possible 0 = Disabled 1 = Enabled 1 = End of Read Cycle Example: To set Bar Code Output to End of Read Cycle, enter .
Chapter 3 Serial Configuration Code Types Commands Narrow Margins Format: status: 0 = Disabled 1 = Enabled Example: To enable Narrow Margins, enter . Code 39 Format: status: check digit status: check digit output status: 0 = Disabled 0 = Disabled 0 = Disabled 1 = Enabled 1 = Enabled 1 = Enabled 3–Serial Config. large interchar.
Code Types Commands I 2 of 5 Format: status: check digit status: check digit output status: 0 = Disabled 0 = Disabled 0 = Disabled 1 = Enabled 1 = Enabled 1 = Enabled code length #1: code length #2: Zero or any even number Zero or any even number from 2 to 30. Default from 2 to 30. Default is 10.
Chapter 3 Serial Configuration User Outputs Commands Beeper Format: beeper status: beeper volume: beeper speed: 0 = Fast 0 = Disabled 0 = Level 1 1 = On Good 1 = Slow 1 = Level 2 2 = On Noread 2 = Level 3 3 = Level 4 4 = Level 5 Example: To enable the beeper for On Noread and set the beeper volume to Level 5, enter . Relay Driver 3–Serial Config.
User Outputs Commands Serial Command Verification Format: serial command echo status: 0 = Disabled 1 = Enabled serial command beep status: 0 = Disabled 1 = Enabled control/hex output: 0 = Control 1 = Hex Example: To enable Serial Command Echo Status and Beep Status, and Hex output, enter Serial Command Echo Status When enabled, serial configuration commands (“K” commands) will be processed and the new string for that
Chapter 3 Serial Configuration Good/Bad Polarity Format: polarity: 0 = Negative 1 = Positive Pin 6 and 8 on host connector, and pin 2 on trigger connector. Example: To change Good/Bad Polarity to Negative, enter . Good/Bad Pulse Width Format: duration of relay pulse: Any number from 0 to 255. Default is 5 (50 ms). Pin 6 and 8 on host connector, and pin 2 on trigger connector. Example: To set Good/Bad Pulse Width to 600 ms, enter . 3–Serial Config.
Raster Setup Commands Raster Setup Commands Format: status: top offset in degrees: 0 = Disabled Any number from 0 to 45. Default is 0. 1 = Enabled bottom offset in degrees: Any number from 0 to 45. Default is 45. motor speed (in sweeps per second): Any number from 0 to 135. Default is 14. Example: To set the raster arc to 35º and the raster motor speed to 10 sweeps per second, enter . 3–Serial Config.
Serial Configuration 3–Serial Config.
Chapter 4 Profile Card Configuration Chapter Contents Summary of MS-3000 Modes ....................................................... 4-2 Operating Instructions................................................................... 4-3 General Settings ........................................................................... 4-4 Communications Settings ............................................................. 4-6 Operations Settings ......................................................................
Chapter 4 Profile Card Configuration Summary of MS-3000 Modes Table 4-1 Profile Card Mode Descriptions Mode 0 1 2 3 4 5 6 7 4–Profile Card. 8 9 10 11 12 13 14 4-2 Parameter Function Write-to-Device Downloads (copies) all of the configuration parameters from the Function profile card to the connected decoder. Uploads configuration data from the volatile RAM of the decoder to Read Function the non-volatile RAM of the profile card. Default Sets unit to the default configuration settings.
Profile Card Configuration Operating Instructions The profile card obtains all operating voltages from the decoder. Turn the decoder off before starting procedures. 1. With the decoder OFF, insert the end of the profile card which is labeled DECODER into the port labeled HOST on decoder. ON Data switches are on the left, mode switches on the right. Note: Be sure all of the data switch settings are correct for the selected mode before pressing the load button. DECODER 3.
Chapter 4 Profile Card Configuration General Settings Mode 0: Write, Read, Default, Menu Mode Switches = On = Off Data Switches 1 2 3 4 Write Read Default Menu 4–Profile Card. Note: Unintentional defaults may occur when using the profile card‘s write functions (modes 0 and 1) to copy configuration changes from versions -26 and earlier to versions -27 and later (and vice versa), and when copying from versions -27 through -31 to versions -32 and later (and vice versa) of Microscan standard firmware.
Profile Card Configuration Mode 1: Write Configuration and Assign Address Mode Switches = On = Off Data Switches Address a 1 2 3 4 5 6 Address Address 1 2 3 4 5 6 Address 1 2 3 4 5 6 1 2 3 4 5 6 14 27 40 2 15 28 41 3 16 29 42 4 17 30 43 5 18 31 44 6 19 32 45 7 20 33 46 8 21 34 47 9 22 35 48 10 23 36 49 11 24 37 50 12 25 38 13 26 39 4–Profile Card. 1 a. Use these switch settings for mode 2, 9, 10, and 11.
Chapter 4 Profile Card Configuration Communications Settings Note: Changes in Communications parameters or assigning an address to the decoder can cause loss of communications with the configuration terminal when you exit the menu program (whether or not changes are saved for power-on). Mode 2: Address Mode Switches = On = Off Address selection for mode 2 is identical to mode 1. See mode 1 for switch settings.
Profile Card Configuration Mode 4: Preamble, Postamble Mode Switches = On = Off Data Switches Preamble Postamble 1 2 Disabled Disabled Enabled Enabled Mode 5: Protocol, Host Port RS-422 = On Mode Switches = Off Data Switches Protocol RS-422 123 4 Point-to-Point Disabled Point-to-Point with RTS/CTS Enabled Point-to-Point with XON/XOFF Point-to-Point with RTS/CTS & XON/XOFF 4–Profile Card.
Chapter 4 Profile Card Configuration Operations Settings Mode 6: Aux Port Mode Switches = On = Off Data Switches Aux port mode: 12 Disabled Transparent Half Duplex Full Duplex Mode 7: Triggering Mode, End of Read Cycle Mode Switches = On 4–Profile Card.
Profile Card Configuration Mode 8: Bar Code Output, When to Output, External Trigger Polarity, Match Code, Noread Message Mode Switches = On = Off Data Switches Bar Code Output When to Output External Trigger Polarity Match Code Noread Message 1 2 3 4 5 Disabled As Soon as Possible Negative Disabled Disabled Enabled End of Read Cycle Positive Enabled Enabled Mode 9: Timeout Mode Switches = On = Off Since the number of profile card settings is limited to 255, trigger timeouts entered
Chapter 4 Profile Card Configuration Mode 10: Serial Trigger Character = On Mode Switches = Off You can define the Serial Trigger Character with an ASCII character of your choice, or you can use the samples provided below. To use other ASCII characters, see the ASCII table in appendix B for characters and their corresponding decimal values. See mode 1 for values from 1 to 50, or “Binary Calculations” on page 4-13 for decimal values from 51 to 255.
Profile Card Configuration Code Types Settings Mode 12: Code 39, Codabar, I 2 of 5, UPC, Code 128, Narrow Margins Enabling data switches 1 through 5 will autodiscriminate for all code types.
Chapter 4 Profile Card Configuration Mode 14: Relay Driver, Full Screens, Good/Bad Polarity, New Master Pin, Laser On/Off, Reverse Video Mode Switches = On = Off Data Switches Relay Full Driver Screens Good/Bad Polarity New Master Pin Laser On/Off Reverse Video 12 4 5 6 7 3 Good Match Disabled Negative Disabled Disabled Disabled Mismatch Enabled Positive Enabled Enabled Enabled Noread 4–Profile Card.
Profile Card Configuration Binary Calculations Data switch settings for values 51 to 255 must be determined by the user with binary calculation. (Specifically, the timeout values for 51 to 255 in mode 9 and various serial trigger character selections in mode 10.) The eight data switches on the profile card represent the eight data bits that define any number from 0 to 255 in binary format. To convert a number to its binary equivalent: 1.
Profile Card Configuration 4–Profile Card.
Chapter 5 Operational Commands Chapter Contents Summary of Operational Commands ........................................... 5-2 Program Management Commands............................................... 5-3 Device Control Commands........................................................... 5-3 Code Type Commands................................................................. 5-4 Counter Commands...................................................................... 5-4 Test Commands .......................
Chapter 5 Operational Commands Summary of Operational Commands Table 5-1 Summary of Operational Commands Command Type Program Management Command Software Reset (does not save for power-on) Enter Configuration Mode Device Control Code Types Counters Test Status 4–Operations Master Label Result Save Configuration for Power-on Echo Data to Aux Monitor Enable Laser Scanning Disable Laser Scanning Host Relay Driver Autodiscriminate All Codes Enab
Operational Commands Program Management Commands Initialize Software Reset. Initializes all serial configuration commands in RAM and RAM resets all counters and operating parameROM NOVRAM ters. Changes for Baud Rate, Stop Bits, Code Length, etc. do not take effect until this command is sent. Note: Software Reset will cause the numeric counters in use to lose their count; record all data that you wish to save prior to sending this command. Enter Configuration Mode.
Chapter 5 Operational Commands NOTE: For maximum scanning speed, enable only those bar code symbologies used in the application. Enable Code 39 Only. Allows only Code 39 labels to be read. Enable Codabar Only. Allows only Codabar labels to be read. Enable I 2 of 5 Only. Allows only Interleaved 2 of 5 labels to be read. Counter Commands 4–Operations The Xs in all counter commands denote a numeric value from 00000 to 65,535.
Operational Commands Test Commands Enter Read Rate Test. Instructs the decoder to output the percentage of scans decoded. The read rate can vary dramatiRead Rate cally due to the angle and location of the Percentage label in relation to the scan beam. This test Label is very useful in aligning and positioning the Data scan head during installation. Enter Scan Rate Test. Displays the current number of scans per second produced by the spinning mirror. Exit Read Rate or Scan Rate Test.
Chapter 5 Operational Commands 4–Operations downloaded at any time, and can be saved in nonvolatile memory with a command. A stored master label will not affect standard operation unless Match Code option is enabled. The Xs denote alphanumeric data, from 1 to 31 characters. <)> Request Master Label Information. Immediately sends the master label information to the host. To prevent conflicts with outputting label data, first send the command (Disable Laser Scanning (Laser Off)).
Contents Appendix A — Decoder Specifications ...............................................A-2 Appendix B — ASCII Table.................................................................A-3 Appendix C — Defaulting the Decoder ................................................A-4 Appendix D — Troubleshooting ...........................................................A-6 Appendix E — Interfacing with the MS-90 Scan Head .......................A-9 Appendix F — Bar Code Symbology ..................................
Appendix A — Decoder Specifications Mechanical (MS-2000) Electrical Characteristics Length: 5.8 in. (147.3 mm) Width: 5.8 in. (147.3 mm) Height: 1.0 in. (25.4 mm) Weight: 7.5 oz. (213 grams) Power Supply Requirements: +12 VDC regulated @ 40 mA maximum with 20 mV p-p max. ripple –12 VDC regulated @ 40 mA maximum with 20 mV p-p max. ripple +5 VDC regulated @ 300 mA maximum with 200 mV p-p max. ripple Fro nt Me as u r e m e n ts in in c h es ( m il l i m et er s) 1.0 " (25.
ASCII Table Table A-2 ASCII Table with Control Characters Dec Hex Mne Ctrl Dec Hex Ch Dec Hex Ch Dec Hex Ch 00 01 00 01 NUL SOH ^@ ^A 32 33 20 21 SP ! 64 65 40 41 @ A 96 97 60 61 ` a 02 03 02 03 STX ETX ^B ^C 34 35 22 23 " # 66 67 42 43 B C 98 99 62 63 b c 04 05 04 05 EOT ENQ ^D ^E 36 37 24 25 $ % 68 69 44 45 D E 100 101 64 65 d e 06 07 06 07 ACK BEL ^F ^G 38 39 26 27 & ' 70 71 46 47 F G 102 103 66 67 f g 08 09 08 09 BS HT ^H ^I 40 41 2
Appendices Appendices Appendix C — Defaulting the Decoder Defaulting the decoder resets the decoder configuration parameters to their original default values. Defaulting is necessary if: • You wish to quickly restore default settings to the configuration program after making some temporary changes.1 • Communications between the decoder and another device are interrupted because of incompatible settings (for example, a terminal is set to communicate at 9600 baud, but the decoder is configured at 38.
Defaulting the Decoder If a profile card is not accessible, it is necessary to default the decoder by shorting pins 7 and 11. Caution: Be certain that the correct pins are shorted. Shorting the wrong pins can cause serious damage to the unit. Procedure: 1. Turn power to the decoder ON. 2. Locate pins 7 and 11 on the host connector (figure A-4) and mark with a pen. (Use a small length of light wire approx. 4 inches, 18 to 26 gauge for shorting.) 3. Momentarily short pins 11 and 7.
Appendices Appendices Appendix D — Troubleshooting The MS-3000 decoder, when used correctly with a properly adjusted scan head, should produce good reads (see scan head user’s manual). If not, A-3 lists some of the more common problems associated with setting up and using the decoder. If you are unable to locate or correct the problem, call your Microscan representative.
Troubleshooting Problem Decoder does not transmit or decode labels (decoder indicator lights on but no data is displayed on screen) Possible Cause Decoder is not triggered when in external mode. Ensure trigger device is operating properly. Do Read Rate Test . If it reads successfully, the problem is triggering. Decoder is not triggered when in serial mode. Ensure serial trigger character is sent with start/ stop characters (a left angle bracket < (unless redefined) and a right angle bracket >).
Appendices Appendices Table A-3 Troubleshooting Table (continued) Problem Getting only noread messages on the screen Previous label read, but subsequent label will not read Decoder not communicating in polled mode. Decoder not entering read cycle (trigger not working) Decoder not reading during the read cycle A-8 Possible Cause Solution Label misaligned or reflecting direct laser light Ensure the label is not excessively skewed, tilted, or otherwise disoriented.
Interfacing with the MS-90 Scan Head This appendix describes Label Speed, a User Outputs option (see figure A5) that is exclusive to the MS-90 scan head. When using a MS-90 scan head with an MS-2000/ 3000 decoder, it is necessary to install MS-90 firmware (35-213034-XX) that makes Label Speed available.1 Other than the differences noted in this appendix, configuration for the MS90 is identical to standard single scan head configuration described in this manual.
Appendices Appendices Setting the correct label speed is important when using the MS-90 with the MS-3000 decoder. Tables A-6 and A-7 show label speeds in inches per second for Slow, Medium, and Fast menu label speeds for 2.5:1 ratio (as used in Code 39) and 4:1 ratio (as used in Code 128) respectively.
Bar Code Symbology Appendices Appendix F — Bar Code Symbology Some factors to consider before choosing a bar code symbol are:1 • the type of information to be scanned (numeric only, alphanumeric) • the length of the messages to be encoded • how and where labels are to be applied • label printer capabilities • scan speed • beam width • the space available on the object to be identified • host software limitations • range of the scan head • the speed of the conveyor Microscan standard decoder firmware su
Appendices Appendices Appendix G — Interface Standards Interface Standards, established by the Electronic Industries Association (EIA), specify such things as the signaling voltage levels, maximum cable lengths, and number of drivers. With Microscan devices, selection of interface is made by pin assignment and, in the case of the host communications, by software switching between RS-232 and RS-422. Microscan devices use RS-232, RS-422, and RS-485 multidrop.
Auxiliary Monitor Appendices Appendix H — Auxiliary Monitor An auxiliary monitor, via a 9-pin cable connected to the decoder with a D-subminiature connector, can: 1. Echo data from the decoder or host. 2. Send data to the host. 3. Access and make changes to the decoder's configuration menus. The monitor can be configured to operate in one of three modes: • Transparent • Non-Buffered Half Duplex • Non-Buffered Full Duplex Note: Transparent can be used with all protocols.
Appendices Appendices Data initiated from the Decoder • Transmission to the monitor occurs immediately upon a good read. • Scan data to the monitor does not include a preamble or a postamble. • Communications with the monitor is always in Point-to-Point protocol, even if the host is in a polled protocol mode. Host Monitor Data initiated from the Host • In polled mode, data echoed from the host to the monitor must be in the format (e.g.
Auxiliary Monitor Data initiated from the Decoder • Scan data is transmitted to the monitor at the same time it is transmitted to the host. Host • Data transmission conforms with all parameters specified in the configuration menu (e.g., Preamble, Postamble, End of Read Cycle). Monitor MS-3000 Decoder Data is initiated from the Host • In polled mode, data echoed from the host to the monitor must be in the format (i.e.
Appendices Appendices Full Duplex Mode In full duplex mode, all monitor data and bar code data is sent directly to the host. Bar code data is not displayed on the monitor screen. Data initiated from the Monitor • Monitor data is passed directly through to the host whenever it is received by the MS-3000, unless the decoder is in a polled mode, in which case the data will be ignored. Host Monitor • Monitor data is not echoed. • Monitor data to the host will not have a preamble or a postamble.
Multidrop Communications This appendix describes the rules for setting up a concentrator or controller to communicate with a decoder in standard Multidrop protocol, as presented in “Protocol,” on page 2-6. Figure A-6 shows a typical Multidrop network in which 1 to 50 scanners can communicate with a host via an intermediary device, a concentrator or a controller. Multidrop Addresses Host Concentrator or Controller • No two decoder in the Multidrop Network can have the same address.
Appendices Appendices Polling Sequence Data that is transmitted to the host (bar code data, noread messages, counters, etc.) via concentrators is solicited by poll requests from the host. Start of Sequence Concentrator Decoder 02 End of Sequence RES 1E REQ ACK 1E STX DATA ETX LRC RES Figure A-7 Polling Sequence The polling sequence example in figure A-7 begins with a RES (reset) from the concentrator followed by poll address 1E (ASCII hex value for Decoder 02) and a REQ (request).
Multidrop Communications Unlike poll requests, select commands always originate from the host and consist of serial configuration or operation commands to devices that are configured in Multidrop. The decoder complies with the command when it is polled during the cycle. Figure A-8 is an example of a select sequence. Start of Sequence Concentrator RES 1F REQ Decoder 02 End of Sequence STX ETX LRC 1F ACK RES 1F ACK Figure A-8 Select Sequence A RES (reset) is the first command in the select sequence.
Appendices Appendices Table A-6 Multidrop Address Characters Multidrop Address A-20 Poll Character Select Character ASCII HEX ASCII HEX 01 ^\ 1C ^] 1D 02 ^^ 1E ^- 03 SP 20 04 " 05 $ 06 & 26 ' 07 ( 28 ) 08 * 2A + 09 , 2C 10 .
Glossary of Terms Autodiscriminate. The ability to decode various bar code symbologies without changing configuration. AWG. Abbreviation for American Wire Gauge. This is a standard measuring system for wire sizes, listed from 0 (biggest) to 40 (smallest). A 26 AWG is equivalent to 0.0159 in. (0.405 mm) in diameter. Bar Code. Data that has been encoded into an array of parallel bars and spaces of varying widths. Bar Code Density. Number of characters per inch or other unit of measure. Baud Rate.
Appendices Appendices End of Read Cycle. The time at which the decoder stops expecting label information to decode. This can be caused by a timeout, a trigger event, or a good read. Focal Length. The distance measured from the scan head to the center of the depth of field, or focal point. Good/Bad Pulses. TTL signals sent by the decoder to indicate to a controlling device that a good or bad read has occurred. Good Match.
Glossary of Terms Number of Scans Calculation. The number of times a bar code label is scanned by the decoder during one pass through the laser beam. Object Detector. A photo electric device used to sense to presence or absence of an object. Operational Commands. Serial commands from the host to the decoder to control current operating parameters, counters, master label operations, and program management. Oval Spot.
Appendices Appendices Relay Driver. A TTL signal sent by the decoder. The output is determined by the relay driver selection during configuration. Round Spot. The standard laser beam as it appears on the label being scanned, sometimes slightly ovalized. Scanner. A scanning device which is comprised of a scan head and a decoder integrated in one package. Scan Head. The module that projects laser light on bar code labels and receives reflected light back.
Index A B Bar Code Output by menu selection 2-18 by profile card (mode 8, enable/disable only) 4-9 by serial command 3-11 Bar Code Symbology A-10 Baud Rate (aux port) by menu selection 2-10, 2-12 by serial command 3-9 Baud Rate (host port) by menu selection 2-10 by profile card (mode 3) 4-6 by serial command 3-8 Beep on Serial Command by serial command 3-15 Beep on Serial Command 2-32 C Cabling 1-3 Carriage Returns (as characters) 2-4 Check Digit of code 39 (menu) 2-23 of code 39 (serial) 3-12 of interlea
Index Index by profile card (mode 12, enable/disable only) 4-11 by serial command 3-12 definition A-11 operational command 5-4 See also Check Digit, Check Digit Output, Large Intercharacter Gap, Fixed Code Length, and Code Length Code Length of codabar (menu) 2-25 of codabar (serial) 3-12 of code 128 (menu) 2-28 of code 128 (serial) 3-13 of code 39 (menu) 2-24 of code 39 (serial) 3-12 Code Length #1 (I 2 of 5) by menu selection 2-26 by serial command 3-13 Code Length #2 (I 2 of 5) by menu selection 2-26 by
F Field Separator by menu selection 2-21 Fixed Code Length of codabar (menu) 2-25 of codabar (serial) 3-12 of code 128 (menu) 2-28 of code 128 (serial) 3-13 of code 39 (menu) 2-24 of code 39 (serial) 3-12 Full Duplex Mode by menu selection 2-12 by profile card (mode 6) 4-8 by serial command 3-9 description A-16 Full Screens by menu selection 2-30 by profile card (mode 14) 4-12 G Good Decode Reads.
Index See also Check Digit, Check Digit Output, Code Length #1, and Code Length #2 Index L Label Speed MS-90 A-9 LAN Connector 1-7 Large Intercharacter Gap of codabar (menu) 2-25 of codabar (serial) 3-12 of code 39 (menu) 2-24 of code 39 (serial) 3-12 Laser On/Off by menu selection 2-31 by profile card (mode 14) 4-12 by serial command 3-14 operational command (enable and disable) 5-3 Longitudinal Redundancy Check by menu selection 2-10 by serial command 3-8 LRC.
O Object detector 1-4 Operational Commands Summary 5-2 Operations by menu selection 2-13–2-21 by profile card 4-8–4-10 by serial command 3-10–3-11 See also Triggering Mode, End of Read Cycle, Timeout, Serial Trigger Character, External Trigger Polarity, Noread Message, Bar Code Output, When to Output, Number of Reads, Match Code, Number of Labels, and Field Separator Operations Status Request by serial command 3-11 P Parity (aux port) by menu selection 2-10, 2-12 by serial command 3-9 Parity (host port) b
Index summary of modes 4-2 Protocol by menu selection 2-6 by profile card (mode 5) 4-7 by serial command 3-6 Q Quiet Zones 2-23, A-23 Index R Raster Setup by menu selection 2-33–2-34 by serial command 3-17 See also Top Offset in Degrees, Bottom Offset in Degrees, and Sweeps per Second Read Cycle A-23 Read Rate Test operational commands (enter and exit) 5-5 procedure 1-11 Relay Driver by menu selection 2-30 by profile card (mode 14) 4-12 by serial command 3-14 Relay driver 1-4 Request-to-send 1-8 Response
T Terminal Communications 2-1 Timeout & New Trigger by menu selection 2-17 by profile card (mode 7) 4-8 Timeout (end of read cycle option) by menu selection 2-16 by profile card (mode 7) 4-8 Timeout in 10 ms incs by menu selection 2-17 by profile card (mode 9) 4-9 Top Offset in Degrees by menu selection 2-33 by serial command 3-17 Transparent Mode by menu selection 2-12 by profile card (mode 6) 4-8 by serial command 3-9 description A-13–A-14 Trigger Connector 1-4 Trigger Counter Commands operational command
Index Index I-8 MS-3000 Single Head Decoder User’s Manual