The text of a manual · part 5 of 10
MS-5000 Multidrop Concentrator User's Manual, pages 41 to 50
Pages 41 to 50 of 94
The original document is the PDF (1.3 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-5000
Page 41
Communications Menu Turnaround Timeout Default: 15 ms for Host Port and 12 ms for LAN Port. Options: 1 to 250 ms The time that the concentrator will wait between its request for data and a device’s response in a poll or select sequence. At the Host port: the time the concentrator will wait for a response from the host when communicating with the host in Multidrop or User Defined Multidrop. At the LAN port: the time the concentrator will wait for a response from a LAN device when communicating with that device in Multidrop or User Defined Multidrop. Note: Turnaround Timeout for the LAN Port in the host unit should be set for a longer period of time than it will take the concentrator to poll and receive the longest anticipated data string from the decoders it is polling.
Note: Poll Response Timeout for the concentrator should be set to about 5 ms less than the turnaround timeout set in the host’s LAN setup. For example, if the longest data string coming from any decoder is 40 characters, set the host’s LAN Port turnaround timeout to 50 ms and Poll Response Timeout for the concentrator to 45 ms.
MS-5000 Multidrop Concentrator User’s Manual
3-7
3–Serial Config.
Intercharacter Timeout Default: 15 ms. Options: 1 to 250 ms Intercharacter Timeout (used only with Host Port) is the concentrator’s waiting period between individual characters transmitted from the host. Poll Response Timeout Default: 15 ms. Options: 1 to 250 ms (Host Port only) Used only if the concentrator is in polled mode to its host. It is used to determine if too much time has lapsed since the poll came in from the host for it to safely answer the host’s poll. It should be set to about 5 ms less than the turnaround timeout set in the host’s LAN Port. This will ensure that if a response is made by the polled device, the host has not abandoned the device, and gone on to another device.
Page 42
Chapter 3
Menu Configuration Number of Devices Default: 1 Options: 1 to 50 (LAN Port only) Number of Devices allows you to reduce the number of addresses polled by the concentrator from fifty to as few as one (use the number of the last address you want polled). For example, if you know that the concentrator will have only six devices on the LAN, you can speed up polling by setting Number Of Devices to six. Thus, the concentrator will not waste the time set for Turnaround Timeout by trying to poll nonexistent devices. The range is 1 to 50 devices.
3–Serial Config.
Note: You cannot assign an address that exceeds the value used for Number of Devices.
3-8
MS-5000 Multidrop Concentrator User’s Manual
Page 43
Host Protocol Menu
Host Protocol Menu Host Protocol Protocol
Postamble
Postamble
– Point-to-Point
Preamble – ^M
– Disabled
– ^M ^J
– Enabled
– Point-to-Point
– User
– Enabled
– User
– Disabled
Preamble w/RTS/CTS Definable (ASCII char.) – Point-to-Point w/XON/XOFF – Point-to-Point w/RTS/CTS & XON/XOFF – Polling Mode D – Multidrop – Address = 1 – User Definable – User Defined
Definable (ASCII char.)
From Host – –
Address ACK
– RES – NAK
– REQ – EOR
– STX – ETX = ^M – XON = ^Q – XOFF = ^S
RES NAK
– REQ – EOR
– STX – EOF
– ETX = ^M – ACK – XON = ^Q – XOFF = ^S
To Host –
– User Defined Multidrop (same options as User Defined)
LRC
RTS/CTS
XON/XOFF
– Disabled
– Disabled
– Disabled
– Enabled
– Enabled
– Enabled
Blocking Factor – 1
Full Screens Battery Backed Ram – Enabled – Disabled
– 1 to 127
– Disabled – Enabled
Figure 3-3 Host Protocol Menu Structure
Note: Host Protocol menu defines the communication protocols between the concentrator and host (or higher level device) and NOT the connection between the concentrator and decoder.
Protocol Default: Point-to-Point Options: Point-to-Point, Point-to-Point with RTS and CTS, Point-to-Point with XON/XOFF, Point-to-Point with RTS/CTS and XON/XOFF, Polling Mode D, Multidrop, User Defined, User Defined Multidrop Protocols define the sequence and format in which information is transferred between devices. Generally there are two basic protocol modes: unpolled and polled. In unpolled mode (all of the Point-to-Point protocols), a concentrator transmits information without being asked for by the host. In polled mode (Multidrop, Polling Mode D, and User Defined Multidrop), a MS-5000 Multidrop Concentrator User’s Manual
3-9
3–Serial Config.
–
Page 44
Chapter 3
Menu Configuration concentrator has an address and waits for a request from the host before transmitting data. Note: Protocols defined in the concentrator apply to communications between the concentrator and host, or the concentrator and a higher level concentrator.
3–Serial Config.
Point-to-Point Has no address and transmits data to the host whenever it is available, 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 concentrator to initiate data transfers to the host with an RTS (request-tosend) transmission. The host, when ready, responds with a CTS (clear-tosend) and the data is transmitted. RTS and CTS signals are transmitted over two dedicated wires as defined in Table 1-3 on page 1-9. Point-to-Point with XON/XOFF (Transmitter On/Off) Used with RS-232 or RS-422. This selection enables the host to transmit 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 transmits an XON. During the XOFF phase, the host is free to carry on other chores and accept data from other devices. Point-to-Point with RTS/CTS & XON/XOFF Used only with RS-232. It is a combination of Point-to-Point with RTS/CTS and Point-to-Point with XON/XOFF. Polling Mode D Like Point-to-Point, Polling Mode D requires a separate channel to the host but unlike Point-to-Point, it requires the concentrator to have an address and to wait for a poll from the host before transmitting data. When in Polling Mode D, an address 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. (See Table A-4, “Multidrop Address Characters,” on page A-5.) Multidrop Multidrop is only enabled in the concentrator when the protocol between the host and concentrator or between a concentrator and a higher level concentrator is intended to be RS-485 Multidrop and an address is assigned to the concentrator. Note: Once the concentrator is configured to Multidrop, a profile card (using mode 0), a terminal connected to the auxiliary port, or a default procedure must
3-10
MS-5000 Multidrop Concentrator User’s Manual
Page 45
Host Protocol Menu be used to access the configuration menus again (although “K” commands will continue to function).
It is necessary to assign a unique address to the concentrator in Multidrop. This number (1 to 50) is then displayed on the concentrator’s configuration screen (see “Polled Device Status Menu” on page 3-15). However during transmission, poll and select addresses from 1C to 7F hex are substituted for the displayed decimal values. For example, if a 1 has been assigned as the Multidrop address, then 1C hex is substituted as the poll address and 1D hex as the select address. (See Table A-4, “Multidrop Address Characters,” on page A-5.) When Multidrop is selected, the protocol characters for RES, REQ, etc. are assigned automatically. LRC (recommended for data transfer security) is also enabled.
Note: Never assign the same ASCII character more than once to an address or protocol command.
When selected, the displayed protocol commands match those of the previously selected protocol. Thus, to quickly define User Defined protocol, first select a protocol whose default characters are similar to what you want to define (for example, Point-to-Point or Polling Mode D), then select User Defined. The default characters of the first protocol will load into the new protocol. You can then modify individual protocol commands (RES, REQ, etc.,) by assigning any one or two ASCII character. Table 1-5 shows the concentrator poll/select protocol commands that can only be changed1 in User Defined and User Defined Multidrop.2
1. To delete any unwanted command, assign a NUL (null) character. 2. Definitions of protocol commands in User Defined and User Defined Multidrop must match those in host applications to allow communications sequences to execute correctly. MS-5000 Multidrop Concentrator User’s Manual
3-11
3–Serial Config.
User Defined Used only with RS-232 or RS-422. User Defined protocol allows you to assign ASCII characters to the address and/or to protocol commands (RES, REQ, EOT, STX, ETX, ACK, and NAK) for special applications. User Defined is necessary when defining a new protocol to match a specific host protocol. You may assign an address to a concentrator in User Defined protocol by entering any single ASCII character at the address prompt (except a NUL). This will put you in polled mode (but without RS-485). To remain in an unpolled mode, leave the address blank.
Page 46
Chapter 3
Menu Configuration Table 1-5 Protocol Commands
Protocol Commands Microscan mnemonics
ASCII mnemonics (if different from Microscan)
RES REQ STX ETX ACK NAK EOR EOF XON XOFF
EOT ENQ
SOH DC1 DC2
Effect of Command Reset Request Start of Text End of Text Acknowledge Negative Acknowledge End of Record End of File Transmitter On Transmitter Off
See Table A-1, “ASCII Table with Control Characters,” on page A-3 for a complete list of control and display characters.
3–Serial Config.
User Defined Multidrop Functions exactly the same as User Defined (including the selection of ASCII characters) except that RS-485 is enabled instead of RS-232 or RS422 whenever an address is assigned. It is used when connecting to a host or other device that does not match standard Multidrop protocol. 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. For a list of control characters and display values, see Table A-1, “ASCII Table with Control Characters,” on page A-3.
Unlike standard Multidrop, User Defined Multidrop can define an address as any one character (01 hex to 7E hex) in the ASCII table. The address character chosen is used as the poll character and the subsequent ASCII character becomes the select character. For example, if ^A (01 hex) is selected as the address, the ^B (02 hex) becomes the select address that the host will use in transmitting host select commands. Remember, when in User Defined Multidrop: 1. Never assign two consecutive ASCII characters as multidrop addresses. 2. Never assign the same ASCII character more than once in the protocol. Like User Defined, User Defined Multidrop is pre-loaded with the characters of the previously assigned protocol. To acquire most of the standard multidrop protocol commands, enable Multidrop first, then select User Defined Multidrop. 3-12
MS-5000 Multidrop Concentrator User’s Manual
Page 47
Host Protocol Menu
Preamble Default: CR (^M). Options: Up to five ASCII characters Allows you to add up to five ASCII characters to the front of the decoded data. Note: If User Defined, Polling Mode D, or Multidrop protocol is enabled, the Preamble characters are transmitted within the STX and ETX data block.
Preamble (enable/disable) Default: Disabled Options: Disabled, Enabled Allows you to enable or disable the preamble character(s). Preamble can be enabled or disabled within any protocol.
Postamble
Note: If User Defined, Polling Mode D, or Multidrop protocol is enabled, the Postamble characters are transmitted within the STX and ETX data block.
Postamble (enable/disable) Default: Disabled Options: Disabled, Enabled Allows you to enable or disable the Postamble data string. Postamble can be enabled or disabled within any protocol.
Longitudinal Redundancy Check Default: Disabled in unpolled mode; Enabled in polled mode. Options: Disabled, Enabled An error-checking routine which verifies the accuracy of transmissions. It is the exclusive OR of all characters following SOM (start of message) up to and including the EOM (end of message).
MS-5000 Multidrop Concentrator User’s Manual
3-13
3–Serial Config.
Default: CR (^M) and LF (^J) Options: Up to five ASCII characters Allows you to send up to five ASCII characters to be added after the decoded message.
Page 48
Chapter 3
Menu Configuration
RTS/CTS and XON/XOFF Default: Disabled Options: Disabled, Enabled These parameters are included for special circumstances, such as when the host is communicating in a protocol that includes RTS/CTS and/or XON/XOFF and needs to control data flow by using either or both methods. See “Point-to-Point with RTS/CTS” and “Point-to-Point with XON/XOFF” on page 3-10 for definitions.
Blocking Factor
3–Serial Config.
Default: 1 Options: 1 to 127 records. Allows the concentrator to buffer records (bar codes, counters, etc.) from decoders and deliver them to the host in batches. If, for example, the blocking factor is set to 5, the concentrator will buffer five records in a row before releasing the batch of five to the host. (See also, “<C>Send Partial Buffer to Host Command” on page 4-13 for related information.) Buffered data is transmitted to the host exactly as the concentrator receives it (without separators and continuous if Preamble or Postamble have not been defined). The Blocking Factor buffer is limited in size to 248 characters (including the address, preamble, and STX) or 127 records, whichever comes first.
Full Screens Default: Enabled Options: Enabled, Disabled When enabled, Full Screens displays the full screen menus. When disabled, the screen display shows only the single command line that appears at the bottom of each menu. 1
Battery-backed RAM
When enabled, data in RAM is saved at power OFF for use when the concentrator is powered back on. When disabled, data in RAM is lost when power is turned off. Default: Disabled Options: Enabled, Disabled 1. Battery-backed RAM is optional.
3-14
MS-5000 Multidrop Concentrator User’s Manual
Page 49
Polled Device Status Menu
Polled Device Status Menu This menu lists all device addresses (from 1 to 50) as “Inactive” or “Active.” An Active device is one that is physically connected to the MS-5000 and detected by the MS-5000 during the polling cycle. However, if a device goes off-line or is assigned a different address, then its status changes to Inactive. If assigned a new address, it will automatically be listed as Active whenever the Polled Device Status menu is refreshed. Note: Decoders or scanners to be linked up to a MS-5000 multidrop concentrator can ONLY be configured in standard Multidrop and must be configured as such from within their own configuration programs. Hint: Attach a tag to each device to identify its multidrop address.
Time Keeping Menu
Polled address, separator, hour, minute, second, hundreds of a second (if enabled), a space, day of week (if enabled), day of month, month, year, separator and code.
For example: 04-20:30:15:99 Fri.07/04/97-barcode Time Keeping Time Output
Date Output
– Disabled
– Disabled
– DD/MM/YYYY
– Hrs:Min: Sec
– MM/DD/YYYY
– Day.DD/MM/YYYY
– Hrs:Min: Sec: Hundreds
– Day.MM/DD/YYYY
Hours
Minutes
Seconds
– 12
– 34
– 37
– 1 to 23
– 1 to 59
– 1 to 59
Day of the Week – 3 – 1 to 7
Months – 1 – 1 to 12
Day of the Month – 13
Years – 30 – 0 to 99
– 1 to 31
Time Stamp Separator – (blank) – Any ASCII
Character
Figure 3-4 Time Keeping Menu Structure MS-5000 Multidrop Concentrator User’s Manual
3-15
3–Serial Config.
Allows you to determine the way that time and date information is prepended (added to the beginning) to decoded label data. To activate time keeping, you need to enter the current time and date, the time and date format, and a separator character. The output is as follows:
Page 50
Chapter 3
Menu Configuration
Time Output Default: Disabled Options: Disabled, Hrs:Min:Sec, Hrs:Min:Sec:Hundreds When enabled, the time a label was decoded is prepended to the label data.
Date Output Default: Disabled Options: Disabled, MM/DD/YYYY, Day.MM/DD/YYYY, DD/MM/YYYY, Day.DD/MM/YYYY When enabled, the date a label was decoded is prepended to the label data.
Hours Options: 0 to 23 Allows you to set the current time in hours.
Minutes 3–Serial Config.
Options 0 to 59 Allows you to set the current time in minutes.
Seconds Options: 0 to 59 Allows you to set the current time in seconds.
Day of the Week Options: 1 to 7 (Sunday through Saturday) Allows you to set the current day of the week. Note: Day of the Week is output only if Day.MM/DD/YY is selected under Date Output.
Months Options: 1 to 12 Allows you to set the current month.
Day of the Month Options: 1 to 31 Allows you to set the current day of the month.
3-16
MS-5000 Multidrop Concentrator User’s Manual