The text of a manual · part 4 of 15
MS-710 Scanner User's Manual, pages 31 to 40
Pages 31 to 40 of 145
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-710
Page 31
Communications Menu Transparent Used to batch data from the aux port to the host. The scanner buffers data from the aux port and displays the keyed data on the aux port. The scanner transmits aux port data to the host when a label is scanned or a carriage return is entered from the aux port. Data Initiated from the Aux Port
Aux. Port
Host
2–Menu Config.
• Aux Port data is passed through to the host whenever a return key is pressed at the aux port or whenever bar code data is sent. If sent with bar code data, it is processed on a first-in/first-out basis. • Aux Port data to the host is always sent with a preamble and a postamble.
MS-710
• If the scanner is in a polled mode to the host, aux port data will still pass through.
• A <D> command is the only command accepted by the scanner from the aux port. All other commands will pass through to the host. Data initiated from the Scanner
• Transmission to the aux port occurs immediately upon a good read. • Scan data to the aux port does not include a preamble or a postamble.
Aux. Port
Host
• Communications with the aux port is always in Point-toPoint protocol, even if the host is in a polled protocol mode.
MS-710
Data initiated from the Host
• In polled mode, data echoed from the host to the aux port must be in the format <B ____> (e.g., to send the word “LUNCH” to the aux port, it must be sent in the format <BLUNCH>).
Aux. Port
Host
• In unpolled mode, all host data is echoed to the aux port. MS-710
MS-710 Scanner User’s Manual
2-7
Page 32
Chapter 2 Half Duplex Mode In half duplex mode all aux port data and bar code data is sent directly to the host. Bar code data is displayed on the aux port screen at the same time the data is sent to the host. Data initiated from the Aux Port
2–Menu Config.
• Aux Port data to the host is ignored if the scanner is in a polled mode. • Aux Port data or scanned data is sent to the host whenever it is received.
Aux. Port
Host
• Aux Port data is not echoed. • Aux Port data to the host is always sent without a preamble or a postamble.
MS-710
• <D> is the only command that is accepted by the scanner from the aux port. All other commands are passed through to the host. Data initiated from the Scanner • Scan data is transmitted to the aux 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).
MS-710
Data is initiated from the Host
• In polled mode, data echoed from the host to the aux port must be in the format <B____> (i.e.: to send the word “LUNCH” to the terminal, it must be sent in the format <BLUNCH>).
Aux. Port
Host
Aux. Port
Host
• In unpolled mode, all host data is echoed to the aux port. MS-710
2-8
MS-710 Scanner User’s Manual
Page 33
Communications Menu Full Duplex Mode In full duplex mode, all aux port data and bar code data is sent directly to the host. Bar code data is not displayed on the aux port screen. Data initiated from the Aux Port • Aux port 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.
Aux. Port
Host
• Aux Port data is not echoed.
2–Menu Config.
• Aux Port data to the host will not have a preamble or a postamble.
MS-710
• A <D> command is the only command accepted by the scanner from the aux port. All other commands will pass through to the host. Data initiated from the Scanner
• Scan data is not sent to the aux port.
Aux. Port
Host
MS-710
Data initiated from the Host
• In polled mode, data echoed from the host to the aux port must be in the format <B____> (for example, 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 aux port.
MS-710 Scanner User’s Manual
Aux. Port
Host
MS-710
2-9
Page 34
Chapter 2 Daisy Chain Mode
2–Menu Config.
In a daisy chain application, a primary scanner is linked directly to the host and succeeding scanners are linked in tandem. The source of transmitted data can be identified by enabling and assigning daisy chain IDs to each scanner.
Host
Succeeding Scanner(s)
Just before sending a noread message, the primary scanPrimary Scanner ner 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. If a complete message is received, it is sent to the host instead of the noread message. If for example the primary scanner were set to timeout in 100 ms, the first succeeding scanner could be set to 90 ms, the next to 80 ms, etc., thus assuring that a minimum of 20 ms elapses between transmissions. Daisy-chained scanners can send a series of labels by enabling Multilabel and a common multilabel separator. If the primary 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 (b) 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 succeeding scanner registers a good read, the transmitted results would be: label data % noread % noread. The conditions for a daisy chain application are as follows: 1. The primary scanner’s trigger can be serial or external; the succeeding scanners are automatically serially triggered. 2. All scanners are enabled to Daisy Chain mode. 3. Each scanner’s Aux port must have its Send and Receive connected to the Host port of its succeeding scanner. 4. Each succeeding 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 primary scanner must have Postamble set to CR (^M) and enabled. 6. All but the primary scanner must have their noread messages disabled. 7. If Multilabel is enabled, Multilabel Separator characters and Number of Labels must match in all scanners in the daisy chain. 8. Symbology ID enable/disable must be the same in all scanners.
2-10
MS-710 Scanner User’s Manual
Page 35
Communications Menu Daisy Chain ID Status
Default:
Disabled
Options:
Disabled, Enabled.
Daisy Chain ID
Default:
1/
Options:
Any one or two ASCII characters.
MS-710 Scanner User’s Manual
2-11
2–Menu Config.
Each scanner enabled for Daisy Chain can be assigned a one or two character Daisy Chain ID that appears in front of the data decoded by that scanner. Enable/Disable and Length must be the same in all scanners.
Page 36
Chapter 2
Protocol Menu
2–Menu Config.
Protocols define the sequence and format in which information is transferred between devices.
Figure 2-3 Protocol
Default Clicking the DEFAULT button will reset all parameters on the current menu to defaults. This does not take effect until it is saved to the scanner with the SEND/NO SAVE or SEND/SAVE buttons.
Selected Protocol Default:
Point-to-Point
Options:
Point-to-Point, Point-to-Point with XON/XOFF, Point-to-Point with RTS/CTS, Point-to-Point with RTS/CTS & XON/XOFF, Polling Mode D, Multidrop, User Defined, User Defined Multidrop Protocol
Point-to-Point Has no address and sends data to the host (RS-232) whenever it is available and without any request or handshake from the host.
Point-to-Point with RTS/CTS (Request-to-Send/Clear-to-Send) Used only with RS-232. This is a simple handshaking protocol that allows a device to initiate data transfers to the host with an RTS (request-to-send) transmission. The
2-12
MS-710 Scanner User’s Manual
Page 37
Protocol Menu host, when ready, responds with a CTS (clear-to-send) and the data is transmitted. CTS and RTS signals are transmitted over two dedicated wires (pins 6 and 10) as defined in the RS-232 standard.
Point-to-Point with XON/XOFF (Transmitter On/Off) Used only with RS-232. This selection enables the host to send a single byte XON or XOFF transmission command of start (^Q) or stop (^S). If an XOFF has been received from the host, data will not be sent to the host until the host sends an XON. During the XOFF phase, the host is free to carry on other chores and accept data from other devices. Used only with RS-232. It is a combination of Point-to-Point with RTS/CTS and Pointto-Point with XON/XOFF.
Polling Mode D Like Point-to-Point, Polling Mode D requires a separate connection to the host; but unlike Point-to-Point, it requires an address and must wait for a poll from the host before sending data. When in Polling Mode D, an address of 1 is automatically displayed on the configuration screen. However, during transmission, a 1C hex poll address (FS) and a 1D hex select address (GS) are substituted for the 1.
Multidrop Note: Scanners intended to link up to a Microscan MS-5000 multidrop concentrator must be configured in standard Multidrop protocol. Similar to Polling Mode D except that a unique poll address and select address are required for each multidrop device, and only one host port connection is needed for up to 50 devices. (For Multidrop poll and select characters, see Table A-12, “Multidrop Address Characters,” on page A-31.) Requires a concentrator or controller using RS-485 communications. When Multidrop is selected, the protocol characters for RES, REQ, etc. are assigned automatically. (See “Appendix L, Multidrop Communications” on page A-29 for poll and select sequences.)
User Defined Note: A specific ASCII character must not be assigned more than once. Used only with RS-232. User Defined is necessary when a new protocol must be defined to match a specific host protocol. ASCII characters can be assigned as an address and as protocol commands (RES, REQ, EOT, STX, ETX, ACK, NAK, From Host). In order to enable a handshaking protocol, you must manually assign values where necessary. When User Defined is selected, the displayed protocol commands match those of the previously selected protocol. User Defined is considered to be in a polled mode only if an address has been assigned. The address can be any ASCII character from the ASCII table in Appendix C. If null is selected as the address, the scanner will not function in a polling sequence. From Host, if enabled, allows the handshaking protocol to be initiated from the host, if unpolled.
MS-710 Scanner User’s Manual
2-13
2–Menu Config.
Point-to-Point with RTS/CTS & XON/XOFF
Page 38
Chapter 2
2–Menu Config.
From Host
Default:
Disabled
Options:
Disabled, Enabled
Messages sent to the host from the MS-810 will always include the scanner’s defined protocol. The status of From Host determines if messages sent to the MS-810 from the host must also include the defined protocol. If From Host is disabled, the defined protocol is not included. If From Host is enabled, the defined protocol must be included. (See “Explanation of the From Host option,” on page 3-7 for further information.)
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). 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).
User Defined Multidrop Used when connecting to a concentrator or other device that does not match standard Multidrop protocol. Any single character (02 hex to 7E hex) in the ASCII table can be assigned as the address character. The character chosen is used as the poll character and the subsequent ASCII character becomes the select character. For example, if a ^B (02 hex) is selected as the address, ^C (03 hex) becomes the select address that the host will use in sending host select commands. (See Table A-12, “Multidrop Address Characters,” on page A-31.) Note: Definitions of commands in User Defined and User Defined Multidrop must be duplicated in host applications to enable poll and select sequences to execute correctly during transmission. Note: Typically, parameters in User Defined Multidrop are defined by first enabling Multidrop, then enabling User Defined Multidrop. This pre-loads Multidrop characters into the parameters. You then change individual characters to match the host or other requirements.
Preamble Default:
^M (and a null). Corresponds to <CR><NUL> (carriage return/null) displayed in the menu.
Options:
Any ASCII character, including control characters.
Allows you to define a one or two character data string that can be added to the front of the decoded data.
2-14
MS-710 Scanner User’s Manual
Page 39
Protocol Menu Preamble (enable/disable) Default:
Disabled
Options:
Disabled, Enabled (within any protocol)
Allows you to enable or disable the preamble character(s).
Postamble Default:
^M^J
Options:
Any ASCII character, including control characters.
Postamble (enable/disable) Default:
Enabled
Options:
Enabled, Disabled (within any protocol)
Allows you to enable or disable the Postamble character(s).
LRC (Longitudinal Redundancy Check) Default:
Disabled
Options:
Disabled, Enabled
An error-checking routine that verifies the accuracy of transmissions. It is the exclusive OR of all characters following the SOM (start of message) up to and including the EOM (end of message). 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). This extra LRC character is then appended to the transmission and the receiver (usually the host) performs the same addition and compares the results.
Response Timeout Default:
12 ms
Options:
0 to 65,000 ms. A zero (0) setting causes an indefinite wait.
Allows you to set the time the scanner will wait before timing out if ACK, NAK, and ETX are enabled, and a host response is expected.
Intercharacter Delay Default:
0. Corresponds to 0 ms displayed in the menu.
Options:
0 to 255. Zero (0) causes no delay between characters.
Allows you to set the time interval in milliseconds between individual characters transmitted from the scanner to the host. A high setting will significantly slow down communications. For example, a 200 setting will result in a 1/5 second delay between each character that is transmitted. MS-710 Scanner User’s Manual
2-15
2–Menu Config.
Allows you to define a one or two character data string that can be added after the decoded message. For example, defining the Postamble as a carriage return and line feed would result in the display of each decoded message on its own line.
Page 40
Chapter 2
2–Menu Config.
Operation Menu
Figure 2-4 Operation Menu Structure
Default Clicking the DEFAULT button will reset all parameters on the current menu to defaults. This does not take effect until it is saved to the scanner with the SEND/NO SAVE or SEND/SAVE buttons.
Triggering Mode Default:
Continuous Read
Options:
Continuous Read, Continuous Read 1 Output, External Level, External Edge, Serial Data, Serial Data & External Edge
Allows you to establish the type of trigger event that will initiate or end the read cycle. (See “End of Read Cycle” on page 2-18.)
Continuous Read Note: If both Continuous Read and Match Code are enabled the scanner defaults to Continuous Read 1 Output mode. Trigger input options are disabled and the scanner is always in the read cycle. Bar code data is decoded, and label information is transmitted repeatedly, as long as the
2-16
MS-710 Scanner User’s Manual