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 10 of 11

VS-310 Scanner User's Manual, pages 91 to 100

Pages 91 to 100 of 108

The original document is the PDF (1.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 VS-310

Page 91

Multidrop Communications

Appendix F, 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-17 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

Host

Concentrator

• 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-12 on page A-16).

Polled Protocol Multidrop ONLY RS-485 Interface (LAN)

Scanner 01 Scanner 02 Scanner 03 Figure A-17 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).

Appendices

VS-310 Scanner User’s Manual

A-13

Page 92

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

Concentrator Scanner 02

End of Sequence

RES1EREQ

ACK 1E STX DATA ETX LRC

RES

Figure A-18 Polling Sequence

The polling sequence example in figure A-18 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.

Appendices

• 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-14

VS-310 Scanner User’s Manual

Page 93

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. Figure A-19 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-19 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 on page A-16). 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

Appendices

1. For additional information on Multidrop, see the MS-5000 Multidrop Concentrator User's Manual. VS-310 Scanner User’s Manual

A-15

Page 94

Appendices Table A-12 Multidrop Address Characters

Multidrop Address

Poll Character

Select Character

ASCII

HEX

ASCII

HEX

01

^\

1C

^]

1D

02

^^

1E

^-

03

SP

20

04

"

05 06

Multidrop Address

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

07

(

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

Appendices A-16

Poll Character

VS-310 Scanner User’s Manual

Page 95

Orientation

Appendix G, Orientation Label Orientation If the bar code label bars are parallel to the direction of travel, as shown in 1720, the label is said to be in a ladder orientation; if the bars are perpendicular with the direction of travel, the label is said to be in a picket fence orientation (1721).

Ladder Orientation In general, depending on label size and speed, ladder orientation is preferable because different portions of the label are scanned as the label goes by. In addition, label placement is not as critical. As shown in 1720, a label can be successfully read if fully placed (including quiet zones) anywhere within the readable portion of the scan line.

Picket Fence Orientation

Direction of label travel

Scan Line

Figure A-20 Ladder Orientation

Unlike ladder, picket fence allows only a small portion of the entire label to be scanned. As a result, labels must be of good quality since even slight label imperfections such as extraneous ink, voids, etc., can cause misreads or non-reads.

Direction of label travel

Scan Line

One advantage of the picket fence Figure A-21 Picket Fence Orientation over the ladder orientation is in the area of label speed. In ladder mode, the label travel distance is the height of the bar code; in picket fence mode, the label can be read while it travels the full distance of the scan width.

VS-310 Scanner User’s Manual

A-17

Appendices

Note: Either ladder or picket fence can be rotated without losing its orientation, provided that the label’s direction of travel does not change in relation to the scan line.

Page 96

Appendices Angled Picket Fence Orientation The problems associated with picket fence can be minimized by slightly tilting the scan line (figure A-22). This allows a larger portion of the label to be scanned and increases the label placement area by “simulating” the ladder orientation. This of course is impractical with a short bar code height. Angled picket fence is recommended only where the bar code is reasonably tall and the label speed is not too fast in relation to the scan field width, since angling the label will reduce the number of scans on the label.

Direction of label travel

Scan Line

Appendices

Figure A-22 Angled Picket Fence Orientation

A-18

VS-310 Scanner User’s Manual

Page 97

Grounding and Shielding

Appendix H, Grounding and Shielding Proper grounding is necessary for operator safety, noise reduction, and the protection of equipment from voltage transients. Buildings, including any steelwork, all circuits, and all junction boxes must be grounded directly to an earth ground in compliance with local and national electrical codes. RS-232 signals have a common signal ground, pin 4, which is normally connected to chassis ground and connector shielding in the scanner; however, under certain conditions (e.g., when potential differences exist between power outlet grounds) signal and chassis grounds can be isolated from each other inside the scanner by Microscan technicians.

Noise Interference Noise interference can be minimized if cabling subject to noise interference is twisted and/or shielded or encased in grounded conduit, and the conduit or shielding (“drain” line) is earth grounded. For long runs the VS-310 to adapter shielding is not connected to the adapter (see 1923). In shorter runs, particularly in environments where extremely high frequencies are present/critical, the shielding may need to be connected to both the VS-310 and the adapter.

Ground Loops

Host

IB-105 Adapter

VS-310

Shielding Cabling Earth ground

Power Note: Shielding could be connected to adapter in short runs

Ground loops, signal degradation due to different ground Figure A-23 Grounding Diagram potentials in communicating devices, can be eliminated or minimized by ensuring that the host, adapter, scanner, and power supplies are connected to a common earth ground.

Appendices

VS-310 Scanner User’s Manual

A-19

Page 98

Appendices

Appendix I, Bar Code Symbology Before choosing a bar code symbol, consider:1 • the type of information to be scanned (numeric only, alphanumeric) • the length of the messages to be encoded • how and where labels are to be applied • label printer capabilities

• scan speed • beam width • the space available on the object to be identified • host software limitations • range of the scanner • the speed of the conveyor

Microscan standard scanner firmware supports the following five bar code symbologies. (Firmware can also be custom ordered to support other symbologies.) Code 39. An alphanumeric code with unique start/stop code patterns, com-posed of nine black and white elements per character, three of which are always wide. Considered the de facto standard for non-retail symbology.

Codabar. A 16-character set (0 through 9, and the characters $, :, /, ., +, and –) with start/stop codes and at least two distinctly different bar widths. It is commonly used in libraries, photo finishing, and air parcel express applications. (A check digit is highly recommended.)

I 2 of 5. Interleaved 2 of 5 is a high-density, continuous numeric symbology used mainly in the distribution industry. I 2 of 5 encodes two digits: one in the bars, and one in the spaces. (A check digit is highly recommended.) Code 93. Code 93 is a variable length, continuous symbology employing four element widths. Each Code 93 character has nine modules that may be either black or white. Each character contains three bars and three spaces. Each character begins with a bar and ends with a space. This is a (9,3) code hence the name. Code 93 has 47 characters in its character set. The start/stop code is represented by the symbol ?, and the four unique circle codes, ($), (%), (/), and (+), are used as precedence characters to unambiguously represent all 128 ASCII characters in a similar fashion to Code 39's Full ASCII feature. Code 128. A very high density alphanumeric symbology. Will encode all

Appendices

128 ASCII characters, it is continuous, has variable length, and uses multiple element widths measured edge to edge. It is widely used in the nonfood distribution industry and shipping containers. 1. For further information about symbology, see The Bar Code Book, by Roger C. Palmer, Helmers Publishing, Inc., 1989 or www.barcodeusa.com.

A-20

VS-310 Scanner User’s Manual

Page 99

Glossary of Terms

Appendix J, Glossary of Terms Autodiscriminate. The ability to decode several different bar code symbologies without changing configuration. 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 decoder 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.

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. Decode Rate. The number of good reads per second decoded by the scanner.

Default. The original factory settings. Defaulting. Act of resetting the scanner to the original factory settings. Depth of Field. The distance between the minimum and maximum range in which a scanner can read bar code labels. Edge. External Triggering mode in which a detected object is recognized by a single edge pulse.

EPROM. Erasable, programmable, read only memory.

information to decode. This can be caused by a timeout, a trigger event, or a good read.

VS-310 Scanner User’s Manual

A-21

Appendices

End of Read Cycle. The time at which the scanner stops expecting label

Page 100

Appendices Focal Length. The distance measured from the scanner to the center of the depth of field, or focal point. 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 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. 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. Level. The period of time between the arrival and departure of an object is referred to as “level,” a reference to the horizontal signal that is displayed on an oscilloscope.

Master Label. A label or label data that is stored in the scanner’s memory and is compared with subsequently scanned labels. 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. Narrow Bar Width. The width of the narrowest bar of a given label,

Appendices expressed in thousands of an inch (or mils). NOVRAM. Non-volatile RAM. 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.

A-22

VS-310 Scanner User’s Manual