The text of a manual · part 12 of 13
MS-3000 Single Head Decoder User's Manual, pages 111 to 120
Pages 111 to 120 of 126
The original document is the PDF (730 KB). 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-3000
Page 111
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 • No two decoder in the Multidrop Network can have the same address.
Host
Concentrator or Controller
• Each decoder in the network must have an address (from 01 to 50) assigned in its configuration program.
Polled Protocol Multidrop ONLY RS-485 Interface (LAN)
Decoder 01 Decoder 02 Decoder 03
Each address has its own separate Figure A-6 Typical Multidrop Network poll and select address (from 1C to 7F hex as shown in table A-6 on page A-20). For example, during a polling sequence, decoder 03 expects a 20 hex (“SP” ASCII poll character) from the concentrator. And during a select command, it looks for a select value 21 hex (“!” ASCII select character).
MS-3000 Single Head Decoder User’s Manual
A-17
Appendices
Appendix I, Multidrop Communications
Page 112
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). The decoder 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 decoder and is able to validate it with an LRC calculation, it responds with an ACK (acknowledgment). If the decoder in turn receives the ACK, the decoder ends this successful exchange with a RES (reset).
Polling Reset • If the decoder has no information, it responds to a poll request by transmitting a RES (reset). • If the decoder receives a NAK instead of the ACK after transmitting its data string, it will attempt to transmit the data string up to three times. If the decoder still does not receive an ACK, it will transmit a RES (reset) and discard the data in its buffers. • If the DECODER transmits data to the concentrator and the concentrator responds with an ACK or NAK, but the decoder doesn’t receive the concentrator’s response, the decoder will timeout and transmit 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 decoder receives no response, it ends the transmission with a RES (reset).
A-18
MS-3000 Single Head Decoder User’s Manual
Page 113
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 <T>ETX LRC 1F ACK
RES 1F ACK
Figure A-8 Select Sequence
A RES (reset) is the first command in the select sequence. The 1F hex is the select address associated with Decoder 02 address (see table A-6 on page A-20). It is followed by a REQ (request). The decoder 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 decoder 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 decoder 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 transmit 02T/00012. (The 02 at the beginning of the string is the scanner’s address.)
Select Reset • If the decoder receives bad data from the concentrator, it transmits a SEL (its select address) and a NAK to the concentrator. The concentrator retransmits the data up to three times. The concentrator will end the sequence with a RES (reset) if no ACK is received. 1 1. For additional information on Multidrop, see the MS-5000 Multidrop Concentrator User's Manual.
MS-3000 Single Head Decoder User’s Manual
A-19
Appendices
Select Sequence
Page 114
Appendices
Appendices
A-20
Table A-6 Multidrop Address Characters
. Poll Select ; Poll Select Multidrop Character Character Multidrop | Character Character Address Address
ASCII | HEX | ASCII | HEX ASCII | HEX | ASCII | HEX
01 A\ 1C ‘] 1D 26 N 4E O 4F
02 AA 1E A. 1F 27 P 50 Q 51
03 SP 20 ! 21 28 R 52 Ss 53
04 " 22 # 23 29 T 54 U 55
05 $ 24 % 25 30 V 56 Ww 57
06 & 26 ' 27 31 x 58 Y 59
07 ( 28 29 32 Z 5A [ 5B
08 * 2A + 2B 33 \ 5C ] 5D
09 ; 2C - 2D 34 A 5E _ 5F
10 2E / 2F 35 60 a 61
11 0 30 1 31 36 b 62 c 63
12 2 32 3 33 37 d 64 e 65
13 4 34 5 35 38 f 66 g 67
14 6 36 7 37 39 h 68 i 69
15 8 38 9 39 40 j 6A k 6B
16 3A ; 3B 41 | 6C m 6D
17 < 3C = 3D 42 n 6E (e) 6F
18 > 3E ? 3F 43 p 70 q 71
19 @ 40 A 41 44 r 72 s 73
20 B 42 Cc 43 45 t 74 u 75
21 D 44 E 45 46 Vv 76 w a
22 F 46 G 47 47 x 78 y 79
23 H 48 I 49 48 z TA { 7B
24 J 4A K 4B 49 | 7C } 7D
25 L 4C M 4D 50 ~ 7E A 7F
MS-3000 Single Head Decoder User’s Manual
Page 115
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. The term used to describe the number of discrete conditions or signal events per second. In RS-232 and RS-422/485 systems, baud rate is the same as bits per second (bps). Blurring. Congestion of bars and spaces, typically occurring when scanning at severe angles and/or distances, to a point that the scan beam is distorted and individual bar code elements are not discerned. Code 39. An alphanumeric bar code with a character set containing a start/ stop character, 10 numbers, 26 letters, 6 symbols, and a space. This code is discrete, variable length, and self-checking. Concentrator. Intermediary device which communicates with up to 50 other devices, and relays data from those devices to the host as well as commands from the host to the devices. Configuration. The method used to change factory default settings for operational features to match a specific application. Configuration can be done through menu selection, with serial commands, or with a profile card. Connector. Physical device (plug or socket) on unit to provide in/out connectivity for various circuits and pins. Counter. Memory space provided to keep track of read cycle events. Decoder. A device that analyzes digital input provided by the scan head and translates it into bar code information. Depth of Field. The distance between the minimum and maximum range in which a scan head can read bar code labels. EPROM. Erasable, programmable, read only memory. The EPROM stores the coded information that contains decoding algorithms and options that can be changed by the user.
MS-3000 Single Head Decoder User’s Manual
A-21
Appendices
Appendix J, Glossary of Terms
Page 116
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. The event occurring when a scanned bar code label matches the master label information that is stored in the memory of the decoder. Good Read. The event occurring when a label's data is accurately scanned and decoded. Intercharacter Gap. The extra space between the last element of one character and the first element of the adjacent character of a discrete bar code symbol. Label Height. Regardless of orientation, the measurement taken along the length of a label’s individual bars. Label Length. Regardless of orientation, the measurement taken across the label's bars from one end to the other, including the quiet zone. Label Speed. The rate in inches or centimeters per second that a label moves through the scan beam. Ladder Label Orientation. A bar code label in which the bars are parallel to the direction of travel. Match Code. The ability to compare bar code labels being scanned against a master label that is stored in the memory of the decoder. Menu Configuration. The process of changing factory default settings via a sequence of menus displayed on a terminal monitor. Mil. One thousandths of an inch or 0.0254 mm. In bar-coding, a measurement that identifies a bar code label by the width of its narrowest element. Mismatch. An event that occurs when the scanned bar code label does not match the master label that is stored in the memory of the decoder. Multidrop. A communications protocol for networking two or more decoders or other devices with a concentrator (or controller) and characterized by the use of individual device addresses and the RS-485 standard. Narrow Bar Width. The width of the narrowest bar of a given label, expressed in thousands of an inch (or mils).
A-22
MS-3000 Single Head Decoder User’s Manual
Page 117
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. An elongated laser beam involving custom optics that is designed to project lengthwise with the label's bars and spaces. Picket Fence Label Orientation. A bar code label in which the bars are perpendicular to the direction of travel. Pitch. Label (or scan head) rotation around the center line perpendicular to the label’s bars. Point-to-Point. A protocol consisting of a single communications event, typically used to connect a bar code reader to a CRT terminal or a host computer. Polled Protocol. A protocol in which each decoder or other device has an assigned address which is used by the host when requesting data. Port. Logical circuit for data entry and exit. (One or more ports may be included within a single connector.) Protocol. The rules for communication between devices, providing a means to control the orderly communication of information between linked devices. Quiet Zones. Specified “clear” (nonprinted) areas immediately before and after the bar code symbol. The area is usually white (for black and white bar code) and at least 10 times the width of the narrowest bar, as measured in thousands of an inch. The zones can be other than white as long as their densities remains consistent and they have the required contrast relative to the bars. Read Cycle. A programmed period of time or condition during which the decoder will accept bar code label input. Read Range. The distances in which a label can be reliably read, as measured from the front of the scan head. See “Depth of Field.” Read Rate. The percentage of reads decoded by the decoder. MS-3000 Single Head Decoder User’s Manual
A-23
Appendices
Noread. A non-read. A condition that occurs when the decoder is set up to decode labels, and no labels are scanned during the read cycle.
Page 118
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. This device changes the analog signal to a digital representation of the bar code and outputs it to a decoder. Scan Width. The measurement (inches or centimeters) of the scan beam line at the readable scan range of a given application. Serial Commands. On-line data strings (including configuration and operations) from a host or other terminal to the decoder, which are always preceded by a < left angle bracket symbol (unless redefined by Command Start Character command) and followed by a > right angle bracket symbol. Skew. Label (or scan head) rotation around the center of the skew axis. Specular Reflection. The direct, mirror-like reflection of laser light back to the scan head, causing over-light saturation. Symbology. A set of bar code symbols, such as Code 39 or Code 128, which have special rules to define the widths and positions of bars and spaces to represent specific numeric or alphanumeric information. Tilt. Label (or scan head) rotation around the centerline of the scan beam. Timeout. A user-selected period of time that ends a decoder's read cycle. Trigger. A signal, either external or serial, that initiates the read cycle and causes the decoder to expect label input. TTL. Abbreviation for transistor-transistor logic, the standard for signal output. Wide-to-narrow Ratio. The ratio of the width of the widest (or wider) bar to the narrowest bar of a given bar code symbology. For example, 2:1, 2.5:1, 3:1, and 4:1.
A-24
MS-3000 Single Head Decoder User’s Manual
Page 119
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 interleaved 2 of 5 (menu) 2-25 of interleaved 2 of 5 (serial) 3-13 Check Digit Output of code 39 (menu) 2-23 of code 39 (serial) 3-12 of interleaved 2 of 5 (menu) 2-26 of interleaved 2 of 5 (serial) 3-13 Checksum of EPROM (display) operational command 5-5 Clear-to-send 1-8 Codabar by menu selection 2-24–2-25 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 128 by menu selection 2-28 by profile card (mode 12, enable/disable only) 4-11 by serial command 3-13 definition A-11 Code 39 by menu selection 2-23–2-24
MS-3000 Single Head Decoder User’s Manual
I-1
Index
ACK-NAK Protocol 2-8 Approvals vii As Soon As Possible by menu selection 2-18 by profile card (mode 8) 4-9 by serial command 3-11 ASCII table (with control characters) A-3 terminal communications 1-10, 2-1 Autodiscriminate (definition) A-21 Autodiscriminate All Codes operational command 5-3 Aux Mode by menu selection 2-12 by profile card (mode 6) 4-8 by serial command 3-9 Aux Monitor Echo Data Command 5-3 Aux Port Parameters by menu selection 2-11–2-12 by profile card (mode 6) 4-8 by serial command 3-9 Auxiliary Monitor A-13
Beeper (options/volume/speed) by menu selection 2-29–2-30 by profile card (mode 13) 4-11 by serial command 3-14 Bottom Offset in Degrees by menu selection 2-34 by serial command 3-17
Page 120
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 serial command 3-13 Code Types by menu selection 2-22–2-28 by profile card 4-11 by serial command 3-12–3-13 See also Narrow Margins, Code 39, Codabar, Interleaved 2 of 5, UPC/EAN, and Code 128 Code Types Status Request by serial command 3-13 Command Start Character by menu selection 2-32 by serial command 3-16 Communications by menu selection 2-5–2-12 by profile card 4-6–4-8 by serial command 3-6–3-9 default settings A-2 See also Protocol, Preamble, Postamble, Longitudinal Redundancy Check, Response Timeout, Intercharacter Delay, Baud Rate, Parity, Stop Bits, Data Bits, RS-422, and Aux Mode
I-2
Concentrator A-17, A-21 Configuration entering configuration menus 2-2, 5-3 saving menu changes for power-on 2-4 saving profile card changes for power-on 4-3 saving serial changes for power-on 5-3 Connectors 1-3–1-9 Continuous Read by menu selection 2-14 by profile card (mode 7) 4-8 Continuous Read 1 Output by menu selection 2-14 by profile card (mode 7) 4-8 Control Character Output (Echo K) by menu selection 3-15 Controller A-17
D Data Bits (aux port) by menu selection 2-11, 2-12 by serial command 3-9 Data Bits (host port) by menu selection 2-11 by profile card (mode 3) 4-6 by serial command 3-8 DCE connector 1-9 Decoder Specifications A-2 Defaulting A-4–A-5 DTE connector 1-9
E EAN. See UPC/EAN Electrical Specifications A-2 Electronic Industries Association A-12 End of Read Cycle by menu selection 2-16–2-17 by profile card (mode 7) 4-8 by serial command 3-10 when to output option (menu) 2-18 when to output option (profile card) 4-9 when to output option (serial) 3-11
MS-3000 Single Head Decoder User’s Manual