The text of a manual · part 30 of 31
MS-890 Industrial Automation Scanner User's Manual, pages 291 to 300
Pages 291 to 300 of 308
The original document is the PDF (3.0 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-890
Page 291
Appendices
Appendix K, Formulas for Number of Decodes To ensure reliable scanning, apply a minimum of five decodes to each symbol. Use the formulas below to calculate the number of decodes that your symbol 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 symbol 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 symbol speed, symbol length, etc.
Single Line Ladder Calculation 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 symbols are presented as stop-and-go. For single scan line ladder scanning, use the following formula:1
ND (Number of Decodes) is the number of decodes that a Single Line Ladder given symbol can be expected to achieve in a given Orientation application. SH (Symbol Height) is a measurement of the height of individual bars. SS (Symbol Speed) is the distance per second that a symbol moves through the scan. DR (Decode Rate) is the number of scans per second that a given symbol receives. Example:
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-890 Industrial Automation Scanner User’s Manual
A-27
Page 292
Formulas for Number of Decodes
Raster Picket Fence Calculation For raster picket fence scanning, the number of decodes (ND) that can be applied to a given symbol can be calculated once the sweep rate (SPS) is known.
Sweep Rate (Sweeps per Second) Sweep rate is the number of raster sweeps (up or down) that occur per second and can be set in ESP. Since the sweep rate cannot exceed 30, you first need to ensure that your application can achieve this by solving for sweep rate (SPS). The sweep rate should generally be set as low as possible in order to maximize the number of scans on a given symbol. The formula for finding Sweep Rate (SPS) is as follows:
Raster Picket Fence Orientation
SPS = Sweeps per Second, the number of passes, up or down, that are described by the arc of the raster mirror. SS = Symbol Speed, the inches per second that a symbol moves through the scan. SW = Scan Width, the width across the scan beam, at a given distance from the scanner, in which a symbol can be read (picket fence formula only). SL = Symbol Length, the length of the longest printed symbol to be read plus the length of the quiet zones (picket fence formula only). Example:
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 symbol speed, etc., and recalculate. Since SPS can only be entered into the software as whole numbers, round off fractions of SPS to the next higher number, for example enter 0.4 as 1 and 3.5 as 4. In setting up the scanner, raster height depends on the raster arc and the symbol distance (range) from the scanner. Both the top offset and bottom offsets can be adjusted independently in 255 increments and the resulting arc can vary from 0° to 30°. (See Chapter 10, Raster/Laser.)
A-28
MS-890 Industrial Automation Scanner User’s Manual
Page 293
Appendices
Number of Decodes Note: Because adjustable raster sweeps and scan speeds cannot be synchronized, some variation in raster height should be anticipated. Number of decodes (ND) for a raster picket fence symbol is calculated by the following formula: ND = Number of Decodes (total applied to each symbol) SH = Symbol Height DR = Decode Rate RH = Raster Height SPS = Sweeps per Second Example:
Raster Height If raster arc (in degrees) and symbol range are known, raster height can be derived by the following formula, where Ø is raster arc in degrees:1
Raster Arc If raster height and symbol range are known, then raster arc Ø can be derived by using the following formula where RH is raster height:
Note: Raster arc is not presented in degrees in ESP. To convert to degrees, add the Top Offset to the Bottom Offset and subtract the sum from 255. Enter this as the offset in the following formula:
MS-890 Industrial Automation User’s Manual 1. Raster Height and RasterScanner Arc formulas assume a centered symmetrical arc.
A-29
Page 294
Formulas for Number of Decodes
Single Line Picket Fence Calculation For single scan line picket fence scanning (Top Offset setting equal to Bottom Offset), use the following fomula:
ND = Number of Decodes (total applied to each symbol) SW = Symbol Width SL = Symbol Length SS = Symbol Speed DR = Decode Rate
Single Line Picket Fence Orientation
Example:
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.
Angled Picket Fence Orientation
A-30
MS-890 Industrial Automation Scanner User’s Manual
Page 295
Appendices
Improving Decode Rate 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 symbol range and/or higher decode rates, but at the cost of fewer scans per symbol and scan width.
Range Adjusting the symbol’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.
Symbol Speed Applies to both picket fence and ladder oriented symbols. If your application allows it, slowing symbol speed (the time in seconds that a symbol 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 symbol and a higher decode rate.
Laser Framing Narrowing the laser frame may not increase the decode rate, but it will minimize the opportunity of extraneous reads.
Symbol Dimensions, Symbol Density, and Symbol Ratio Not usually an option in most applications, but changes to symbol parameters can affect number of decodes calculations and possibly decode rates. If your application allows it, shortening the length of a picket fence symbol means the symbol will be in the scan range longer and hence receive a greater number of scans. Increasing the height of a ladder symbol means it will receive more scans. Changing symbol density and/or symbol 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 Defaulting/Saving/Initializing on page A-18). Changes to tracking will generally have a limited affect on decode rates. MS-890 Industrial Automation Scanner User’s Manual
A-31
Page 296
Operational Tips
Appendix L, Operational Tips Do: • Check inputs (symbol speed, length, height, etc.) to ensure the desired number of decodes per symbol. • For optimum decodes, mount scanner so that your symbols pass through the center of the depth-of-field (minimum/maximum range). You find the center by moving your symbol in and out during a read rate test. • Avoid excessive tilt, pitch, and skew of the symbol. • Check the symbol for readability by doing a decode rate test. If there is any question about the symbol's readability, contact your Microscan sales representative. • After changing any parameter that might affect decode rate, repeat decode rate test. • Clean the scanner window with a clean, dry cotton swab 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-32
MS-890 Industrial Automation Scanner User’s Manual
Page 297
Appendices
Appendix M, 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-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.
MS-890 Industrial Automation Scanner User’s Manual
A-33
Page 298
Multidrop Communications
Appendix N, 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 Multidrop
Configure Scanner for Multidrop 1. With the scanner connected to the host, Retrieve Reader Settings. 2. Select Multidrop in the Protocol configuration menu. You will see the following message: Important: You must change your preamble and postamble characters so that they are not CR or NUL. 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 but CR. 6. Repeat the above process for Postamble. 7. Check the multidrop address. Enter a number from 01 to 50. 8. Right-click in the window and select Save to Reader 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. Move on to Connect to Scanner via Concentrator. A-34
MS-890 Industrial Automation Scanner User’s Manual
Page 299
Appendices
Connect to Scanner via Concentrator You will need a multidrop concentrator and the required power supplies and cabling to communicate with your scanner(s). 1. From the Communications dropdown menu in the menu toolbar, select Configure Multidrop. The Multidrop Settings dialog will appear. 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. 4. The Connection Settings dialog will appear. Notice that the Force Connect option is checked. Do not change this. 5. 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. 6. Click Connect. You should see the CONNECTED message in green at the bottom of the window along with the scanner’s Multidrop address.
7. Click Retrieve Reader Settings to upload the scanner’s configuration. If upload fails, return to the Connection Settings dialog and make the necessary parameter changes. 8. Follow the same procedure for connecting other scanners to your multidrop network.
MS-890 Industrial Automation Scanner User’s Manual
A-35
Page 300
Multidrop Communications
Polling Sequence Data that is transmitted to the host (symbol data, No Read 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 successful exchange with a RES (reset).
Concentrator Scanner 02
Start of Sequence
End of Sequence
RES 1E REQ
ACK 1E STX DATA ETX LRC
RES
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-36
MS-890 Industrial Automation Scanner User’s Manual