The text of a manual · part 5 of 32
MS-880 Industrial Long Range Scanner User's Manual, pages 41 to 50
Pages 41 to 50 of 312
The original document is the PDF (6.2 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-880
Page 41
Chapter 2 Communications
Full Duplex Mode Definition:
In Full Duplex mode all auxiliary port data and bar code data is sent directly to the host. Bar code data is not displayed on the auxiliary port screen. Data initiated from the Auxiliary Port Host
Aux 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 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
Usage:
When communication to and from the auxiliary port is required.
Serial Cmd:
<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID> 3 = Full duplex
MS-880 Industrial Long Range Scanner User’s Manual
2-11
2–Communications
• Auxiliary port data to the host is ignored if the scanner is in a polled mode.
Page 42
Auxiliary Port
Daisy Chain Mode
2–Communications
Note: See also “Daisy Chain Autoconfigure” on page 2-27. 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.
Usage:
Useful in applications where: • A bar code label might be scanned in both ladder and picket fence directions. • A bar code label may be present on multiple sides of a package. • Bar code labels are presented at different depths.
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 30 mS for each slave in the daisy chain. (See “Timeout Duration” 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 the master scanner is set to timeout in 120 ms, the first slave scanner downstream might be set to 90 ms, the next to 30 ms, and so forth, thus assuring that at least 30 mS elapses between transmissions.a Daisy-chained scanners can send a series of labels by enabling Multilabel and a common multilabel separator. If the master 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 and the number of labels read. For example, a master and two slave scanners have Number of Labels set to 3 and Multilabel Separator defined as %. If the master and the first slave scanner do not find labels, but the next slave scanner registers a good read, the transmitted results would be: label 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.
2-12
MS-880 Industrial Long Range Scanner User’s Manual
Page 43
Chapter 2 Communications 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 configured for Serial. 2. All scanners are enabled to Daisy Chain mode.
Host
Slave
Master
4. Each slave scanner in the daisy chain must be set to send its data no less than 30 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 Multilabel is enabled, Multilabel Separator characters must match in all scanners and Number of Labels must be set to number large enough to include all the labels it may itself read plus the number of labels 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 Definition:
Command Processing allows commands to be entered via the aux port and direct externally triggered read cycle data in one of two ways: 1. If the last command came from the aux port, then externally triggered read cycle data will be output to both the host and the aux ports. 2. If the last command came from the host port, then externally triggered read cycle data will only be output to the host port.
Usage:
Allows user to direct externally triggered read cycle data to the host or both the host and aux ports.
Serial Cmd:
<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID>
Options:
5 = Command Processing MS-880 Industrial Long Range Scanner User’s Manual
2-13
2–Communications
3. Each scanner’s auxiliary port must be connected to the Host port of its slave scanner.
Page 44
Auxiliary Port
Aux Port Communications Parameters As with the host port parameters, the auxiliary terminal’s settings (baud rate, parity, stop bits, and data bits) must be identical with those of the auxiliary device.
2–Communications
Baud Rate, Aux Port Definition:
The rate at which the scanner and host transfer data back and forth.
Usage:
Can be used to transfer data faster or match an auxiliary device.
Serial Cmd:
<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID>
Default:
9600
Options:
1 = 1200 2 = 2400 3 = 4800
4 = 9600 5 = 19.2 K 6 = 38.4 K
7 = 57.6 K 8 = 115.2 K
Parity, Aux Port Definition:
An error detection routine in which one data bit in each character is set to 1 or 0 so that the total number of 1 bits in the data field is even or odd.
Usage:
Only changed if necessary to match host setting.
Default:
Even
Options:
<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID>
Serial Cmd:
0 = None
1 = Even
2 = Odd
Data Bits, Aux Port Definition:
Number of bits in each character.
Usage:
Only changed if necessary to match host setting.
Serial Cmd:
<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID>
Default:
Seven
Options:
0 = Seven
2-14
1 = Eight
MS-880 Industrial Long Range Scanner User’s Manual
Page 45
Chapter 2 Communications Stop Bits, Aux Port Allows the user to select the last one or two bits in each character to indicate the end of the character.
Usage:
Only changed if necessary to match host setting.
Serial Cmd:
<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID>
Default:
One
Options:
0 = One
1 = Two
Daisy Chain ID Status 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.
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.
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 Definition:
A one or two character prefix which identifies the particular daisy chain scanner from which the data is being sent.
Usage:
Used in a daisy chain setup in cases where the host needs to know which scanner sent the data.
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-880 Industrial Long Range Scanner User’s Manual
2-15
2–Communications
Definition:
Page 46
Daisy Chain Autoconfigure
Daisy Chain Autoconfigure
2–Communications
Definition:
Daisy Chain Autoconfigure is issued to the master scanner in the daisy chain and the software responds as follows: • Counts the number of slave scanners in the daisy chain. • Assigns an internal ID number (1...n) to each slave scanner, where the first slave scanner is number 1 (and it’s own ID being a 0). • Propagates the communications settings and the relevant operating modes of the master scanner to the host and auxiliary ports of each slave scanner. • Resets each slave scanner. • Verifies that each slave scanner has acquired the new settings.
Usage:
For quick setup and configuration of the daisy chain network.
Serial Cmd:
<K150DAISY>
Note: All slave scanners must be set to Serial for Daisy Chain to function. See “Trigger Mode” on page 4-4. When setting up a daisy chain operation, do the following: 1. Set the master (the scanner connected to the host) scanner to Serial. This sets all the scanners in the daisy chain to Serial when the command is carried out. Before Autoconfigure you must set the master scanner to Serial (S): Host
S
Master Scanner
S
Slave Scanner
S
Slave Scanner
2. Send <K150DAISY> command. 3. If necessary, set the master scanner to Edge. After Autoconfigure you may set the master scanner to Edge (E) but the other scanners must remain in Serial (S): Host
E
2-16
Master Scanner
S
Slave Scanner
S
Slave Scanner
MS-880 Industrial Long Range Scanner User’s Manual
Page 47
Chapter 2 Communications
Daisy Chain Remote Scanner ID Note: Scanner IDs can also be assigned in “Daisy Chain Mode” on page 2-20. Assigns a new daisy chain ID to a daisy chain scanner. The command is sent to the master scanner to configure the other scanners.
Usage:
This command provides a handy way to assign custom daisy chain IDs to specific scanners that were assigned during the daisy chain autoconfigure process.
Serial Cmd:
<K151,daisy chain scanner #,scanner ID>
Daisy Chain Scanner Number Definition:
Specifies the target scanner (by sequential number) which will be receiving the new Daisy Chain ID. The master scanner is always 0 (zero). All slave scanners are numbered 1...n in the order that they are connected. Note: These numbers are for assigning IDs only and are not changeable.
Serial Cmd:
<K151,daisy chain scanner #,scanner ID>
Options:
1....n (0 for the master scanner)
Daisy Chain Scanner ID Definition:
A two-character user-defined ASCII message identifying a scanner in the daisy chain.
Serial Cmd:
<K151,daisy chain scanner #,scanner ID>
Default:
Sequential numbering of scanner units resulting from the Daisy Chain Auto-configure <K150> command; for example: ID Master = 1/; ID Scanner 1 = 2/; ID Scanner 2 = 3/; etc.
Options:
Any two characters except , < > NUL.
Note: After a slave scanner accepts a new ID, it automatically invokes a reset-withsave command.
MS-880 Industrial Long Range Scanner User’s Manual
2-17
2–Communications
Definition:
Page 48
IrDA Port
IrDA Port
2–Communications
Status Definition:
IrDA, which stands for the Infrared Data Association, promotes interoperable, infrared data interconnection standards that support a walk-up, point-to-point user model for a broad range of appliances, computing and communications devices.
Usage:
Allows wireless programming of the MS-880 by devices with IrDA ports such as the Palm Pilot™, laptops, etc. (See Appendix C, “IrDA Configuration Port” of the MS-880 Industrial Bar Code Scanner User’s Manual and Appendix D, “IrDA/Ir Comm for Palm Pilot” of the MS-880 Industrial Bar Code Scanner User’s Manual.)
Serial Cmd:
<K103,IR status,IR timeout,menu mode>
Note: IrDA port will be disabled automatically whenever the 9-pin host port is in use. Serial Cmd:
<K103,IR status,IR timeout,menu mode>
Default:
Disabled
Options:
0 = Disabled
1 = Enabled
IrDA Timeout Definition:
After the loss of the IrDA link, the MS-880 will attempt to re-acquire the same link until IR Timeout expires, at which time the software clears the old link and attempts to “discover” any nearby IRDAequipped devices. Until the timeout period elapses, the scanner will not end the search for the current IRDA terminal even if that terminal is removed and another IrDA terminal is put in its place.
Serial Cmd:
<K103,IR status,IR timeout,menu mode>
Default:
40 seconds
Options:
0 = 3 sec. 1 = 12 sec. 2 = 20 sec. 3 = 40 sec.
2-18
MS-880 Industrial Long Range Scanner User’s Manual
Page 49
Chapter 2 Communications
Menu Mode Important Note: Menu Mode is only used in special cases (see “Usage” below). In normal use the correct mode for your device is automatically selected. In VT-100 mode, keyboard arrow keys of a VT-100 terminal (or terminal emulation) may be used. TTY uses a teletype protocol. Note: Send this command from the port to be changed.
Usage:
Only useful in a special cases where a user has a TTY device (desktop computer, laptop, etc.) and wishes to use the space bar and enter keys to navigate through the embedded menus.
Serial Cmd:
<K103,IR status,IR timeout,menu mode>
Default:
The IrDA port defaults to VT-100 mode.
Options:
0 = TTY 1 = VT-100
MS-880 Industrial Long Range Scanner User’s Manual
2-19
2–Communications
Definition:
Page 50
Menu Mode
” c 2 -_ © £ ¢ S = = re) af N
2-20 MS-880 Industrial Long Range Scanner User’s Manual