The text of a manual · part 4 of 32
MS-880 Industrial Long Range Scanner User's Manual, pages 31 to 40
Pages 31 to 40 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 31
Chapter
Communications
2 Communications Options ............................................................................ 2-2 Host Port Parameters.................................................................................. 2-5 RS422 Status .............................................................................................. 2-7 Auxiliary Port ............................................................................................... 2-8 Daisy Chain Autoconfigure........................................................................ 2-16 Daisy Chain Remote Scanner ID .............................................................. 2-17 IrDA Port.................................................................................................... 2-18 Menu Mode ............................................................................................... 2-19 This section tells how to setup communications parameters with the host and an auxiliary terminal. Chapter 1, “Quick Start” told you how to communicate with the scanner through the 9-pin port. This section presents the parameters needed to communicate with the scanner with the 25-pin Host Port connector or through the internal connections in the wiring box. In addition, the options for auxiliary port connections are fully explored. With Microscan’s ESP-MP™ (Easy Setup Program) configuration changes can be made in the ESP-MP menus, then sent and saved to your scanner. The user can also send serial commands to the scanner via the ESP’s Terminal window. Note: The characters NULL <> and , can only be entered through embedded menus, not through ESP or serial commands.
MS-880 Industrial Long Range Scanner User’s Manual
2-1
2–Communications
Chapter Contents
Page 32
Communications Options
Communications Options You can communicate with the scanner through the following ports:
2–Communications
• 9-pin D-sub external connector • 25-pin D-sub external connector
• Wiring box • IrDa port
Only one port can be used at a time to receive commands.
Communications with Host through the 9-pin Host Port For the 9-pin configuration port, set the host communications settings as follows: 57.6K baud, 8 data bits, 1 stop bits, and None parity. See Chapter 1, “Quick Start” for more information on using the 9-pin port. Note: The 9-pin configuration port settings are not changeable.
Communications with Host through the 25-pin Port The default 25-pin host port configuration settings are as follows: 9600, 7, 1, and Even. Making changes to these communications parameters without corresponding changes in linked device(s) can result in the loss of menu access. If this should occur, connect via the 9-pin port and reset your scanner’s host parameters to match the 25-pin defaults shown here. See “Host Port Parameters” on page 2-5.
Communications with Host through the Wiring Box The settings are the same as those of the 25-pin port. See Chapter 16, “Wiring Box Option” for details on wiring connections.
Communications with Host through the IrDA Port See “IrDA Port” on page 2-18 and Appendix C, “IrDA Configuration Port” on page A-13.
2-2
MS-880 Industrial Long Range Scanner User’s Manual
Page 33
Chapter 2 Communications
Communications by ESP
2–Communications
Click this button to bring up the Communications menu.
To change a setting, double-click the setting and use your curser to scroll through the options.
Communications by Serial Command
Host Port Parameters old cmds Ka new cmds K100,
Aux Port Parameters
Ky
K101,
KT?
K103, K150 <K150DAISY> DAISY <K151,daisy chain scanner,daisy chain scanner K151, ID> K199? <K199?>
Command Title
IrDA Port and Text Daisy Chain Auto Configure Daisy Chain Scanner ID Comm. Status Request
Format <K100,baud,parity,stop bits,data bits> <K101,aux port mode,baud,parity,stop bits,data bits,daisy chain status,daisy chain ID> <K103,IR status,IR timeout,menu mode>
MS-880 Industrial Long Range Scanner User’s Manual
2-3
Page 34
Communications Options
Communications by Embedded Menu
2–Communications
In addition to ESP-MP, Microscan’s scanners have an embedded menu that can be accessed from the terminal window within ESP or a separate terminal program. See for instructions on using the embedded menus. For older, slower computers, the embedded menus might be a quicker method of communicating with your scanner. Send a <D> command from your terminal to bring up the main menu:
Press the return key (CR) to see the communications menu:
For information on accessing the embedded menus, see “Embedded Menus” on page 23.
2-4
MS-880 Industrial Long Range Scanner User’s Manual
Page 35
Chapter 2 Communications
Host Port Parameters Important: This applies only to the 25-pin port and wiring box connections (not for 9-pin port). Note: See “Select the Communications Ports” on page 1-8 for 9-pin host port parameters.
Baud Rate, Host Port The rate at which the scanner and host transfer data back and forth.
Usage:
Can be used to transfer data faster or to match host port settings.
Serial Cmd:
<K100,baud rate,parity,stop bits,data bits>
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, Host 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.
Serial Cmd:
<K100,baud rate,parity,stop bits,data bits>
Default:
Even
Options:
0 = None
1 = Even
2 = Odd
Stop Bits, Host Port Definition:
One or two bits added to the end of each character to indicate the end of the character.
Usage:
Only changed if necessary to match host setting.
Serial Cmd:
<K100,baud rate,parity,stop bits,data bits>
Default:
One
Options:
0 = One
1 = Two
MS-880 Industrial Long Range Scanner User’s Manual
2-5
2–Communications
Definition:
Page 36
Host Port Parameters
2–Communications
Data Bits, Host Port Definition:
One or two bits added to the end of each character to indicate the end of the character.
Usage:
Only changed if necessary to match host setting.
Serial Cmd:
<K100,baud rate,parity,stop bits,data bits>
Default:
One
Options:
0 = One
2-6
1 = Two
MS-880 Industrial Long Range Scanner User’s Manual
Page 37
Chapter 2 Communications
RS422 Status Enables RS422. When RS422 is enabled, RS232 is enabled.
Usage:
Only changed if necessary to match host setting.
Serial Cmd:
<K100,status>
Default:
Disabled
Options:
0 = Disabled
2–Communications
Definition:
1 = Enabled
MS-880 Industrial Long Range Scanner User’s Manual
2-7
Page 38
Auxiliary Port
Auxiliary Port
2–Communications
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. Definition:
An auxiliary port connects the scanner to a remote display or to other scanners that can display or transfer data.
Usage:
These commands set the communication parameters with the auxiliary port which can be used to configure menus, send data to the host, display data transmissions originating from the host of the scanner, and relay data from other scanners set in tandem (daisy chained). If the scanner’s host port needs to be dedicated to the host, but configuration must be done on the fly, the auxiliary port can be set to accept configuration changes by Command Processing (page 2-13).
Serial Cmd:
<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID>
Auxiliary Port Modes 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 1 = Transparent 2 = Half duplex 3 = Full duplex 4 = Daisy chain 5 = Command Processing
2-8
MS-880 Industrial Long Range Scanner User’s Manual
Page 39
Chapter 2 Communications
Transparent Mode Definition:
• 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 still 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.
Host
• 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.
Scanner
Data initiated from the Host
• All host data is echoed to the auxiliary port in unpolled mode.
Aux Port
Host
Aux Port
Scanner
Usage:
A common application, in conjunction with handheld scanners, is one that employs an auxiliary readout to detect mis-applied bar code labels.
Serial Cmd:
<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID> 1 = Transparent
MS-880 Industrial Long Range Scanner User’s Manual
2-9
2–Communications
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. • Auxiliary port data is passed through to the Aux host whenever a return key is pressed at the Host Port auxiliary port or whenever bar code data is sent. If sent with bar code data, it is processed on a first-in/first-out basis.
Page 40
Auxiliary Port
Half Duplex Mode Definition:
In Half Duplex mode all auxiliary port data and bar code data is sent directly to the host. Bar code 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
2–Communications
• Auxiliary port data to the host is ignored if the scanner is in a polled mode.
Host
• Auxiliary port data or scanned data is sent to the host whenever it is received. • Auxiliary port data is not echoed. • Auxiliary port data to the host is always sent without a preamble or a postamble.
Aux Port
Scanner
• <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.
Host
• Data transmission conforms with all parameters specified in the configuration menu (e.g., Preamble, Postamble, End of Read Cycle). Data is initiated from the Host
• All host data is echoed to the auxiliary port in unpolled mode.
Aux Port
Scanner
Host
Aux Port
Scanner
Usage:
Useful when the user wants bar code data displayed on an auxiliary screen close to the scanner.
Serial Cmd:
<K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID> 2 = Half Duplex
2-10
MS-880 Industrial Long Range Scanner User’s Manual