The text of a manual · part 13 of 14
MS-7100/7180 Industrial Scanner User's Manual, pages 121 to 130
Pages 121 to 130 of 138
The original document is the PDF (1.9 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-7100 and Microscan MS-7180
Page 121
Auxiliary Monitor
In full duplex mode, all monitor data and bar code data is sent directly to the host. Bar code data is not displayed on the monitor screen.
Data initiated from the Monitor • Monitor data is passed directly through to the host whenever it is received by the scanner, unless the scanner is in a polled mode, in which case the data will be ignored. • Monitor data is not echoed. • Monitor data to the host will not have a preamble or a postamble. • A <D> and <t> commands are the only commands accepted by the scanner from the monitor. All other commands will pass through to the host.
Host
Monitor
MS-7100 Scanner
Data initiated from the Scanner • Scan data is not sent to the monitor. Host
Data initiated from the Host • In polled mode, data echoed from the host to the monitor must be in the format <B____> (i.e., to send the word “LUNCH” to the terminal, it must be sent in the format <BLUNCH>). • In unpolled mode, all host data is echoed to the monitor.
Monitor
MS-7100 Scanner
Host
Monitor
MS-7100 Scanner
MS-7100/7180 Industrial Scanner User’s Manual
A-19
Appendices
Full Duplex Mode
Page 122
Appendices Appendices
Daisy Chain Mode In a daisy chain application, a primary scanner is linked directly to the host and succeeding scanners are linked in tandem. Data from succeeding scanners is transmitted directly to the host as if it were coming from the primary scanner.
Succeeding Scanner(s)
Host
The conditions for a daisy chain application are as follows: 1. The primary scanner’s trigger can be serial or external; the succeeding scanners’ triggers must be set to serial.
Primary Scanner
2. Each succeeding scanner in the daisy chain must be connected to the aux. port of its preceding scanner. 3. Each succeeding scanner in the daisy chain should be set to send its data less than 20 ms before its preceding scanner. For example, if the primary scanner is set to timeout in 100 ms, the first succeeding scanner can be set to 90 ms, the next to 80 ms, etc. 4. Postamble must be set to CR (^M) and enabled. 5. Succeeding scanners must have noread messages disabled. 6. Multilabel separator characters and the number of labels must match in all scanners in the daisy chain.
Daisy Chain Description Just before sending a noread message, the primary scanner checks its auxiliary port for data. It waits a maximum of 20 ms. If no character is received in 20 ms, it sends a noread message to the host. After each character received, it waits up to 20 ms for the next character or a CR. If a complete message is received, it is sent to the host instead of the noread message. Daisy-chained scanners can send a series of labels by enabling Multilabel and a common multilabel separator. If a scanner does not receive the expected number of labels, noread messages are appended to the data string to make up the difference between the number of labels enabled in Multilabel (Number of Labels) and the number of labels read. For example, a primary and two succeeding scanners have Number of Labels set to 3 and Multilabel Separator defined as %. If the primary and the first succeeding scanner do not find labels, but the next scanner registers a good read, the transmitted results would be: label data % noread % noread. A-20
MS-7100/7180 Industrial Scanner User’s Manual
Page 123
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,” on page 2-6. Figure A-12 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
Multidrop Addresses • No two scanners in the Multidrop Network can have the same address. • Each scanner in the network must have an address (from 01 to 50) assigned in its configuration program. Each address has its own separate poll and select address (from 1C to 7F hex as shown in table A-3 on page A-24).
Concentrator or Controller
Polled Protocol Multidrop ONLY RS-485 Interface (LAN)
Scanner 01 Scanner 02 Scanner 03
Figure A-12 Typical Multidrop Network
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).
MS-7100/7180 Industrial Scanner User’s Manual
A-21
Appendices
Appendix J, Multidrop Communications
Page 124
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-13 Polling Sequence
The polling sequence example in figure A-13 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. 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).
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).
A-22
MS-7100/7180 Industrial Scanner User’s Manual
Page 125
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 scanner complies with the command when it is polled during the cycle. Figure A-14 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-14 Select Sequence
A RES (reset) is the first command in the select sequence. The 1F hex is the select address associated with scanner’s 02 address (see table A-3 on page A-24). 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 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 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-7100/7180 Industrial Scanner User’s Manual
A-23
Appendices
Select Sequence
Page 126
Appendices Appendices
Table A-3 Multidrop Address Characters
Multidrop Address
A-24
Poll Character
Select Character
ASCII
HEX
ASCII
HEX
01
^\
1C
^]
1D
02
^^
1E
^-
03
SP
20
04
"
05 06 07
Multidrop Address
Poll Character
Select Character
ASCII
HEX
ASCII
HEX
26
N
4E
O
4F
1F
27
P
50
Q
51
!
21
28
R
52
S
53
22
#
23
29
T
54
U
55
$
24
%
25
30
V
56
W
57
&
26
'
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
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 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
∆
7F
MS-7100/7180 Industrial Scanner User’s Manual
Page 127
Glossary of Terms
Application Identifier. Prefix of two to four digits that defines the type and length of data fields in UCC/EAN-128 code. Autocalibration. Automatic calibration of gain and tracking settings to obtain optimum read rate. 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. Bandwidth. Range of frequencies (energy transitions) that are allowed to pass through bandpass filters during signal processing. 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). Clock Speed. Internal device timing relative to individual bars and spaces 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 multidrop 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 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. Depth of Field. The distance between the minimum and maximum range in which a scanner can read bar code labels.
MS-7100/7180 Industrial Scanner User’s Manual
A-25
Appendices
Appendix K, Glossary of Terms
Page 128
Appendices Appendices
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. 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. Focal Length. The distance measured from the scanner to the center of the depth of field, or focal point. Gain. Signal parameter in testing a specific label and range. One of two components in autocalibration. Good Match. The event occurring when a scanned label matches the master label information that is stored in the memory of the scanner. Good Read. The event which 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. 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. 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. Multidrop. A communications protocol for networking two or more scanners or other devices with a concentrator (or controller) and characterized by the use of individual device addresses and the RS-485 standard. A-26
MS-7100/7180 Industrial Scanner User’s Manual
Page 129
Glossary of Terms
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. Operational Commands. Serial commands from the host to the scanner to control current operating parameters, counters, master label operations, testing, 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. Padding. The insertion of zeros to make up the maximum length of a variable application identifier field. 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. 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. Polled Protocol. A protocol in which each scanner 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 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.
MS-7100/7180 Industrial Scanner User’s Manual
A-27
Appendices
Narrow Bar Width. The width of the narrowest bar of a given label, expressed in thousands of an inch (or mils).
Page 130
Appendices Appendices
Read Cycle. A programmed period of time or condition during which the scanner will accept bar code label input. Read Rate. The percentage of reads decoded by the scanner. Read Range. The distances in which a label can be reliably read, as measured from the front of the scanner. See “Depth of Field.” Relay Driver. A TTL signal sent by the scanner. The output is determined by the relay driver selection during configuration. Scanner. A scanning device which is comprised of a scan head and a device 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,. Serial Commands. On line data strings (including configuration and operations) from a host or other device to the scanner, 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. Serial Configuration. Serial command specifically for changing 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. 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 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 which affects the accuracy to the digitized signal.
A-28
MS-7100/7180 Industrial Scanner User’s Manual