The text of a manual · part 20 of 23
MS-850 Raster Scanner User's Manual, pages 191 to 200
Pages 191 to 200 of 222
The original document is the PDF (4.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Microscan MS-850
Page 191
ASCII Table Table A-8 Communication Protocol Commands Protocol Command Control Characters Hex (Mnemonic displayed (Entered in menu or Code on Microscan menu) serial command)
Effect of Command
RES
^D
04
Reset
REQ
^E
05
Request
EOT
^D
04
Reset
STX
^B
02
Start of Text
ETX
^C
03
End of Text
ACK
^F
06
Acknowledge
NAK
^U
15
Negative Acknowledge
XON
^Q
11
Begin Transmission
XOFF
^S
13
Stop Transmission
Appendices
MS-850 Raster Scanner User’s Manual
A-17
Page 192
Appendix F
Appendix F, Embedded Menus In addition to ESP-MP, you can also use a communications menu such as Microsoft’s HyperTerminal to establish communication with Microscan’s embedded menus.1 1. With your host connected to the 25-pin configuration port, set your host communications settings as follows: 9600, 7, 1, and Even. 2. Set Flow Control to None. 3. Make the communications port selection. (Usually COM 1 or COM 2 for desktops and COM 1 for laptops.)
Appendices
4. Upon connection, send a <D> command to bring up the main menu.
Menu navigation commands are case sensitive. Use the space bar or N to advance to the next item, CR (return key) to select a highlighted item, B to return to the previous item, M to return to the previous menu, and ESC to return to the Main menu or to exit the program. When exiting the program, you will be prompted to save your active settings for power up (Y or N). Typing Y will be equivalent to saving with a <Z> command.
1. If you are using Microsoft’s HyperTerminal program, you may find that the initial screen is unviewable when you call up the program with the <D> command. If this occurs, simply exit the embedded menu with a ESC, E, and N sequence and repeat the <D> command.
A-18
MS-850 Raster Scanner User’s Manual
Page 193
Defaulting/Saving/Initializing
Appendix G, Defaulting/Saving/Initializing Defaults are original or saved settings. Defaulting occurs when default settings (from flash or user-saved NOVRAM) are restored. Defaulting might be necessary if you have make temporary changes, communications between the scanner and another device are lost or interrupted, or you are using incompatible equipment (for example, a terminal that is set at 9600 baud communicating with a scanner that is set at 38.4K baud). Initializing occurs whenever any command or set of commands is implemented. Active Memory (SRAM) is where the scanner’s active settings are stored during use. These are not available on power-up. User-saved NOVRAM (non-volatile random access memory) is where the scanner’s operating parameters are stored for power-on. It can be changed by user command. Flash Defaults is where the scanner’s default download/boot programs are stored. It can only be changed by downloading application/boot codes.1
Defaulting • Restores user-defined NOVRAM settings to active memory.
<An>
• Initializes serial configuration commands in active memory and resets counters to zero.
Appendices
Restore NOVRAM Defaults to Active Memory Initialize Active Memory
By Serial Command Send <An> command to the scanner.
By ESP (There is no equivalent ESP command.) Restore Flash Defaults to Active Memory • Restores flash defaults to memory. • Initializes serial configuration commands in active memory and resets counters to zero.
User-Saved NOVRAM
<Ad>
Send <Ad> command to the scanner.
Initialize Active Memory
• Does not save settings to NOVRAM for power-on.
By Serial Command
Flash Defaults
User-Saved NOVRAM
Flash Defaults
By ESP 1. Right-click in the configuration window and select Default All ESP Settings. 2. Right-click and select Save to Scanner, Send and Save. 1. See your Microscan sales representative to access the latest application codes. MS-850 Raster Scanner User’s Manual
A-19
Page 194
Appendix G Restore Flash Defaults to Active Memory and for Power-on Caution: Defaulting the scanner to flash default settings will overwrite user-saved NOVRAM settings. • Restores flash defaults to memory.
<Zd>
Active Memory
• Restores flash defaults to user-saved NOVRAM for power-on. • Initializes serial configuration commands in active memory and resets counters to zero.
Initialize
User-Saved NOVRAM
Flash Defaults
By Serial Command Send <Zd> command to the scanner.
By ESP 1. Right-click in the configuration window and select Default All ESP Settings. 2. Right-click and select Save to Scanner, Send and Save.
Appendices
By Hardware Default If a software default reset is not possible, it may be necessary to reset the scanner by shorting (connecting) specific pins. This procedure has the same effect as the <Zd> software command. 1. Apply power to the scanner. 2. Locate pins or wires that have continuity to pins11 and7 on the back of the scanner (see figure A-5 on page A-25). Caution: Be certain that the correct pins are located. Connecting the wrong pins could cause serious damage to the unit. 3. Momentarily connect these wires (or pins) and listen for a series of short beeps. 4. Within 3 seconds, connect them again. A longer beep should be heard. If not, repeat the process.
A-20
MS-850 Raster Scanner User’s Manual
Page 195
Defaulting/Saving/Initializing
Saving Save Active Settings except Factory for Power-on • Initializes serial configuration commands in active memory and resets counters to zero.
Initialize
<Z >
• Saves all active settings except factory settings to NOVRAM for power-on.
By Software Command Send <Z> command to the scanner.
By ESP
Active Memory User-Saved NOVRAM
Flash Defaults
Right-click in the configuration window and select Save to Scanner, Send and Save.
Save Active Settings including Factory for Power-on • Initializes serial configuration commands in active memory and resets counters to zero.
By Serial Command
Active Memory and Factory Settings User-Saved NOVRAM
Flash Defaults
Send <Zp> command to the scanner.
By ESP Right-click in the configuration window and select Advanced, Send and Save, Including Factory.
MS-850 Raster Scanner User’s Manual
A-21
Appendices
• Saves all active settings including factory settings to NOVRAM for power-on (factory settings include but are not limited to Focus, Gain, Tracking, and Scan Speed).
Initialize
<Zp>
Page 196
Appendix G
Initializing Initializing is a part of all save and default functions. It is also used as a follow-on to implement serial configuration commands into active memory. • Initializes serial configuration commands in <A > Initialize active memory and resets counters to zero. • Does not save settings to NOVRAM.
Active Memory
By Serial Command Send <A> after a serial configuration command or a string of serial configuration commands, for example, <Kd1><A>.
User-Saved NOVRAM
Flash Defaults
By ESP Right-click in the configuration window and select Save to Scanner, Send No Save. This will initialize all serial configuration changes that have been made in the current ESP session.
Appendices
Loss of Communications Making changes to communications with the host such as Baud Rate, Parity, Stop Bits, LRC, etc. without corresponding changes in linked device(s) can result in the loss of menu access through If this should occur, you should restore the scanner’s defaults.
A-22
MS-850 Raster Scanner User’s Manual
Page 197
Position Scanner and Bar Code
Appendix H, Position Scanner and Bar Code In positioning the scanner in relation to the bar codes being scanner, consider the following: • Position the scanner in a place devoid of sunlight, bright lights, or laser light from other sources. • Avoid excessive tilt, skew, or pitch. Maximum tilt is determined by label characteristics and the number of decodes required. Maximum skew is ±40°; maximum pitch is ±50°.1 • Pitch or skew label or scanner a minimum of ±5° to avoid specular reflection, the return of direct, non-diffused light.2
Skew axis
Appendices
Direction of travel Tilt axis Pitch axis
Scanner
Figure A-4 Scanner/Label Position
1. Maximum tilt is determined by label characteristics and number of decodes required. 2. The specular reflection zone is a narrow zone straight out from the scanner in which direct reflected light from a label can distort the scanner’s ability to distinguish bars from spaces. MS-850 Raster Scanner User’s Manual
A-23
Page 198
Appendix I
Appendix I, Test Decode Rate With a Static Label 1. Position a stationary bar code in front of a functioning scanner at the scan distance used in your application. 2. Enter a <C> command to see the decodes per second. The decode rate is the number of decoded scans per total number of scan. It will appear at the beginning of the data strings. Note: You can also enter a <Cp> command to see the percentage of decodes per scans. 3. Make a note of the decode rate. You will need this when calculating the number of decodes (see Appendix J, “Formulas for Number of Decodes” on page A-25). 4. End the test by sending the <J> command.
Appendices
Number of Decodes To ensure reliable scanning, you need to apply a minimum of five decodes to each bar code. This means that all variables, label speed, read range, etc. are significant. Note: Variations between labels are common. For this reason, the greater number of sample bar codes tested, the more likely you are to achieve optimum decode rates. In general, the number of decodes of a given bar code can be increased by: • Increasing label height • Decreasing label length • Increasing scan rate (spinning mirror speed) • Slowing label speed • Decreasing raster sweep rate • Decreasing raster height
With a Moving Label Before testing with a moving label, it is highly recommended that you calculate the expected number of decodes by using the formulas in Appendix J, “Formulas for Number of Decodes” on page A-25. Once you’ve mounted the scanner, established a good read rate with a stationary label, and calculated the number of decodes for your label speed, you can begin decoding with moving labels.
A-24
MS-850 Raster Scanner User’s Manual
Page 199
Formulas for Number of Decodes
Appendix J, Formulas for Number of Decodes To ensure reliable scanning, apply a minimum of five decodes to each bar code. Use the formulas below to calculate the number of decodes that your label will receive. If the number of decodes you derive from one of these calculations is less than the minimum for your application, plug in the minimum number of decodes (5) and solve for another parameter that might be changed, such as label speed or scans per second. Note: While the formulas given here solve for the predicted number of decodes, you may also use the formulas to solve for other parameters that might be changed, such as label speed, label length, etc.
Single Line Ladder Calculation
Direction of label travel
LH ------- × DR – 3 = NS (number of decodes) 1 LS
Scan Line
Figure A-5 Ladder
LH (Label Height) (ladder formula only) is a measurement of the height of individual bars. LS (Label Speed) is the distance per second that a bar code moves through the scan. DR (Decode Rate) is the number of decodes per second that a given bar code receives (as derived from a stationary scan test in Appendix I, “Test Decode Rate” on page A-24).
Example 1:
LH = 1 inch LS = 100 inches per second DR = 900 scans per second
1 ND = -------- × 900 – 3 = 6 complete decodes 100
1. The -3 component in the formula is included to allow for AGC acquisition, an incomplete first scan, and an incomplete last scan. This applies only if the number inside the parentheses equals 4 or more. If the number equals 3, then only subtract 2 to derive 1 good scan. MS-850 Raster Scanner User’s Manual
A-25
Appendices
Ladder scanning is seldom done with raster scanning unless the raster is set for single scan line scanning (Top Offset setting equal to Bottom Offset) or bar codes are presented as stop-and-go. For single scan line ladder scanning, use the following formula:
Page 200
Appendix J
Raster Picket Fence Calculation For raster picket fence scanning, the number of decodes (ND) is calculated in two formulas, one for sweep rate and the other for number of decodes.
Direction of label travel
Sweep Rate.
Raster pattern
Since the speed of the raster (SwR) cannot exceed 30 you first need to ensure that you can achieve this by solving for Figure A-6 Raster sweep rate (SwR). Sweep rate is the number of raster Picket Fence sweeps (up or down) that occur in a second. Sweeps per second should generally be as few as possible in order to maximize the number of decodes applied to a given label. The formula for finding Sweep Rate (SwR) is as 2 × LS SwR = --------------------------follows:1
Appendices
( SW – LL )
SwR = Sweep Rate, the number of passes, up or down, that are described by the arc of the raster mirror. LS = Label Speed, the inches per second that a bar code moves through the scan. SW = Scan Width, the width across the scan beam, at a given distance from the scanner, in which a label can be read (picket fence formula only). LL = Label Length, the length of the longest printed label to be read plus the length of the quiet zones (picket fence formula only).
Example
SW = 5 inches LS = 2 inches per second LL = 1 inch
2×2 SwR = --------------- = 1 (5 – 1)
Important: The maximum sweep rate that your can set the scanner to is 30. If your solution is greater than 30, you must change another parameter such as label speed, etc. and recalculate. Since SwR can only be entered into the software as whole numbers, round off fractions of SwR to the next higher number, for example enter 0.4 as 1 and 3.5 as 4.
Number of Decodes Number of decodes (ND) for a picket fence bar code is calculated by the following formula:
Example:
× 900 – 3 = 87 decodes ND = 1----------------10 × 1
DR = Decode Rate is the number of decodes per second. RH = Raster height LH = Label height LH = 1 DR = 900 RH = 10
1. The number 2 in the SPS formula ensures that each label receives two full raster sweeps.
A-26
MS-850 Raster Scanner User’s Manual