Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 21 of 23

MS-820 Industrial Bar Code Scanner User's Manual: MS-820 Industrial Bar Code Scanner User's Manual, pages 201 to 210

Pages 201 to 210 of 222, from MS-820 Industrial Bar Code Scanner User's Manual

The original document is the PDF (4.3 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-820

Page 201

Formulas for Number of Decodes

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

For single scan line ladder scanning, use the following formula: Scan Line

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 Figure A-8 Ladder 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 K, “Test Decode Rate” on page A-26).

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-820 Industrial Bar Code Scanner User’s Manual

A-27

Appendices

LH ------- × DR – 3 = NS (number of decodes) 1 LS

Page 202

Appendix L

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

Scan Line

SW = 4 inches DR = 1000 decodes per second 4 – 2) (---------------× 1000 – 3 = 17 complete decodes 100

Figure A-9 Picket Fence

Appendices

Angled Picket Fence Calculation 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.

Direction of label travel

Scan Line

Improving the Number of Decodes

Figure A-10 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.

A-28

MS-820 Industrial Bar Code Scanner User’s Manual

Page 203

Formulas for Number of Decodes Label Speed 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.

Label Dimensions, Label Density, and Label Ratio 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-22). Changes to tracking will generally have a limited affect on decode rates.

Appendices

MS-820 Industrial Bar Code Scanner User’s Manual

A-29

Page 204

Appendix M

Appendix M, 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.

Appendices

• Clean the scanner window with a clean, dry Q-tip or cotton cloth on a regular basis.

Do Not: • 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.

A-30

MS-820 Industrial Bar Code Scanner User’s Manual

Page 205

Interface Standards

Appendix N, 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.

RS-422

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.

MS-820 Industrial Bar Code Scanner User’s Manual

A-31

Appendices

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.

Page 206

Appendix O

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

Appendices

Configure Your Scanner for Multidrop 1. With the scanner connected to the host, do Retrieve Scanner Settings as in Step 5, “Retrieve Scanner Settings” on page 2-6. 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-33.

A-32

MS-820 Industrial Bar Code Scanner User’s Manual

Page 207

Multidrop Communications

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

Appendices

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.

MS-820 Industrial Bar Code Scanner User’s Manual

A-33

Page 208

Appendix O

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

Appendices

Scanner 02

End of Sequence

RES 1E REQ

ACK 1E STX DATA ETX LRC

RES

Figure A-11 Polling Sequence 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).

A-34

MS-820 Industrial Bar Code Scanner User’s Manual

Page 209

Multidrop Communications

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

Figure A-12 Polling Sequence

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.

MS-820 Industrial Bar Code Scanner User’s Manual

A-35

Appendices

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.)

Page 210

Appendix O Table A-12 Multidrop Addresses Multidrop Address

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

A-36

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

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-820 Industrial Bar Code 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