background image

26

MHX-2400 Operating Manual: Appendix A. Modem Command Summary

A. Modem Command Summary

The following provides a command summary for the MHX-2400 module.  Factory settings are denoted with a ‘*’.

AT Commands

A

Answer

E

Command Echo
E0 No Echo
* E1 Command Echo

I

Identification
I0 Product Code
I2 ROM Checksum test
I3 Firmware Version
I4 Firmware Date
I5 Copyright
I6 Firmware Time

O

On-line Mode

Q

Quiet Mode
* Q0 Enables Result Codes
Q1 Disables Result Codes

V

Result Codes Display
V0 Display as Numbers
* V1 Display as Words

W

Connection Result
* W0 Reports DTE as CONNECT xxxx
W1 Reports computer (DTE) rate and wireless rate

between modems as CARRIER xxxx.

W2 Reports DCE as CONNECT xxxx

Z

Reset and load stored configuration

&C

DCD (Data Carrier Detect)
&C0 DCD is always on
* &C1 DCD is on when modems are synchronized
&C2 DCD used for output data framing

&D

DTR (Data Terminal Ready)
&D0 DTR ignored
* &D2 DTR disconnects and switches to command
&D3 DTR disconnects and resets modem

&F

Load Factory Default
&F1 Master
&F2 Slave
&F3 Repeater
&F4 Slave through Repeater

&K

Handshaking
&K0 Disable Handshaking
&K2 RTS/CTS Input Framing
* &K3 Enable Handshaking

&S

DSR (Data Set Ready)
&S0 DSR is always on
* &S1 DSR on in data, off in command mode

&V

View Configuration

&W

Write configuration to memory

Sxx?

Read S register value

Sxx=yy

Set S register value

Result Codes

0

OK

12

CONNECT 9600

3

NO CARRIER

13

CONNECT 14400

4

ERROR

14

CONNECT 19200

7

CONNECT 2400

15

CONNECT 28800

8

CONNECT 3600

17

CONNECT 38400

9

CONNECT 4800

18

CONNECT 57600

10

CONNECT 7200

33

CONNECT 115200

64

CARRIER 20000

62

CARRIER 45000

S Registers

S0

Auto Answer [0...255]
0 = power up in Command Mode,
non-zero = power up in Data Mode

S2

Escape code [0...255] default ‘+’

S3

CR  character [0...255] default <cr>

S4

Line Feed [0...255] default <lf>

S5

Backspace [0...255] default <bs>

S101

Operating Mode
1 - Master Point to Multipoint
2 - Master Point to Point
3 - Slave
4 - Repeater

S102

Serial Baud Rate
*1 = 115200, 2 = 57600, 3 = 38400
4 = 28800, 5 = 19200, 6 = 14400
7 = 9600, 8 = 7200, 9 = 4800,
10 = 3600, 11 = 2400

S103

Wireless Link Rate
2 = Fast w/o FEC
*4 = Fast with FEC

S104

Network Address [0...65535]

S105

Unit Address [1...65535]

S106

Primary Hopping Pattern [0...50]

S206

Secondary Hopping Pattern [0...50]

S107

Encryption Key [0...65535]

S108

Output Power Level
0 = 10 mW, 1 = 50 mW, *2 = 100 mW, 3 = 250 mW
4 = 500 mW, 5 = 750 mW, 6 = 1W

S109

Hopping Interval
1 = 8 msec, 2 = 12 msec, 3 = 16 msec,
4 = 20 msec, 5 = 30 msec, 6 = 45 msec,
7 = 80 msec, *8 = 120 msec

S110

Data Format
* 1 = 8N1, 2 = 8N2, 3 = 8E1, 4 = 8O1
5 = 7N1, 6 = 7N2, 7 = 7E1, 8 = 7O1
9 = 7E2, 10 = 7O2, 11 = 9N1

S111

Packet Minimum Size [1...Maximum Size]

S112

Packet Maximum Size [2...255]

S113

Packet Retransmissions [0...255]

S213

Packet Retry Limit [0...255]

S115

Packet Repeat Interval [1..255]
Default = 1

S116

Packet Character Timeout [0...254 ms]

S117

Modbus Mode
*0 = Disabled, 1 = Enabled

S120

RTS/DCD Framing Interval [0...254 ms]

S121

DCD Timeout [0...254 ms]

Summary of Contents for MHX-2400

Page 1: ...anual MHX 2400 2 4 GHz Spread Spectrum OEM Transceiver Revision 1 11 December 1 2000 Microhard Systems Inc 110 1144 29th Ave N E Calgary Alberta T2E 7P1 Phone 403 248 0028 Fax 403 248 2762 www microha...

Page 2: ...anual generates uses and radiates radio frequency energy Operation of this equipment in a residential area may cause radio interference in which case the user at his own expense will be required to ta...

Page 3: ...ers 14 S Register 2 Escape Code 14 S Register 3 CR Control Code 14 S Register 4 Linefeed Control Code 14 S Register 5 Backspace Control Code 14 S Register 101 Operating Mode 15 S Register 102 Serial B...

Page 4: ......

Page 5: ...and offers quality and dependability The MHX 2400 module s versatility makes it the ideal solution for applications ranging from office productivity to industrial data control and acquisition While a...

Page 6: ...ntains instructions suggestions and information which will help you set up and achieve optimal performance from your equipment using the MHX 2400 module It is assumed that users of the MHX 2400 module...

Page 7: ...ich has been compatibly configured Thus at least two MHX 2400 modules will be required to establish a wireless communications link Additionally the following requirements should be taken into consider...

Page 8: ...ot directly feeding a switching power supply into Vcc Radio In addition it is recommended that Vcc Radio be regulated as close to 5 5V as possible without exceeding 5 5V Running from a 5V regulator wi...

Page 9: ...t to Send I 28 CTS Clear to Send O RX Indicator This active high output indicates the modem is receiving data packets with correct CRC and is designed to drive a LED When the unit is configured as a S...

Page 10: ...anted crosstalk between modules Examples of different network topologies are shown in Figure 2 Network 1 shows Point to Point communication between a Master and Slave Network 2 makes use of a Repeater...

Page 11: ...cond unit as a Slave The units should now be communicating Remember the parameters defined by AT F1 and AT F2 will likely not be the most ideal for your application but will quickly allow you to test...

Page 12: ...the factory the unit will power up in Command Mode You can place the modem into Data Mode either by 1 Issuing the answer command 2 Issuing the online command You can place the modem into Command Mode...

Page 13: ...d by 1 second of inactivity Note that the terminal must be configured to the same baud rate as the modem in order for the mode to recognize the escape sequence The modem is unable to autobaud while in...

Page 14: ...s rate between modems as CARRIER xxxx W2 Reports modem DCE baud rate as CONNECT xxxx Z Reset and load stored configuration The Z command resets the modem and loads the stored configuration C DCD Data...

Page 15: ...S command controls the DSR line for the modem and determines when it is active S0 DSR is always ON S1 DSR is ON in Data Mode OFF in Command Mode V View Configuration The V command displays the current...

Page 16: ...her text strings or numerical data The following chart shows resulting text string and corresponding numeric result 0 OK 3 NO CARRIER 4 ERROR 7 CONNECT 2400 8 CONNECT 3600 9 CONNECT 4800 10 CONNECT 72...

Page 17: ...acter This is the character that is used to end the command line and is also the character that appears after the modem sends a response This register cannot be stored to non volatile memory If the mo...

Page 18: ...he ultimate destination for data transmitted by all Slaves and Repeaters In addition the Master defines the following network parameters to be utilized by all other modems in the network See the appro...

Page 19: ...e precise title would be Repeater Slave because a Repeater also has much of the same functionality as a Slave A terminal can be connected at the Repeater location and communicate with the Master termi...

Page 20: ...ssible to write values to this register since the instant another AT command is issued the register will revert to the current baud rate Therefore it is advisable to operate in Command Mode at the des...

Page 21: ...sily selected by chance or coincidence Default is 1 S Register 105 Unit Address In point to point operation the Unit Address on both the Master and Slave or Repeater units must be the same In a multip...

Page 22: ...ration below When communicating with the Master R1 is acting like a Slave on Primary Hopping Pattern 1 When communicating with R2 and S4 R1 is acting like a Master on Secondary Hopping Pattern 2 If mu...

Page 23: ...etween units starting from a low power level and working upward until the RSSI is sufficiently high and a reliable link is established Although the conditions will vary widely between applications typ...

Page 24: ...s can result in severe fines S Register 109 Hopping Interval This option determines the frequency at which the modems change channel Note that the Master controls this parameter for the entire network...

Page 25: ...eld the best throughput depending on the higher level protocols of the connected equipment However if the link is poor e g experiencing excessive interference and data is frequently retransmitted the...

Page 26: ...Slaves or other Repeaters exactly the number of times defined by the Packet Retransmissions parameter Recipients of the packet will discard any duplicates The valid settings for this parameter are 0 t...

Page 27: ...slot A Slave will transmit a maximum of once per hopping interval however depending on the duration of the hopping interval and the maximum packet size more than one slot per hop is potentially availa...

Page 28: ...S120 can be set to any value between 0 and 254 ms RTS CTS TXD S120 ms Data going into MHX 910 0 to 1 ms Figure 5 Input Data Framing To enable output DCD data framing set the Data Carrier Detect parame...

Page 29: ...MHX 2400 Operating Manual Chapter 3 Configuration Options 25...

Page 30: ...Set S register value Result Codes 0 OK 12 CONNECT 9600 3 NO CARRIER 13 CONNECT 14400 4 ERROR 14 CONNECT 19200 7 CONNECT 2400 15 CONNECT 28800 8 CONNECT 3600 17 CONNECT 38400 9 CONNECT 4800 18 CONNECT...

Page 31: ...MHX 2400 Operating Manual RS 232 Interface and Cables 27...

Page 32: ......

Page 33: ...ed TTL low by the DTE to inform the modem that it is alive and ready for communications SG Signal Ground Provides a ground reference for all signals transmitted by both DTE and DCE DSR Data Set Ready...

Page 34: ...30 MHX 2400 Operating Manual Appendix B Serial Interface...

Page 35: ...SCI of the PIC 16C74 is directly connected pins 2 and 3 of the MHX 2400 The bi directional Port D is used for asserting or monitoring control signals from the MHX 2400 The RESET and CONFIG signals are...

Page 36: ...32 MHX 2400 Operating Manual Appendix C Sample Schematic Diagram...

Page 37: ...RTS DCD Framing ms S120 0 DCD Timeout ms S121 0 Secondary Hop Pattern S206 2 Don t Care Packet Retry Limit S213 2 AT F3 Repeater Default Settings E1 Q0 V1 W0 S0 1 S2 43 S3 13 S4 10 S5 8 DCD C1 On whe...

Page 38: ...34 MHX 2400 Operating Manual Appendix D Factory Default Settings...

Page 39: ...0 ms 130 38 Link Rate Fast 6 45 ms 210 43 WITH FEC 7 80 ms 255 30 8 120 ms 255 20 1 8 ms N A N A Repeater to 2 12 ms 3 1 Master Direct 3 16 ms 22 13 Communication 4 20 ms 44 21 5 30 ms 101 32 Link Rat...

Page 40: ...36 MHX 2400 Operating Manual Appendix E Performance Tables...

Page 41: ...2 GHz 14 16 2 4092 2 4392 GHz 17 19 2 4132 2 4432 GHz 20 22 2 4172 2 4472 GHz 23 25 2 4212 2 4512 GHz 26 28 2 4252 2 4552 GHz 29 31 2 4292 2 4592 GHz 32 34 2 4332 2 4632 GHz 35 37 2 4372 2 4672 GHz 38...

Page 42: ...38 MHX 2400 Operating Manual Appendix F Hopping Patterns...

Page 43: ...r Consumption 700 mA max 450 mA typical at 1W transmit 200 mA receive Operating Frequency 2 4000 GHz to 2 4835 GHz System Gain 135 dB Sensitivity 105 dBm Output Power 10 50 100 250 500 750 1000mW user...

Page 44: ...40 MHX 2400 Operating Manual Appendix G Technical Specifications...

Page 45: ...detection scheme for transmitted data Performed by using a polynomial algorithm on data and appending a checksum to the end of the packet At the receiving end a similar algorithm is performed and che...

Page 46: ...device RS 232 Recommended Standard 232 more accurately RS 232C or EIA TIA 232E Defined by the EIA a widely known standard electrical and physical interface for linking DCEs and DTEs for serial data co...

Reviews: