The text of a manual · part 14 of 15
MS-810 Industrial Scanner User's Manual, pages 131 to 140
Pages 131 to 140 of 144
The original document is the PDF (2.5 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-810
Page 131
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, as presented in “Protocol Menu,” on page 2-12. Figure A-11 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 scanner in the Multidrop Network can have the same address.
Host
Concentrator
• Each scanner in the network must have an address (from 01 to 50) assigned in its configuration program.
Polled Protocol Multidrop ONLY RS-485 Interface
Scanner 01
Each address has its own separate poll and select address (from 1C to 7F hex as shown in Table A-12, “Multidrop Address Characters”).
Scanner 02 Scanner 03
For example, during a polling sequence, Scanner 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).
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 Scanner 02
End of Sequence
RES 1E REQ
ACK 1E STX DATA ETX LRC
RES
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 MS-810 Industrial Scanner User’s Manual
A-33
Appendices
The polling sequence example begins with a RES (reset) from the concentrator followed 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.
Page 132
Chapter A turn receives the ACK, the scanner ends this successful exchange with a RES (reset).
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 transmit the data string up to three times. If the scanner still does not receive an ACK, it will transmit 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 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 scanner receives no response, it ends the transmission with a RES (reset).
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. Figure A-13 is an example of a select sequence. Start of Sequence
Concentrator RES 1F REQ Scanner 02
End of Sequence
STX <T>ETX LRC 1F ACK
RES 1F ACK
Figure A-11 Select Sequence
A RES (reset) is the first command in the select sequence. The 1F hex is the select address associated with Scanner 02 address (see Table A-12, “Multidrop Address Characters”). 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.
Appendices
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 transmit 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
A-34
MS-810 Industrial Scanner User’s Manual
Page 133
Multidrop Communications 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.1 Table A-12 Multidrop Address Characters
Multidrop Address
Poll Character
Select Character
ASCII
HEX
ASCII
HEX
01
^\
1C
^]
1D
02
^^
1E
^-
1F
03
SP
20
!
04
"
22
#
05
$
24
%
06
&
26
'
Multidrop Address
Poll Character
Select Character
ASCII
HEX
ASCII
HEX
26
N
4E
O
4F
27
P
50
Q
51
21
28
R
52
S
53
23
29
T
54
U
55
25
30
V
56
W
57
27
31
X
58
Y
59
(
28
)
29
32
Z
5A
[
5B
08
*
2A
+
2B
33
\
5C
]
5D
09
,
2C
-
2D
34
^
5E
_
5F
10
.
2E
/
2F
35
`
60 a
61
11 s0
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 l
6C m
6D
17
<
3C
=
3D
42 n
6E o
6F
18
>
3E
?
3F
43 p
70 q
71
19
@
40
A
41
44 r
72 s
73
20
B
42
C
43
45 t
74 u
75
21
D
44
E
45
46 v
76 w
77
22
F
46
G
47
47 x
78 y
79
23
H
48
I
49
48 z
7A
{
7B
24
J
4A
K
4B
49
|
7C
}
7D
25
L
4C
M
4D
50
~
7E
D
7F
1. For additional information on Multidrop, see the MS-5000 Multidrop Concentrator User's Manual. MS-810 Industrial Scanner User’s Manual
A-35
Appendices
07
Page 134
Chapter A
Appendix N, Glossary of Terms Autodiscriminate. The ability to decode several different 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 signal events per second. In RS-232 and RS-422/485 systems, baud rate is the same as bits per second (bps). 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. Configuration. The method used to change factory default settings for operational features to match a specific application. Configuration can be done through menu selection or with serial commands. Connector. Physical device (plug or socket) on unit or cable to provide in/out connectivity for various circuits and pins. Counter. Memory space provided to keep track of read cycle events. Daisy Chain. Linkage of primary and successive scanners to allow data to be cascaded up to the host via aux port connections. Decode Rate. The number of good reads per second decoded by the scanner. Depth of Field. The distance between the minimum and maximum range in which a scanner can read bar code labels. EPROM. Erasable, programmable, read only memory. End of Read Cycle. The time at which the scanner stops expecting label information to decode. This can be caused by a timeout, a trigger event, or a good read.
Appendices
Focal Length. The distance measured from the scanner to the center of the depth of field, or focal point. Good Read. The event that occurs 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 specific bar code symbol.
A-36
MS-810 Industrial Scanner User’s Manual
Page 135
Glossary of Terms 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 at which a label moves through the scan beam. Label Transitions. The transition of bars and spaces on a label, used by the MS-sensor to detect the presence of a label on an object. Ladder Label Orientation. A bar code label in which the bars are parallel to the label’s 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 scanner. 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 scanner. MS-sensor. An FIS option that analyzes label bar and space transitions and reflected light to determine why a label was not decoded within the triggered read cycle (bad label, no label, or no object), and displays a message to identify the cause. Narrow-bar-width. The width of the narrowest bar of a given label, expressed in thousands of an inch (or mils). Non-volatile RAM (NOVRAM). Random Access Memory that is available on power-on; that is, after power to the unit has been recycled. Noread. A non-read. A condition that occurs when the scanner is set up to decode labels, and no labels are scanned during the read cycle. Number of Scans Calculation. The number of times a bar code label is scanned by the scanner during one pass through the laser beam. Object Detector. A photo electric device used to sense to presence or absence of an object (also referred to as a package detector).
Picket Fence Label Orientation. A bar code label in which the bars are perpendicular to the label’s direction of travel. Pitch. Label (or scanner) rotation around the center a line perpendicular to the label’s bars. MS-810 Industrial Scanner User’s Manual
A-37
Appendices
Operational Commands. Serial commands from the host to the scanner that control current operating parameters, counters, master label operations, and program management that are not stored in non-volatile RAM.
Page 136
Chapter A Point-to-Point. A protocol consisting of a single communications event, typically used to connect a bar code reader to a terminal or host computer. Port. Logical circuit for data entry and exit. (One or more ports may be included within a single connector.) Primary Scanner. First scanner in a daisy chain mode and linked directly to the host and in tandem to succeeding scanners. Protocol. The rules for communication between devices, providing a means to control the orderly flow 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. RAM. (Random Access Memory) Memory that is lost after power is recycled to the unit. Read Cycle. A programmed period of time or condition during which the scanner 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 scanner. See “Depth of Field.” Reflectance Threshold. A user-defined setting of reflection (a few digits higher than an empty space reading) that is a point-of-reference for the MS-sensor. A reading lower than the threshold indicates that an object is not present whereas a higher reading indicates the presence of an object. Relay Driver. A TTL signal sent by the scanner. The output is determined by the relay driver selection (by operational command). ROM. (Read Only Memory) Memory that cannot be changed. Scanner. A scanning device that is comprised of a scan head and a decoder integrated in one package. Scan Rate. Number of scans per second that the scanner projects. Scan Width. That portion of the scan line in which a label can be read.
Appendices
Serial Commands. Online data strings (including configuration and operations) from a host or other terminal to the scanner, that are always preceded by a < left angle bracket symbol and followed by a > right angle bracket symbol. Serial Configuration (Host Configuration). Serial command specifically for changing configuration and distinguished from operational command by the fact that they modify the non-volatile for power up configuration. Skew. Label (or scanner) rotation around the center of the skew axis. Specular Reflection. The direct, mirror-like reflection of laser light back to the scanner, causing over-light saturation. For the MS-810 scanner, specular reflection is avoided
A-38
MS-810 Industrial Scanner User’s Manual
Page 137
Glossary of Terms by skewing or pitching labels slightly. Successive Scanner. Linked to the primary or preceding scanner in a daisy chain mode via its aux port to relay bar code data to the host. See “Daisy Chain.” Symbology. A set of bar code symbols, such as Code 39 or Code 128, that have special rules to define the widths and positions of bars and spaces to represent specific numeric or alphanumeric information. Tilt. Label (or scanner) rotation around the centerline of the scan beam. Timeout. A user-selected period of time that ends a scanner's read cycle. Tracking. Parameter of analog-to-digital converter that affects the accuracy to the digitized signal. Wild Card. User-defined character entered into a master label to permit matches with variable characters.
Appendices
MS-810 Industrial Scanner User’s Manual
A-39
Page 138
Appendices
Chapter A
A-40
MS-810 Industrial Scanner User’s Manual
Page 139
Index Symbols Numerics 5 VDC Option A-21
A Achtung/Warnung xii AGC Sampling 2-40 Angled Picket Fence Calculation A-19 Approvals ix As Soon As Possible 3-16 ASCII table A-10 Auto Baud 1-7, 2-4 Auto Gain Control 3-19 Autodiscriminate 3-15, A-36 Autodiscriminate All Codes 4-15 Aux Port Parameters 2-6
B Background Color 2-32, 3-15 Bar Code Output 2-35, 3-16 Bar Code Symbology A-31 Baud Rate 2-6, 3-5 Beep on K 2-37 Beeper 2-36, 3-17 Beeper Volume 2-36, 3-17
Index
# Before Output 2-35
Code 128 2-30, 3-14, A-31 Code 39 2-25, 3-13, A-31 Code 39 Only 4-15 Code Length #1 (I 2 of 5) 2-28 Code Length #2 (I 2 of 5) 2-28 Code Length (Codabar) 2-27 Code Length (Code 128) 2-30 Code Length (Code 39) 2-26 Code Type Menu 2-25 Code Types A-3 Code Types Commands 4-15 Code Types Status Request 3-15 Communications 1-7, 3-5, A-2 Communications (loss of) 2-4 Communications Menu 2-5 Communications Port 3-5 Concentrator A-33 Configuration File 2-3 Configure Scanner 1-8 Continuous Read 2-16, 3-10 Continuous Read 1 Output 2-17, 3-10 Control Character Output (Echo K) 2-37 Counters 4-7 Creating a New Configuration File 2-3 cUL ix, xi
D
C Cabling 1-3 Caution Summary ix CDRH ix, xi CE Compliance ix CE Konformitätszeichen xi Check Digit (Codabar) 2-27 Check Digit (Code 39) 2-25 Check Digit (I 2 of 5) 2-28 Check Digit Output (Codabar) 2-27 Check Digit Output (Code 39) 2-26 Check Digit Output (I 2 of 5) 2-28 Codabar 2-26, 3-13, A-31 Codabar Only 4-15
Daisy Chain ID 2-11 Daisy Chain Mode 2-10 Data Bits 2-6, 3-5 Decode Rate 1-9 Decode Rate Test (multi-label) 4-3 Decodes/Second Test (single label) 4-3 Default Settings 2-3 Defaulting by Hardware Reset A-12 Defaulting by Menu A-12 Defaulting by New A-12 Defaulting the Scanner 3-4, 4-12 Delete Master Label Information 4-10 Discrete I/O A-4 DTE Host Connection 1-3
MS-810 Industrial Scanner User’s Manual
I-1
Page 140
Index
Index
E EAN 2-29, 3-14 Echo K Command 2-37 Edge 2-18 Electrical IB-130 A-13 Electrical Specifications A-3, A-4 End of Read Cycle 2-18, 3-10, 3-16 End Read Rate Test 4-4 Environment A-3 ESP (using) 2-2 Extended Mode 4-4 External Edge 2-18, 3-10 External Level 2-17, 3-10 External Trigger Level 3-11
IB-130 A-13 Host Port 2-5, 3-5
I I 2 of 5 3-14 I 2 of 5 Only 4-15 IB-105, Using A-22 IB-130 Interface Module A-13 Input Connections MS-810 A-7 Intercharacter Delay 2-15, 3-9 Interface A-2 Interface Standards A-32 Interleaved 2 of 5 2-28, 3-13, A-31
K
F
K Command Options 2-37
Factory Default Settings A-12 Factory Settings 2-40 FCC ix, xi FIS Options A-3 Fixed Code Length (Codabar) 2-27 Fixed Code Length (Code 128) 2-30 Fixed Code Length (Code 39) 2-26 From Host 2-14 Full Duplex Mode 2-9
L
Gain A-20 Gain Adjustment 2-40, 3-19 Generic Outputs IB-130 A-15 MS-810 A-5 Glossary of Terms A-36 Good Decode Reads 2-21, 3-11 Good Read Counter 4-7 Ground Loops A-9
Label Contrast A-2 Label density A-20 Label dimensions A-20 Label Height A-19 Label Length A-19 Label ratio A-20 Label Speed A-19, A-20 Ladder Calculation A-18 Large Intercharacter Gap (Codabar) 2-27 Large Intercharacter Gap (Code 39) 2-26 laser beam x Laser On/Off 2-36, 3-17 Laser Scanning (enable/disable) 4-6 Level 2-17 Light Source A-2 Longitudinal Redundancy Check 2-15, 3-8 Loss of communications 3-4 LRC 2-15
H
M
Half duplex 3-5 Half Duplex Mode 2-8 Host Connector
Master Label 4-9 Match Code 2-22, 3-11, 4-9 Match Counter 4-7
G
I-2
MS-810 Industrial Scanner User’s Manual