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 6 of 25

MS-3 Laser Scanner User's Manual, pages 51 to 60

Pages 51 to 60 of 242

The original document is the PDF (7.8 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-3

Page 51

MS-3 Laser E.book Page 13 Monday, August 30, 2004 11:09 AM

Chapter 3 Communications

Auxiliary Port Mode Definition:

Determines the flow of data between the auxiliary port device(s), the scanner, and the host.

Serial Cmd:

<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID>

Default:

Disabled

Options:

0 = Disabled 2 = Half duplex 4 = Daisy chain

1 = Transparent 3 = Full duplex 5 = Command Processing

MS-3 Laser Scanner User’s Manual

3-13

Page 52

MS-3 Laser E.book Page 14 Monday, August 30, 2004 11:09 AM

RS-232 Auxiliary Port

Transparent Mode Usage:

A common application, in conjunction with handheld scanners, is one that employs an auxiliary readout to detect mis-applied bar code symbols.

Definition:

In Transparent mode data is passed between the auxiliary port and the host. The scanner buffers data from the auxiliary port and echoes the keyed data on the auxiliary port.

Data initiated from the Auxiliary Port • Auxiliary port data is passed through to the host whenever a return key is pressed at the auxiliary port or symbol data is sent. • Whenever aux port data is sent with symbol Aux data, the aux port data will appear between the Host Port preamble and the symbol data. • Auxiliary port data to the host is always sent with a preamble and a postamble. Scanner • If the scanner is in a polled mode to the host, auxiliary port data will NOT pass through. • <D> is the only command accepted by the scanner from the auxiliary port. All other commands will pass through to the host.

Data initiated from the Scanner • Transmission to the auxiliary port occurs immediately upon a good read. • Scan data to the auxiliary port does not include a preamble or a postamble. • Communications with the auxiliary port is always in Point-to-Point protocol, even if the host is in a polled protocol mode.

Host

Scanner

Data initiated from the Host • All host data is echoed to the auxiliary port in unpolled and polled mode.

Aux Port

Host

Aux Port

Scanner

Serial Cmd:

3-14

<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID> 1 = Transparent

MS-3 Laser Scanner User’s Manual

Page 53

MS-3 Laser E.book Page 15 Monday, August 30, 2004 11:09 AM

Chapter 3 Communications

Half Duplex Mode Usage:

Useful when the user wants symbol data displayed on an auxiliary screen close to the scanner.

Definition:

In Half Duplex mode all auxiliary port data and symbol data is sent directly to the host. Symbol data is displayed on the auxiliary port screen at the same time the data is sent to the host.

Data initiated from the Auxiliary Port • Auxiliary port data to the host is ignored if the Aux scanner is in a polled mode. Host Port • Auxiliary port data or scanned data is sent to the host whenever it is received. • Auxiliary port data is not echoed. Scanner • Auxiliary port data to the host is always sent without a preamble or a postamble. • <D> is the only command that is accepted by the scanner from the auxiliary port. All other commands are passed through to the host.

Data initiated from the Scanner • Scan data is transmitted to the auxiliary port at the same time it is transmitted to the host. • Data transmission conforms with all parameters specified in the configuration menu (e.g., Preamble, Postamble, End of Read Cycle).

Host

Aux Port

Scanner

Data is initiated from the Host • All host data is echoed to the auxiliary port in unpolled mode.

Host

Aux Port

Scanner

Serial Cmd:

<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID> 2 = Half Duplex

MS-3 Laser Scanner User’s Manual

3-15

Page 54

MS-3 Laser E.book Page 16 Monday, August 30, 2004 11:09 AM

RS-232 Auxiliary Port

Full Duplex Mode Usage:

When communication to and from the auxiliary port is required.

Definition:

In Full Duplex mode all auxiliary port data and symbol data is sent directly to the host. Symbol data is not displayed on the auxiliary port screen.

Data initiated from the Auxiliary Port • Auxiliary port data to the host is ignored if the scanner is in a polled mode. • Auxiliary port data or scanned data is sent to the host whenever it is received.

Host

Aux Port

Scanner • Auxiliary port data is not echoed. • Auxiliary port data to the host is always sent without a preamble or a postamble. • <D> is the only command that is accepted by the scanner from the auxiliary port. All other commands are passed through to the host.

Data initiated from the Scanner • Scan data is not sent to the auxiliary port.

Host

Aux Port

Scanner

Data initiated from the Host • All host data is echoed to the auxiliary port in unpolled mode.

Host

Aux Port

Scanner

Serial Cmd:

3-16

<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID> 3 = Full duplex

MS-3 Laser Scanner User’s Manual

Page 55

MS-3 Laser E.book Page 17 Monday, August 30, 2004 11:09 AM

Chapter 3 Communications

Daisy Chain Mode Usage:

Useful in applications where: • A symbol might be scanned in both ladder and picket fence directions. • A symbol may be present on multiple sides of a package. • Symbols are presented at different depths.

Definition:

In a daisy chain application, scanners are connected in tandem or “daisy chain” and decoded data is relayed from one scanner to another on up to the host. A master scanner has its host port linked to the host computer and its auxiliary port linked to the host port of the first “slave” scanner in the chain. Thereafter, each slave’s auxiliary port is linked to the host port of the slave that is further from the host in the daisy chain. Each scanner in the daisy chain can be assigned an ID that accompanies any data that it sends.

Serial Cmd:

<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID>

Options:

4 = Daisy chain

Function:

Before the master scanner times out, it checks its auxiliary port for data. It should be set to wait at least 20 mS for each slave in the daisy chain. (See “Read Cycle Timeout” on page 4-15.) If no data is received within the read cycle timeout, the master sends a noread message to the host. Otherwise the complete data is sent. If for example a master scanner is set to timeout in 120 mS, the first slave scanner might be set to 100 mS, the next to 80 mS, and so forth, thus assuring that at least 20 mS elapses between transmissions.a Daisy-chained scanners can send a series of symbols by enabling Multisymbol and a common multisymbol separator. If the master scanner does not receive the expected number of symbols, noread messages are appended to the data string to make up the difference between the number of symbols enabled in Multisymbol and the number of symbols read. For example, a master and two slaves have Number of Symbols set to 3 and Multisymbol Separator defined as %. If the master and the first slave do not find symbols, but the next slave scanner registers a good read, the transmitted results will be: symbol data % noread % noread.

a. The above example is based on the best case. Other factors such as baud rate, dynamic focus timing, number of characters in a given symbol, and the number of slaves in the daisy chain can affect timing and may need to be included in your calculations for complete accuracy.

MS-3 Laser Scanner User’s Manual

3-17

Page 56

MS-3 Laser E.book Page 18 Monday, August 30, 2004 11:09 AM

RS-232 Auxiliary Port Conditions:

The conditions for a daisy chain application are as follows: 1. The master scanner’s trigger must be Serial or External; the slave scanners’ triggers are conHost Slave figured for Serial. 2. All scanners are enabled to Daisy Chain mode. 3. Each scanner’s auxiliary port must be connected Master to the Host port of its slave scanner. 4. Each slave scanner in the daisy chain must be set to send its data no less than 20 mS before its preceding scanner. 5. All but the master scanner must have Postamble enabled and set to CR (^M) only. 6. All but the master scanner must have their noread messages disabled. 7. If Multisymbol is enabled, Multisymbol Separator characters must match in all scanners and Number of Symbols must be set to number large enough to include all the symbols it may itself read plus the number of symbols that it will be expected to relay to the host or the next scanner up the line. 8. Symbology ID enable/disable must be the same in all scanners. 9. All but the master scanner must have their diagnostic warning messages disabled. 10. Daisy Chain ID Status enable/disable and the number of characters in Daisy Chain ID must be the same in all scanners.

Command Processing Mode Usage:

Allows user to send configuration from the Host port or the AUX port.

Definition:

When enabled, Command Processing allows commands to be entered via the aux port. The following rules apply: 1. Bar code data, including the serial trigger if used, will be transmitted to the last port from which a command was sent. 2. If a reset occurs, all data will be transmitted to the host port.

Serial Cmd:

<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID>

Options:

5 = Command Processing

3-18

MS-3 Laser Scanner User’s Manual

Page 57

MS-3 Laser E.book Page 19 Monday, August 30, 2004 11:09 AM

Chapter 3 Communications

Daisy Chain ID Status Usage:

Used in a daisy chain setup in cases where the host needs to know which scanner in a daisy chain setup sent the data.

Definition:

Each scanner in a daisy chain can be assigned a one or two character ID that will appear in front of decoded data and identify its source.

Serial Cmd:

<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID>

Default:

Disabled

Options:

0 = Disabled

1 = Enabled

Note: Enable/disable and length must be the same in all scanners.

Daisy Chain ID Usage:

Used in a daisy chain setup in cases where the host needs to know which scanner sent the data.

Definition:

A one or two character prefix which identifies the particular daisy chain scanner from which the data is being sent.

Serial Cmd:

<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID>

Default:

1/

Options:

Any one or two ASCII characters.

MS-3 Laser Scanner User’s Manual

3-19

Page 58

MS-3 Laser E.book Page 20 Monday, August 30, 2004 11:09 AM

Preamble

Preamble Preamble Status Usage:

Useful for identifying and controlling incoming data. For example, defining the preamble as a carriage return and a line feed causes each decoded message to be displayed of on its own line.

Definition:

Defines a one to four character data string that can be added to the front of the decoded data.

Serial Cmd:

<K141,preamble status,preamble character(s)>

Default:

Disabled

Options:

0 = Disabled

1 = Enabled (within any protocol)

Preamble Characters Serial Cmd:

<K141,preamble status,preamble characters>

Default:

^M corresponds to: carriage return/null/null/null.

Options:

Up to four user-defined ASCII characters, including control characters.

Within a Serial Command. To enter control characters within a serial command, hold down the control key while typing the desired character. Example: <K141,1,CNTL-m> to enter ^M.

Within an Embedded Menu Control characters entered on the command line are displayed in the menu as mnemonic characters, such as: <CR><NUL><NUL><NUL>. To enter a control character from within an embedded menu, first type in a space (with the space key). This has the effect of allowing the control key to be recognized as a part of the control character. Next hold down the control key while typing the desired character. Example: Space CNTL-m to enter ^M.

3-20

MS-3 Laser Scanner User’s Manual

Page 59

MS-3 Laser E.book Page 21 Monday, August 30, 2004 11:09 AM

Chapter 3 Communications

Postamble Postamble Status Usage:

Useful for identifying and controlling incoming data. For example, defining the postamble as a carriage return and a line feed causes each decoded message to be displayed of on its own line.

Definition:

Defines a one to four character data string that can be added to the end of the decoded data.

Serial Cmd:

<K142,status,postamble character(s)>

Default:

Enabled

Options:

0 = Disabled

1 = Enabled (within any protocol)

Postamble Characters Serial Cmd:

<K142, status,postamble characters>

Default:

^M^J. Corresponds to carriage return/line feed/null/null, as displayed in the menu.

Options:

Up to four user-defined ASCII characters, including control characters.

Within a Serial Command To enter control characters within a serial command, hold down the control key while typing the desired character. Example: <K142,CNTL-m CNTL-j> to enter ^M^J.

Within an Embedded Menu Control characters entered on the command line are displayed in the menu as mnemonic characters, such as: <CR><LF><NUL><NUL> To enter a control character from within an embedded menu, first type in a space (with the space key). This has the effect of allowing the control key to be recognized as a part of the control character. Next hold down the control key while typing the desired character. Example: Space CNTL-m Space CNTL-j to enter ^M^J.

MS-3 Laser Scanner User’s Manual

3-21

Page 60

MS-3 Laser E.book Page 22 Monday, August 30, 2004 11:09 AM

LRC Status

LRC Status (Longitudinal Redundancy Check) Usage:

Used when extra data integrity is required.

Definition:

An error-checking routine that verifies the accuracy of transmissions. It is the exclusive OR of all characters following the STX (start of text) up to and including the ETX (end of text). What this means is that the binary representation of all the characters in a transmissions are cumulatively added in a column and each resulting odd integer is assigned a 1 and each even integer a 0 (two 1s = 0, two 0s = 0, a 1 and a 0 = 1). The extra LRC character is then appended to the transmission and the receiver (usually the host) performs the same addition and compares the results.

Serial Cmd:

<K145,LRC status>

Default:

Disabled

Options:

0 = Disabled

1 = Enabled

Intercharacter Delay Usage:

Used only when a host cannot receive data quickly enough and there is enough time between symbols to allow data to be completely transferred. It is rarely used since any setting other than zero will slow down communications. For example, a 200 setting will result in a 1/5 second delay between each character that is transmitted.

Definition:

The time interval in milliseconds between individual characters transmitted from the scanner to the host.

Serial Cmd:

<K144,intercharacter delay>

Default:

0

Options:

0 to 255 (in milliseconds). Zero (0) causes no delay between characters.

3-22

MS-3 Laser Scanner User’s Manual