Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 4 of 10

Mercury User's Guide, pages 31 to 40

Pages 31 to 40 of 96

The original document is the PDF (1.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 Intermec Mercury RF1 and Intermec Mercury-EN

Page 31

CHAPTER 6 - CONFIGURATION REQUIRED EQUIPMENT q

Mercury unit.

q

RS-232 serial terminal or PC with RS-232 port running a terminal emulation software package. (e.g. HyperTerminal, ProComm, or Telix)

Note: The Mercury comes with a DB-9 male to DB-9 female RS-232 cable. Attach the DB-9 male side (the one with the pins) to the Mercury and attach the DB-9 female connector (the one with the holes) to the terminal or PC. Gender changers or DB-9 to DB-25 converters may be required depending on your terminal’s serial port connector type.

THINKING A HEAD Now it’s time to plan how your Mercury units will communicate with each other and your network. If you are only planning on using a Mercury-EN for bridging in a Basic Access Point topology or two Mercury units as a replacement for RS-232 cables, you may skip this entire chapter and read Appendix A, which gives instructions for these specific configuration types. However, if you need to make changes to baud rate, radio domains, etc., you will want to at least skim this chapter. 1. Select one of 16 domains. The domain number separates Mercury units into separate logical radio "networks" so that units in different domains cannot interfere with each other over the air. 2. Select one of 15 radio channels. Only a unit acting as the Master for its configured domain will use this setting. All other units will adapt to the Master's setting. 3. Select the node type this unit will be. Choices are Master, Alternate Master, and Station. There must be exactly one Master at a time in any given domain. As many units as necessary can be configured as Alternate Masters if no single unit is guaranteed to always be present, or if there needs to be a backup in case the designated Master malfunctions. See Appendix F for for information about this selection process.

21

Page 32

4. Choose an IP address. If the Mercury is joining an existing network, be sure to ask your network administrator for an available address. If the Mercury is operating standalone (not within a network), the IP address can be anything that is allowed within TCP/IP addressing rules. If you are planning on only using the RMP protocol, you can skip this step. 5. Select the serial and network communication protocols. See Chapter 3 for your options. Also, if you are using the passthrough protocol with TCP, it would be a good idea to have an understanding of how TCP/IP network configuration works. If you are at a site that has UNIX workstations or Internet access, there may be a person there who can help you. 6. Choose the appropriate serial port parameters (baud, bit count, parity) to match your application.

BRINGING UP THE MAIN M ENU There are two ways to bring up the Main Menu. The first is to open a Telnet connection to the Mercury on port 23 (23 is the default for most Telnet programs). However, this only works after the Mercury has been assigned a TCP/IP address. The second method is as follows: 1. Attach the terminal or PC to the Mercury using the included RS232 cable. (If you are using your own cable, make sure that pins 1 and 9 are not connected; otherwise, a malfunction may occur.) 2. If you are using a PC, start your terminal emulation software. 3. The PC or terminal must be set to the following to configure the Mercury: 9600 baud, 8 data bits, no parity, and 1 stop bit. 4. Connect power to the Mercury. 5. Put the Mercury into configuration mode by pressing the "Configure" button on the top of the unit. The button is located in a hole next to the word CONFIGURE on the unit's label. You must use a paper clip or other thin metal object to press the button. (Do not use a plastic stick to press the button; plastic may get jammed in the hole or break off.) The Mercury should respond by displaying the MAIN MENU screen as in Figure 6-1.

22

Page 33

If the Mercury does not respond within a few seconds, disconnect power for a few seconds, then reconnect power and press the configuration button again. If the terminal displays random characters, check the baud rate and bit settings in your terminal emulation software to insure 9600 baud, 8 data bits, no parity, and 1 stop bit. If the Mercury still does not respond with the configuration mode main menu, verify that there is not a cable problem by observing the green “Serial TX” LED when pressing the ENTER key. Each time the key is pressed, the "Serial TX" light should blink faintly and quickly. If is not blinking, there may be a problem in the cable connection. See Appendix C for more information on the serial cable pinout. If the "Serial TX" light blinks when the ENTER key is press and the unit does not respond, check to see if the serial configuration is set to 8 data bits, no parity, 1 stop bit. Mercury-RF1 serial number 1234 Version 2.3-CM2 00:20:a6:30:a0:e5

Nomadic Communications, Inc. Ethernet HW address

MAIN MENU --------Resume operation Edit configuration View configuration for capture Reset configuration to default Set radio security ID View forwarding database View roaming log View system error log Clear system error log Reset the Mercury

Use arrow keys, tor bar. Press Enter to or make

Ctrl-N and

Ctrl-P to move selec- selection.

Figure 6-1 Mercury unit configuration mode main menu

6. Once the main menu is displayed, use arrow keys to move the highlighted bar. If the arrow keys don’t work, you can move the bar by holding down the Control key while pressing N (for Next) and

23

Page 34

P (for Previous) to move the bar. To select an entry, press the Enter key. Note: For X Window System users. If you are using configuration by telnetting from an xterm, you can select menu items by clicking on them with your mouse.

7. To modify the configuration (as described below), select the menu item “Edit configuration”. Another menu, listing available files to edit, will then be displayed. Selecting one of them will bring up an editor that you can use to modify the file. File selection and editor operation are described below. 8. After you have finished configuring the Mercury, select the “Reset the Mercury” menu item, and then answer “Yes” to the confirmation. This will reset the device, allowing the new configuration to take effect as well as place it into operating mode. Now you are ready to use your new configuration..

MAIN M ENU OVERVIEW Here is a list of the menu selections and what they do: RESUME OPERATION This option exits Configuration. It returns the Mercury to the state it was in before the Configure button was pressed. EDIT CONFIGURATION Brings up a list of files to edit. Descriptions of the files and their contents are below. VIEW CONFIGURATION FOR CAPTURE Displays all configuration settings in one ASCII dump. If you select this option, it will give you an opportunity to enable capture mode in your terminal software. It will then display all configuration settings and give the option to disable capture mode. This option can be used to keep a record of what settings you have made for a particular Mercury unit, or to generate a file for Nomadic Communications Technical Support if you have any difficulties.

24

Page 35

RESET CONFIGURATION TO DEFAULT Sets all configuration files to their factory default. It will prompt you to ask if you are sure you want to make the changes. SET RADIO SECURITY ID Changes the security value, which is a 20-character ASCII string. This values prevents units with different settings from communicating with each other. Also, once a value is set, it cannot be retrieved. VIEW FORWARDING DATABASE Lists the MAC addresses of all network nodes detected, and which network interface they were last seen on. VIEW ROAMING LOG Lists the MAC addresses of the access points the Mercury has associated/disassociated with. VIEW SYSTEM ERROR LOG Shows a list of errors if any have occurred. Use this option if the Mercury’s Error LED is lit to see what kind of error the Mercury is generating. See Appendix D for a list of the error messages. CLEAR SYSTEM ERROR LOG Removes all messages from the error log described above. RESET THE MERCURY Performs a hardware reset. Use this after making configuration changes to allow the changes to take effect.

EDIT CONFIGURATION MENU The Edit Configuration menu contains three selections. RETURN TO MAIN MENU Goes back to the previous menu selections.

25

Page 36

SYSTEM

Brings up the editor screen with the configuration file for options that are not communication dependent. RS-232PORT (UART0) Brings up the editor screen with the configuration file for the serial port and per-connection network settings. RANGELAN2ETHERNET / BRIDGED ETHERNET (LAN0) Brings up the editor screen with the configuration file for the radio parameters and IP network interface settings. ENTER TCP/IP LICENSE CODE (may not display on some units) Use this menu option if you purchased a Mercury-RF1 without TCP/ IP support, and have since acquired an upgrade option from Nomadic Communications.

THE EDITOR Selecting one of the configuration files above will bring that file into the editor. Once inside the editor, you may use arrow keys to move the cursor around. If the arrow keys don’t work with your terminal emulator, you can use Ctrl-P for up [previous], Ctrl-N for down [next], Ctrl-B for left [back], and Ctrl-F for right [forward] for cursor motion. For faster motion, you can use Ctrl-A to jump to the beginning of the line, and Ctrl-E to jump to the end. (People familiar with the Emacs editor should feel at home with these keystrokes.) To make changes, simply move the cursor to the point you want to change and type. To delete text behind the cursor, move the cursor to the position immediately following the character to remove and press either the Backspace or Delete keys, or type Ctrl-H. To delete text in front of the cursor, press Ctrl-D. To delete text from the cursor to the end of the line, press Ctrl-K. To save changes, press Ctrl-W. After the changes are saved (it will take less than one second), you will be returned to the Edit Configuration menu. Although changes will be saved, they will not take

26

Page 37

effect until you power the Mercury off and back on. If you decide that you don’t want to save the changes you have made, press Ctrl-X. It will ask for confirmation and then return you to the Edit Configuration menu. If while typing the screen display becomes corrupted or confused (as frequently happens with many terminal emulation software packages that don’t emulate VT100 correctly), you can press Ctrl-L to force a screen redraw.

CONFIGURATION FILE FORMAT People familiar with the Windows WIN.INI file format will recognize the format of the file. It is broken down into sections; sections define a particular grouping of options. Each section contains at the top a section header which is a string of text surrounded by square brackets: [ ]. This is the “section title”. After each section header, there is a list of entries containing equal signs, the text before the equal sign is a “key” and the text after the equal sign is the value. Changing the value of different keys is how configuration changes are performed. For example, here are the first two lines of the uart0 file: [hardware] baud = 9600 In this example, “hardware” is the name of a section. Until the next section name in the file, all entries must be either key/value pairs (such as the “baud = 9600” entry) or comments. Key/value pairs listed before a section name are invalid. Comments may be stored in the configuration file by inserting a pound sign (‘#’) before the text you would like to add. This allows you to leave an explanation as to why certain settings have been made, who made the changes, etc. You can write anything you want in a comment, but the comment ends at the end of the line. If you want muti-line comments, insert the # at the beginning of each line. For example: # This is a comment. # This is line #2 of the comment. this = no comment

27

Page 38

# But this is one.

FILE CONTENTS SYSTEM [configure] This contains settings that pertain to the operation of the Configuration menus. Currently, there is only one: password.

password This allows the setting of a password that will be asked for upon entry to the Configuration screen. Up to 12 alphanumeric characters will be accepted. Do NOT use any characters other than numbers and letters in this password. Although the password is not hidden from the screen while editing, it will be hidden when entering configuration.

[cpu sleep] This contains settings that control the low power modes of the microprocessor on the Mercury after all other hardware within the Mercury is sleeping.

state This is the low power mode to put the processor into once all communications hardware is sleeping. The value of this entry can be standby, doze, or stop. In standby, the processor consumes 7mA; in doze it consumes about 500mA; and in stop, it consumes less than 100mA. However, wakeup occurs whenever any hardware needs servicing; standby wakes up immediately, doze takes about a tenth of a second, and stop takes over 2 seconds.

shut off led power When the Mercury’s processor enters low power mode, this entry determines whether or not to shut off power to the status LEDs

28

Page 39

on the top of the Mercury unit. Possible values are yes and no.

negate sleep output Flow control pins on the RS-232 connector can be configured to output a status when the Mercury goes into low power mode. Setting this value to yes and enabling a sleep output in the flow control section of uart0 will cause flow control lines to become asserted (logic 1, the same value that flow control normally uses to tell the other device on the serial cable to stop sending data) during the low power state.

RS-232 PORT (UART0) [hardware] These are the conventional RS-232 serial UART configurations found on all UARTS.

baud This selects the data transfer rate of the RS-232 serial port. The baud rate can be anywhere between 112.5 and 115,200 bps. All standard rates (300, 1200, 2400, 9600, 19200, 38400, 57600, and 115200) are clocked precisely, but values in between will be rounded to the closest possible hardware setting. Note: Closest possible hardware setting does not mean that the value will be rounded to one of the standard rates. The Mercury’s UART is fully capable of operating at nonstandard speeds. The resolution of possible baud rates is smaller at lower baud rates than at higher baud rates. If you have unusual baud rate needs, please contact Nomadic Communications technical support to discuss what rates are actually possible.

data bits This selects the number of bits in a UART character frame that are used to transmit data. Possible values are 7 and 8.

parity This sets the parity used in the UART character frame to check for correct data transmission. Options are none, odd, and even.

stop bits This selects the number of bits used to represent an end of

29

Page 40

character bit in the UART frame. The value can be 1, 1.5, or 2.

[software] The [software] section is used to control the receiving and sending of bytes over the serial port. Proper setting of these values can significantly enhance the efficiency of data transmission, because the radio is “packet based” and the UART is “stream based”. Stream based means that the data is transmitted and received one byte at a time, without any mechanism to separate chunks of data from other chunks of data; what the data means and how the data is to be delimited is purely up to the devices generating and using it. Packet based means that the data is grouped into chunks; wrapper information is added to this data, specifying where the data is destined to go. Computer networks are packet based by design. The radio in the Mercury is really a computer network interface. So the Mercury’s radio is packet based. This becomes important as the data is moved between the UART and the radio. When data is received over the radio, sending it to the UART is simple: the wrapper information is removed and the data inside the wrapper is sent out the serial port as fast as it can go. However, data being received over the serial port must be converted into packets, and this process is not quite so simple. In order to perform this conversion, the Mercury must be given a set of rules that tell it that it’s okay to start transmitting the data already received. The data can’t be transmitted as soon as it’s received, because as explained earlier there is overhead in the radio transmitting process. The values in this section define these conversion rules. Note: These rules don’t ever change the data in any way. They simply specify when data can be transmitted over the radio.

line length This is the maximum number of characters to wait for before transmitting the data over the radio. The default is 1408, so that once 1408 characters have been received by the UART, they will be transmitted regardless of the content of the data. This value can range from 1 to 1408, but be careful of using values too small: they could result in data loss.

30