The text of a manual · part 4 of 15
MS-810 Industrial Scanner User's Manual, pages 31 to 40
Pages 31 to 40 of 144
The original document is the PDF (2.5 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-810
Page 31
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
Host
2–Menu Config.
• 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 data is not echoed. • Aux Port data to the host will not have a preamble or a postamble.
MS-810
• 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-810
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-810 Industrial Scanner User’s Manual
Aux. Port
Host
MS-810
2-9
Page 32
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 ner checks its auxiliary port for data. It waits a maximum Scanner 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 (Number of Labels) 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. 9. All but the primary scanner must have their diagnostic warning messages disabled.
2-10
MS-810 Industrial Scanner User’s Manual
Page 33
Communications Menu Daisy Chain ID Status
Default:
Disabled
Options:
Disabled, Enabled.
Daisy Chain ID
Default:
1/
Options:
Any one or two ASCII characters.
MS-810 Industrial 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 34
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-810 Industrial Scanner User’s Manual
Page 35
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 transmission command of start (XON) or stop (XOFF). 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-35.) 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 M, Multidrop Communications” on page A-33 for poll and select sequences.)
User Defined Point-to-Point 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 D. 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-810 Industrial Scanner User’s Manual
2-13
2–Menu Config.
Point-to-Point with RTS/CTS & XON/XOFF
Page 36
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-35.) 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-810 Industrial Scanner User’s Manual
Page 37
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-810 Industrial 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 38
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-810 Industrial Scanner User’s Manual
Page 39
Operation Menu label is in the read range of the scanner. When To Output options have no affect on Continuous Read. Continuous Read is useful in testing label or scanner functions.
Continuous Read 1 Output Note: Enabling Continuous Read 1 Output when Number of Labels (page 2-21) is set to any number greater than one will cause Number of Labels to default back to one.
With Timeout disabled (that is, End Of Read Cycle set to New Trigger), the scanner will output the current label data immediately, but output it only once. A new label appearing at any time in the scan range will produce a new read output as long as the new label is not identical to the previous label.
External Level1 Allows a read cycle to be initiated by a trigger signal from an object detector when an object appears within the detector’s range. The read cycle exists as long as the detector “sees” the object and does not end until the object moves out of the detector’s range even if a good read or timeout occur sooner (figure 2-5). First trigger An object, moving in front of the detector beam, causes the first trigger (rising edge trigger) signal to be sent to the scanner, initiating the read cycle.
1
Object detector 1
Object detector
Second trigger The same object, moving out of the detector's beam, causes a second trigger (falling edge trigger) signal to be sent to the scanner, ending the read cycle.
Figure 2-5 External Level Trigger Signals
1. Level and Edge apply to the active logic state (positive or negative) that exists while the object is in a read cycle, between the rising edge and falling edge. Rising edge is the trigger signal associated with the appearance of an object. Falling edge is the trigger signal associated with the subsequent disappearance of the object. MS-810 Industrial Scanner User’s Manual
2-17
2–Menu Config.
Label data is immediately transmitted once every time new label data is placed in front of the scanner. With Timeout enabled for End Of Read Cycle, if the label doesn't change, the scanner will repeat the output at the end of each subsequent timeout period. For example, if Timeout were set to one second, the scanner would output the label data immediately, and then repeat the output at intervals of one second, for as long as the label continued to be scanned.
Page 40
Chapter 2 External Edge As with Level, Edge allows a read cycle to be initiated by a trigger signal from an object detector when it detects the appearance of an object (rising edge). But unlike Level mode, the removal of an object (falling edge) does not end the read cycle. With Edge enabled, the read cycle ends with a good read output, a timeout, or a new trigger (figure 2-6 on page 2-18). First rising edge trigger Object # 1, moving in front of the detector beam, causes the first trigger (rising edge trigger) signal to be sent to the scanner, initiating the read cycle.
2–Menu Config.
1
Object detector
Subsequent rising edge trigger Object # 2, moving in front of the detector's beam, causes a second trigger (rising edge trigger) signal to be sent to the scanner. This signal initiates a new read cycle and ends the previous read cycle provided that New Trigger or Timeout and New Trigger is enabled and a good read or timeout has not already occurred.
2
Object detector
Figure 2-6 External Edge Trigger Signals
Serial Data The scanner accepts an ASCII character from the host or controlling device as a trigger to start a read cycle. Serial data trigger behaves the same as External Edge.
Serial Data & External Edge The scanner accepts either an external trigger or a serial ASCII command to start a read cycle.
End of Read Cycle Default:
Timeout
Options:
Timeout, New Trigger, Timeout & New Trigger
Allows you to choose the circumstances that will end the read cycle. The read cycle is the time during which the scanner will receive and process label data. When the Triggering Mode option is set in an External or Serial mode of operation, the trigger event initiates the read cycle. Note: When operating in Continuous Read or Continuous Read 1 Output, the scanner is always in the read cycle.
2-18
MS-810 Industrial Scanner User’s Manual