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 8 of 10

Mercury User's Guide, pages 71 to 80

Pages 71 to 80 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 71

SET MASTER MODE Puts the RangeLan2 into Master, Alternate Master, or Station mode. This command is only available in new protocol mode. BYTE

COMMAND

ASCII ’M’, Hex 0x4d

BYTE

SEQNO

Sequence number

BYTE

MODE

New master/station setting

12 BYTES

STRING

Master name Table 7-18

Mode is 0x00 for station, 0x01 for alternate master, and 0x02 for master. String is the name the master should broadcast. If this is being set to a master but the name is zeroed, the existing name is unchanged. This call can be used to retrieve information about the current master.

MASTER MODE CONFIRMATION Acknowledges the successful setting of the mode. BYTE

RESPONSE

BYTE

SEQNO

From original command

BYTE

MODE

From original command

12 BYTES

STRING

Possibly from original command

ASCII ‘m’, Hex 0x6d

Table 7-19

Mode is 0x00 for station, 0x01 for alternate master, and 0x02 for master. String is the name of the master that the radio is synchonized to. If this unit is acting as a master, this will be the same as the name passed to it.

61

Page 72

SET DOMAIN Sets the domain that masters will broadcast and stations will lock on to. This command is only available in new protocol mode. BYTE

COMMAND

ASCII ’N’, Hex 0x4e

BYTE

SEQNO

Sequence number

BYTE

DOMAIN

New domain value Table 7-20

Domain is the domain number in the range 0x00-0x0f to identify unique networks within the roaming system. DOMAIN CONFIRMATION Acknowledges the successful setting of the domain number. ASCII ’n’, Hex 0x6e

BYTE

RESPONSE

BYTE

SEQNO

From original command

BYTE

DOMAIN

From original command Table 7-21

62

Page 73

SET RADIO CHANNEL Sets the channel (hopping pattern) the radio should use to transmit. If in old protocol mode, this will set the domain; it will also set the channel but only if it is master. With the new protocol, it will set the channel, but again, only if it is master. If it is not a master, the channel is determined by the current master for the currently selected domain. BYTE

COMMAND

ASCII ‘C’, Hex 0x43

BYTE

SEQNO

Sequence number

BYTE

RADIOCHAN

New channel value Table 7-22

In old protocol mode, radiochan is a value ASCII “1” to “7” (hex 0x31 to 0x37). In new protocol mode, use 0x01 to 0x0f to get the full range of available channels. RADIO CHANNEL CONFIRMATION Returns the value that the radio is currently on. This will be the same as the value set if this is currently acting as a master, else it will be the actual value the station is synchronized to. The value returned depends on the protocol in use. In the old protocol, the domain is returned; in the new one, the current channel is. BYTE

RESPONSE

BYTE

SEQNO

BYTE

RADIOCHAN

ASCII ‘c’, Hex 0x63 From original command Possibly from original command Table 7-23

63

Page 74

SET NETWORK S UBCHANNEL This is the value used to separate different networks using the same channel. The subchannel does not actually change any frequencies used, it just sends an additional value in each packet sent to filter packets for different networks. ProxLink compatible mode BYTE

COMMAND

ASCII ‘S', Hex 0x53

BYTE

SEQNO

Sequence number

BYTE

SUBCHANL

Bits 8-15 of subchannel

BYTE

SUBCHANH

Bits 0-7 of subchannel Table 7-23

Mercury-RF1 mode BYTE

COMMAND

ASCII ‘S', Hex 0x53

BYTE

SEQNO

Sequence number

BYTE

SUBCHAN

Subchannel value (1-15) Table 7-24

The subchannel for the ProxLink was a 16-bit number. The subchannel for the RangeLAN2 is a 4-bit number, with 0 being an invalid value. So the high byte and low byte are xor’d together and and’d with 0x0f. Then if the number is 0, it is changed to 8. In new protocol mode, only 0x01 through 0x0f are valid.

64

Page 75

SUBCHANNEL CONFIRMATION Returns the value that the radio is currently on. This will be the same as the value set if this is currently acting as a master, else it will be the actual value the station is synchronized to. ProxLink compatible mode BYTE

RESPONSE

BYTE

SEQNO

BYTE

SUBCHANL

ASCII ‘s’, Hex 0x73 From original command From original command (bits 0-7) Table 7-25

Mercury-RF1 mode ASCII ‘s’, Hex 0x73

BYTE

RESPONSE

BYTE

SEQNO

From original command

BYTE

SUBCHAN

From original command Table 7-26

If the value set in Set Network Subchannel was successfully changed, then this is the value that will be returned. Else, the previously set value will. If there was no previously set value, then the real value the radio is set at is returned.

65

Page 76

SET BAUD R ATE This function is used to change the baud rate the serial interface communicates at. ProxLink compatible mode BYTE

COMMAND

ASCII ‘B’, Hex 0x42

BYTE

SEQNO

Sequence number

BYTE

BAUDRATE

Baud rate (from table) Table 7-27

Mercury-RF1 mode BYTE

COMMAND

ASCII ‘B’, Hex 0x42

BYTE

SEQNO

Sequence number

BYTE

BAUDRATEH

Bits 16-23 of baud rate

BYTE

BAUDRATE2

Bits 8-15 of baud rate

BYTE

BAUDRATEL

Bits 0-7 of baud rate Table 7-28

In old protocol mode, baudrate is set by following this table: 3

1200

4

2400

5

4800

6

9600

7

19200 Table 7-29

In the new protocol mode, baudrate is a 24 bit number with the baud desired. Note, however, that not all rates are possible. The real rate selected will be as close to the requested rate as the hardware can

66

Page 77

manage. For example, 9600 will be exact (system clock speed was selected intentionally to cause this; normal RS-232 values are all exact), but 9500 baud will be rounded to 9501 because of clock divider roundoff (real physical rate would be 9501.0309). With a 14.7 MHz system clock, all standard baud rates (300, 1200, 2400, and other doubles) are precise; lowest rate is 112.5 baud, and highest is 307200 baud (although the RS-232 driver chip is not guaranteed above 240000 baud). BAUD RATE CONFIRMATION Acknowledges new baud rate. Message is sent prior to changing rate. ProxLink compatible mode BYTE

COMMAND

ASCII ‘b’, Hex 0x62

BYTE

SEQNO

From original command

BYTE

BAUDRATE

From original command Table 7-30

Mercury-RF1 mode BYTE

COMMAND

ASCII ‘b’, Hex 0x62

BYTE

SEQNO

From original command

BYTE

BAUDRATEH

From original command

BYTE

BAUDRATE2

From original command

BYTE

BAUDRATEL

From original command Table 7-31

In old protocol mode, baudrate returned is baudrate sent. In new protocol mode, baudrate is a 24 bit number with the actual baud possible; this will be the closest physically possible setting to the value requested.

67

Page 78

68

Page 79

APPENDIX A - SIMPLE POINT -TO-POINT CONFIGURATION If you are using Mercury-EN’s for Ethernet bridging or you are using two Mercury-RF1’s to connunicate to each other, and the RMP protocol is sufficient for your needs, then you won’t need to perform any configurations to make this happen. You still may need to perform configuration if you need specific hardware parameters to be set (such as baud rate or radio domain settings). The default configuration will allow two Mercury units to communicate both via Ethernet bridging, as well as for Point-to-Point RMP serial communication. For these, the Mercury is plug-and-play. Configuring two Mercury-RF1 units to communicate to each other via TCP/IP is a fairly straight-forward process. There is no need to read Chapter 6 (Configuration) if this is all the configuring your units will need. However, we strongly recommend that you read that chapter anyway, because most applications will require at least some hardware configuration. Here is a 21 step process to configure your Mercury units for Pointto-Point TCP/IP operation. These instructions assume that you have a terminal or computer with terminal emulation software in VT100 or ANSI emulation mode, configured to 9600 baud, 8 data bits, no parity, and 1 stop bit, and that you have both Mercury units powered up and ready to work with. 1.

Connect the first Mercury to the computer via the supplied serial cable, and apply power.

2.

Press the configure button on top of the Mercury. A menu should appear.

3.

Using the arrow keys, select “Reset configuration to default” from the menu. Confirm the selection on the next screen.

4.

Select “Edit configuration”.

5.

From the edit menu, select “RS-232 port (uart0)”. A screen of configuration data will appear.

6.

Scroll down to the [software] section, “protocol” option. Change the line to read “protocol = passthrough2”.

7.

Press Control-W to save the file. You will be returned to the edit menu.

69

Page 80

8.

Remove power from the first Mercury, and disconnect it from the computer.

9.

Connect the second Mercury to the computer and apply power.

10. Press the configure button on this second unit. 11. Again, select “Reset configuration to default” and confirm. 12. Select “Edit configuration”. 13. From the edit menu, select “RS-232 port (uart0)”. A full screen of configuration information will appear. 14. Scroll down to the [software] section, protocol option. Change the value to “protocol = passthrough2”. 15. Scroll down to an area that looks like this (near line 90; line numbers are shown at the bottom of the screen): [tcpbind1b] protocol = tcp ip address = 10.10.10.129 remote tcp port = 4000 16. On the line that says “ip address = 10.10.10.129”, change it to read “ip address = 10.10.10.128”. 17. Press Control-W to save the file. You will be returned to the edit menu. 18. Select “RangeLAN2 ethernet (lan0)” 19. Scroll down to the line that says “ip address = 10.10.10.128” (near line 22). Change it to read “10.10.10.129”. 20. Press Control-W to save the file. 21. Disconnect power from this Mercury. That’s it. Once you power the two units back on, they will communicate with each other. If you have any problems with these instructions, you can read more about the configuration system in Chapter 6, or you may call Nomadic Communications technical support for assistance.

70