The text of a manual · part 21 of 23
MS-850 Raster Scanner User's Manual, pages 201 to 210
Pages 201 to 210 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 201
Formulas for Number of Decodes
Single Scan Line Picket Fence Calculation For single scan line picket fence scanning use the following formula: SW – LL ) (--------------------------× DR – 3 = number of complete decodes 1
LS
Direction of label travel
Example: LL = 2 inches (including quiet zones) LS = 100 inches per second SW = 4 inches DR = 1000 decodes per second 4 – 2) (---------------× 1000 – 3 = 17 complete decodes 100
Scan Line
Figure A-7 Picket Fence
Angled Picket Fence Calculation Direction of label travel
Appendices
The number of complete scans for angled picket fence is calculated the same as that for picket fence, with the exception that the scan width is shortened in proportion to scan tilt.
Scan Line
Improving the Number of Decodes
Figure A-8 Angled Picket Fence
After changing any of the parameters described in this section, recalculate the number of decodes.
Scan Rate Scan rate is a function of motor speed and is adjustable. A slower scan rate may allow greater label range and/or higher decode rates, but at the cost of fewer scans per label.
Range Adjusting the label’s range, if possible, is one of the quickest and most effective ways to improve decode rates. However, in some applications you may need to select a less than optimum range, or one that is beyond the fringes of the ranges.
Scan Width Increasing scan width will increase the number of scans in a picket fence oriented application. Scan width is linked with scan range and changing one will usually require a change in the other.
Label Speed MS-850 Raster Scanner User’s Manual
A-27
Page 202
Appendix J Applies to both picket fence and ladder oriented labels. If your application allows it, slowing label speed (the time in seconds that a label is fully within the scan width of the scanner) is an effective way to increase the number of decodes.
Raster Height When using the raster features, you can increase the decode rate by decreasing the height of the raster image.
Raster Sweep Rate Slowing the number of sweeps per second to the minimum needed will result in more scan lines passing over the label and a higher decode rate.
Label Dimensions, Label Density, and Label Ratio
Appendices
Not usually an option in most applications, but changes to label parameters can affect number of decodes calculations and possibly decode rates. If your application allows it, shortening the length of a picket fence label means the label will be in the scan range longer and hence receive a greater number of scans. Increasing the height of a ladder label means it will receive more scans. Changing label density and/or bar code ratio is another way ranges, decode rates, etc. can be altered.
Gain and Tracking These adjustments, typically made by qualified technicians, are referenced in the Scanner Setup menu (see “Save Active Settings including Factory for Power-on” on page A-21). Changes to tracking will generally have a limited affect on decode rates.
A-28
MS-850 Raster Scanner User’s Manual
Page 203
Operational Tips
Appendix K, Operational Tips Do: • Check inputs (label speed, length, height, etc.) to ensure the desired number of decodes per label. • For optimum decodes, mount scanner so that your labels pass through the center of the depth-of-field (minimum/maximum range). You find the center by moving your label in and out during a read rate test. • Avoid excessive tilt, pitch, and skew of the bar code label. • Check the bar code label for readability by doing a decode rate test. If there is any question about the label's readability, contact your Microscan representative at helpdesk@microscan.com. • After changing any parameter that might affect decode rate, repeat decode rate test. • Clean the scanner window with a clean, dry Q-tip or cotton cloth on a regular basis.
• Aim the scanner into direct light or sunlight. • Aim the scanner into an external object detector or other light-emitting device. • Obstruct the scanner window with mounting hardware or other objects. • Connect chassis of scanner and host to different ground potentials. • Operate the scanner in excessive temperature environments.
MS-850 Raster Scanner User’s Manual
A-29
Appendices
Do Not:
Page 204
Appendix L
Appendix L, 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.
RS-232 RS-232 defines an interface between two devices such as, for example, the scanner and host. It differs from the other interfaces by dedicating individual pins to specific functions and by requiring both devices to share a common ground line. Since both device chassis are connected to a common ground, a ground loop potential and the possibility of noise interference exists. Therefore cable lengths are limited to a maximum of 50 feet (19.7m). Despite being the most limited, this interface is used frequently because of the large installed base of RS-232 equipment.
Appendices
RS-422 RS-422, unlike RS-232, measures signals deferentially; that is, the receiver looks at the potentials between the two receive (or transmit) wires rather than the potential between signal and ground. As a result, cables, if shielded, can be up to 4000 feet (1219m) in length. Like RS-232, RS-422 communication is designed for only two devices on a single line and must have a common ground. It can be used wherever RS-232 is used.
RS-485 RS-485, like RS-422, can transmit up to 4000 feet (1219 m) using differential voltages but unlike RS-422, its transmitters are turned off until a request for data is received from the host. RS-485 is used exclusively in multidrop protocol.
A-30
MS-850 Raster Scanner User’s Manual
Page 205
Multidrop Communications
Appendix M, Multidrop Communications This appendix describes the rules for setting up a concentrator or controller to communicate with a scanner in standard Multidrop protocol. The diagram to the right 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.
Host Concentrator
Polled Protocol Multidrop ONLY RS-485 Interface
Scanner 01 Scanner 02 Scanner 03
Configure Your Scanner for Multidrop 2. Select Multidrop in the Protocol configuration menu. You will see the following message: Warning. You must change your preamble and postamble characters so that they are not CR or NULL.
This allows data to move through the concentrator without interference. 3. Click OK. 4. Next, go to Preamble Characters (still in the Protocol menu) and double-click on Characters. 5. This will open up an ASCII character table. Select any character other than CR. For example, select LF. 6. Repeat the above for Postamble. 7. Check the multidrop address. Enter a number from 01 to 50. 8. Right-click in the window and select Save to Scanner and Send and Save. 9. Your scanner is now in multidrop. From here on, you will need to use the concentrator to relay commands and data between the scanner or scanners and the host. 10. Next, go to “Connect to Scanner via the Concentrator” on page A-32.
MS-850 Raster Scanner User’s Manual
A-31
Appendices
1. With the scanner connected to the host, do Retrieve Scanner Settings as in Step 5, “Retrieve Scanner Settings” on page 2-6.
Page 206
Appendix M
Connect to Scanner via the Concentrator You will need a multidrop concentrator and the required power supplies and cabling to communicate with your scanner(s). 1. From the Communications drop down menu, select Configure Multidrop to bring up the Multidrop Settings dialog. 2. If necessary, change the default address to match the address of your multidropped scanner and click OK. If the host serial port is not connected in ESP, you will see the following popup message: ESP is not currently connected to the multidrop concentrator. Do you wish to establish a connection now?
3. Click Yes.
Appendices
You will see a Serial Communication Parameters dialog as shown on the next page. Notice that the Force Connection option is checked. Do not change this. 4. Select the concentrator’s host port communications settings. When you click Connect, you will be connecting to your concentrator, which can then relay commands to the scanner whose address was set in the Multidrop Settings dialog. 5. Click Connect. 6. You should see the CONNECTED message in green at the bottom of the window along with the scanner’s Multidrop address.
7. Do Retrieve Scanner Settings to upload scanner’s configuration (Step 5). If upload fails, return to the Serial Communication Parameters dialog and make the corrections. 8. Follow the same procedure for connecting other scanners to your multidrop network. Note: For more information, see your scanner user’s manual or Microscan’s MS-5000 Multidrop Concentrator User’s Manual, 83-005000.
A-32
MS-850 Raster Scanner User’s Manual
Page 207
Multidrop Communications
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. The polling sequence example by poll address 1E (ASCII hex value for Scanner 02) and a REQ (request). The scanner responds by first transmitting its own address, 1E, followed by a STX (start of text) character, and then the data. Next it transmits an ETX (end of text) character and an LRC (longitudinal redundancy check) character. If the concentrator (or controller) receives the data from the scanner and is able to validate it with an LRC calculation, it responds with an ACK (acknowledgment). If the scanner in turn receives the ACK, the scanner ends this exchange with a RES (reset). Start of Sequence
Concentrator Scanner 02
End of Sequence
RES 1E REQ
ACK 1E STX DATA ETX LRC
RES
Polling Reset
• If the scanner has no information, it responds to a poll request by transmitting a RES (reset). • If the scanner receives a NAK instead of the ACK after transmitting its data string, it will re-attempt to send the data string up to three times. If the scanner still does not receive an ACK, it will send a RES (reset) and discard the data in its buffers. • If the scanner transmits data to the concentrator and the concentrator responds with an ACK or NAK, but the scanner doesn’t receive the concentrator’s response, the scanner will timeout and send a REQ to the concentrator and request another response. If after three retries (the number of times it transmits a REQ to the concentrator) the scanner receives no response, it ends the transmission with a RES (reset).
MS-850 Raster Scanner User’s Manual
A-33
Appendices
Figure A-9 Polling Sequence
Page 208
Appendix M
Select Sequence 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 scanner complies with the command when it is polled during the cycle. Start of Sequence
Concentrator RES 1F REQ Scanner 02
End of Sequence
STX <T>ETX LRC 1F ACK
RES 1F ACK
Appendices
Figure A-10 Polling Sequence A RES (reset) is the first command in the select sequence. The 1F hex is the select address associated with Scanner 02 address. It is followed by a REQ (request). The scanner responds with its own select address, 1F hex, and an ACK (acknowledge). The concentrator then transmits an STX (start of text), the data (in this case a <T>), an ETX (end of text), and an LRC character. The scanner replies by transmitting its own address, followed by an ACK, acknowledging receipt of the command. Upon receipt of an ACK, the concentrator concludes the successful exchange with a RES. In the example above, the scanner only acknowledges a trigger counter request from the concentrator. It does not respond to the trigger counter request until a subsequent poll. For example, if the scanner’s trigger count was 12 at the time the trigger counter request was received, on a subsequent poll it would send 02T/00012. (The 02 at the beginning of the string is the scanner’s address.) Select Reset
If the scanner receives bad data from the concentrator, it transmits a SEL (its select address) and a NAK to the concentrator. The concentrator re-transmits the data up to three times. The concentrator will end the sequence with a RES (reset) if no ACK is received.
A-34
MS-850 Raster Scanner User’s Manual
Page 209
Multidrop Communications Table A-9 Multidrop Addresses Multidrop Address
Select Character ASCII HEX ^] 1D ^1F ! 21 # 23 % 25 ' 27 ) 29 + 2B 2D / 2F 1 31 3 33 5 35 7 37 9 39 ; 3B = 3D ? 3F A 41 C 43 E 45 G 47 I 49 K 4B M 4D
Multidrop Address 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
Poll Character ASCII HEX N 4E P 50 R 52 T 54 V 56 X 58 Z 5A \ 5C ^ 5E ` 60 b 62 d 64 f 66 h 68 j 6A l 6C n 6E p 70 r 72 t 74 v 76 x 78 z 7A | 7C ~ 7E
MS-850 Raster Scanner User’s Manual
Select Character ASCII HEX O 4F Q 51 S 53 U 55 W 57 Y 59 [ 5B ] 5D _ 5F a 61 c 63 e 65 g 67 i 69 k 6B m 6D o 6F q 71 s 73 u 75 w 77 y 79 { 7B } 7D D 7F
A-35
Appendices
01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Poll Character ASCII HEX ^\ 1C ^^ 1E SP 20 " 22 $ 24 & 26 ( 28 * 2A , 2C . 2E 0 30 2 32 4 34 6 36 8 38 : 3A < 3C > 3E @ 40 B 42 D 44 F 46 H 48 J 4A L 4C
Page 210
Appendix N
Appendices
Appendix N, Glossary of Terms Active On (ION). An optoisolated input that’s logically “on” when current flows through the connection points. Active Off (IOFF). An optoisolated input that’s logically “on” when no current flows through the connection points. Analog Gain Adjustment (AGC). Adjustment to signal strength that seeks to maintain a constant level regardless of the range of the bar code label. Application Record. A variation of UCC/EAN-128 which adds an application identifier to label data, including user-definable separators, brackets, and padding. Autocalibration. A routine that cycles through various optical settings and selects the combination that produce the best read rate. Autodiscriminate. The ability to decode several different bar code symbologies without changing configuration. Auto Range. Outward focus of the scanner until an object is sensed by signal strength. The scanner then begins searching for a decodable label. Auxiliary Port. RS-232 connections to an auxiliary terminal or device for remote viewing. the transfer of data to and from the host, and under certain conditions a configuration port. Bar Code. The symbol used for recognition by a bar code scanner. An array of parallel bars and spaces of varying widths that conform to recognized standards and can be decoded and displayed as serial data. Bar Code Data. The information that is transmitted from a decoded bar code symbol. Bar Code Label. The physical media on which a bar code symbol is presented. Bar Code Density. Number of characters per inch or other unit of measure. Baud Rate. The number of discrete signal events per second. Bits per second. Capture. The act of grabbing or recording a frame by an sensor. A frame or succession of frames that are captured. Channel. A high-speed pathway between the computer and the control units of the peripheral devices. Check Digit. A Modulus 43 or Modulus 10 digit that is added to the bar code message for additional data integrity. Command Processing. Allows the user to enter the ESP program from the auxiliary port or send serial string commands from the auxiliary port. Configuration. A setup or process of changing a scanner’s settings to conform to a specific application. Concentrator. Intermediary device that relays data from scanners to a host and commands from the host to the scanner or other devices.
A-36
MS-850 Raster Scanner User’s Manual