Digi 9XCite User manual

Category
Radio frequency (RF) modems
Type
User manual

This manual is also suitable for

MaxStream
355 South 520 West, Suite 180
Lindon, UT 84042
Phone: (801) 765-9885
Fax: (801) 765-9895
rf-xperts@maxstream.net
www.MaxStream.net (live chat support)
9XCite-PKG-R™ RS-232/485 RF Modem
9XCite RS-232/485 RF Modem
Interfacing Protocol
RF Modem Operation
RF Modem Configuration
Advanced Networking
Appendices
Product Manual v2.1
For RF Modem Part Numbers: XC09-009PKC-R…
XC09-038PKC-R…
Low Power, Low Cost Boxed RF Modems by MaxStream, Inc.
M100103
2007.01.04
9XCitePKGR™RS232/485RFModem‐ProductManualv2.1[2007.01.04]
©2007MaxStream,Inc. ii
© 2007 MaxStream, Inc. All rights reserved
Nopartofthecontentsofthismanualmaybetransmittedorreproducedinany
formorbyanymeanswithoutthewrittenpermissionofMaxStream,Inc.
XCite™andXCitePKGR™aretrademarksofMaxStream,Inc.
TechnicalSupport: Phone:(801)7659885
LiveChat:www.maxstream.net
Email:rf[email protected]
Contents
9XCitePKGR™RS232/485RFModemProductManualv2.1[2007.01.04]
©2007MaxStream,Inc. iii
1. 9XCite RS-232/485 RF Modem 4
1.1. Key Features 4
1.1.1. Worldwide Acceptance 4
1.2. Specifications 5
1.3. External Interface 6
2. Interfacing Protocol 7
2.1. RS-232 Operation 7
2.1.1. DIP Switch Settings and Pin Signals 7
2.1.2. Wiring Diagrams 8
2.2. RS-485 (2-wire) Operation 9
2.2.1. DIP Switch Settings and Pin Signals 9
2.2.2. Wiring Diagram 9
2.3. RS-485 (4-wire) & RS-422 Operation 10
2.3.1. DIP Switch Settings and Pin Signals 10
2.3.2. Wiring Diagrams 10
3. RF Modem Operation 12
3.1. Serial Communications 12
3.1.1. RS-232 and RS-485/422 Data Flow 12
3.1.2. Serial Data 12
3.2. Modes of Operation 13
3.2.1. Idle Mode 13
3.2.2. Transmit Mode 13
3.2.3. Receive Mode 14
3.2.4. Sleep Modes 15
3.2.5. Command Mode 17
4. RF Modem Configuration 18
4.1. Command and Parameter Types 18
4.1.1. AT Commands 18
4.1.2. Non-AT Settable Parameters (X-CTU Soft-
ware configurable only) 18
4.2. Configuration Software 19
4.2.1. Installation 19
4.2.2. Serial Communications Software 19
4.3. Command Reference Tables 20
4.4. Automatic DIP Switch Configurations 22
4.5. Command Descriptions 23
5. Advanced Networking 32
5.1. Addressing 32
5.1.1. Vendor Identification Number (ATID) 32
5.1.2. Channel (ATHP) 33
5.1.3. Destination Address (ATDT) and Address
Mask (ATMK) 33
Appendix A: Agency Certifications 35
FCC (United States) Certification 35
Labeling Requirements 35
FCC Notices 35
Limited Modular Approval 36
FCC-approved Antennas 36
IC (Industry Canada) Certification 37
Labeling Requirements 37
Appendix B: Additional Information 38
1-Year Warranty 38
Ordering Information 38
Contact MaxStream 39
9XCitePKGR™RS232/485RFModemProductManualv2.1[2007.01.04]
©2007MaxStream,Inc.
1.9XCiteRS232/485RFModem
The XCite-PKG-R RS-232/485 RF Modem pro-
vides OEMs and system integrators with a low
power wireless solution that is easy-to-use.
No configuration is necessary for out-of-box RF
operation. Simply feed data into one modem;
then the data is sent out the other end of the
wireless link. If more advanced functionality is
needed, the modem support an extensive set of
commands.
The RF modem operates within the ISM 900
MHz frequency band.
1.1. Key Features
Long Range Data Integrity
4 mW Power Output (0 dBm)
• Indoor/Urban: up to 300' (90 m)
• Outdoor RF line-of-sight:
up to 1000' (300 m) w/ 2.1 dB dipole antenna
Receiver Sensitivity
• -108 dBm (@ 9600 baud),
• -104 dBm (@ 38400 baud)
Advanced Networking & Security
True Peer-to-Peer (no "master" required),
Point-to-Point & Point-to-Multipoint networking
Hopping (Frequency Hopping Spread Spectrum)
or Single Frequency Modes
7 hopping channels: each with over 65,000
network addresses available
Up to 9 non-overlapping simultaneous networks
Low Power
Power-down current as low as 1 mA
105 mA transmit / 55 mA receive current
consumption
Easy-to-Use
No configuration required
Advanced configurations available through
A
commands
7 to 18V power supply
Continuous RF data stream of
up to 38.4 kbps
XII™ Interference Immunity
X-CTU Software included
Cover more ground with fewer radio
modems due to market-leading range
Free & Unlimited Technical Support
1.1.1. Worldwide Acceptance
FCC Certified (USA) [Refer to Appendix A for FCC Requirements]
Systems that contain XCite Modems inherit MaxStream's FCC Certification
IC (Industry Canada) Certified
ISM (Industrial, Scientific & Medical) license-free 902-928 MHz frequency band
Manufactured under ISO 9001:2000 registered standards
9XCitePKGR™RS232/485RFModemProductManualv2.1[2007.01.04]
©2007MaxStream,Inc.
1.2. Specifications
Table101. 9XCitePKGRRS232/485RFModem
9XCite 900 MHz RS-232/485 RF Modem Specifications
Performance
Transmit Power Output 4mW
Indoor/Urban Range Up to 300’ (90 m)
Outdoor
RF line-of-sight Range
Up to 1000’ (300 m)
Interface Data Rate
(software selectable using BD command)
1200 –57600 bps
Throughput Data Rate (baud) 9600 bps 38400 bps
RF Data Rate (baud) 10,000 bps 41,666 bps
Receiver Sensitivity -108 dBm -104 dBm
Power Requirements
Supply Voltage 7 - 18 VDC
Transmit Current 105 mA
Receive Current 55 mA
Power-down Current < 1 mA
Networking & Security
Frequency 902-928 MHz
Spread Spectrum Frequency Hopping, Wide band FM modulator
Modulation FSK (Frequency Shift Keying)
Network Topologies Supported Peer-to-Peer (“Master/Slave” relationship not required), Point-to-Point & Point-to-Multipoint
Channel Capacity
Hopping Mode - 7 hop sequences share 25 frequencies
Single Frequency Mode - 25 available frequencies
Physical Properties
RF Modem Board Size 2.75" x 5.50" x 1.124" (7.90 cm x 13.90 cm x3.80 cm)
Weight 7.1 oz. (200 g), Extruded aluminum, black anodized
Serial Connector DB-9
Operating Temperature 0 to 70º C (commercial)
Antenna
Connector RPSMA (Reverse-polarity SMA)
Type Half-wave dipole whip, 6.75” (17.15cm), 2.1 dBi gain
Impedance 50 ohms unbalanced
Certifications (partial list)
FCC Part 15.247 OUR-9XCITE
Industry Canada (IC) 4214A-9XCITE
9XCitePKGR™RS232/485RFModemProductManualv2.1[2007.01.04]
©2007MaxStream,Inc.
1.3. External Interface
Figure103. DIPSwitchSettings
1-01a. Power Switch
Figure101. FrontView
Move Power Switch to the ON (up) position to power the XCite RS-
232/485 RF Modem.
1-01b. I/O & Power LEDs
LEDs indicate modem activity as follows:
Yellow (top LED) = Serial Data Out (to host)
Green (middle) = Serial Data In (from host)
Red (bottom) = Power/TX Indicator (Red light is on when
powered; it pulses on/off briefly during RF transmission.)
1-01c. DB-9 Serial Port
Standard female RS-232 (DB-9) DCE connector - Port is also used for
RS-485 and RS-422 connections.
1-01d. Power Connector*
7-18 VDC Power Connector (Center positive, 5.5/2.1 mm) - Power
can also be supplied through Pin 9 of the serial port.
1-02a. DIP Switch
Figure102. BackView DIP Switch automatically configures the XCite Module to operate in
different modes. Each time the RF modem is powered-on, intelligence
on the XIB-R interface board programs the embedded module accord-
ing to the positions of the DIP Switch. [See the figure below for DIP
Switch settings.]
In cases where AT Commands should not be sent each time the RF
Modem is powered on, the processor must be disabled by populating
J7 on the interface board. [See "Automatic DIP Switch Configura-
tions" section for more information].
1-02b. Config (Configuration) Switch
Configuration Switch provides an alternate way to enter "AT Com-
mand Mode". To enter "AT Command Mode" at the RF modem's
default baud rate, hold the Configuration Switch down while powering
on the modem using the Power Switch.
1-02c. Antenna Port
This port is a 50 Ohm RF signal connector for connecting to an RPSMA
(Reverse Polarity SMA) type antenna. The RPSMA has threads on the
outside of a barrel and a male center conductor.
101a. Power
Switch
101b. LEDs:
Yellow(top)
Green(middle)
Red(bottom)
101c. DB9
Serial Port
101d. Power
Connector
102a.DIP
Switch
102b. Configuration
Switch
102c. Antenna
Port
9XCite™RS232/485RFModemProductManualv2.1[2007.01.04]
©2007MaxStream,Inc. 7
2.InterfacingProtocol
The 9XCite RS-232/485 RF Modem supports the following interfacing protocols:
• RS-232
• RS-485 (2-wire) Half-duplex
• RS-485 (4-wire) and RS-422
2.1. RS-232 Operation
2.1.1. DIP Switch Settings and Pin Signals
*The‘PinReferenceName’providesanassociativetagthatreferencescommandsusedtodefinepinbehaviors.
GPIstandsforʺGeneralPurposeInputʺandGPOstandsforʺGeneralPurposeOutputʺ.Asanexample,theCD
commandisusedtodefinethebehaviorofGPO2(DB9pinnumber1).The
‘PinReferenceName’isthename
usedwhenreferringtoXCitecommandsandparameters.
Table201. RS232SignalsandtheirimplementationsontheXCiteRFModem
(Lowassertedsignalsaredistinguishedbyhorizontallineoverpinname.)
DB-9 Pin
RS-232
Name
Pin Reference
Name*
Description Implementation
1 DCD DO2 Data-Carrier-Detect Connected to DSR (pin6)
2 RXD DO Received Data Serial data exiting the RF modem (to host)
3 TXD DI Transmitted Data Serial data entering into the RF modem (from host)
4 DTR DI2 Data-Terminal-Ready Can enable Power-Down on the RF modemy
5 GND - Ground Signal Ground
6 DSR DO2 Data-Set-Ready Connected to DCD (pin1)
7
RTS
/
CMD
DI1
Request-to-Send /
Command Mode
Provides RTS
flow control or enables Command Mode
8 CTS DO1 Clear-to-Send Provides CTS flow control
9 RI - Ring Indicator
Optional power input that is connected internally to the
positive lead of the front power connector
Figure201.
RS232DIPSwitchSettings
DIPSwitchsettingsarereadandapplied
onlywhilepoweringon.
Figure202.
PinsusedonthefemaleRS232(DB9)
SerialConnector
9XCite™RS232/485RFModemProductManualv2.1[2007.01.04]
©2007MaxStream,Inc. 8
2.1.2. Wiring Diagrams
Figure203. RS232DTEDevice(maleDB9connector)wiredtoaDCERFmodem(femaleDB9)
Figure204. DCERFmodem(femaleDB9connector)wiredtoanRS232DCEDevice(maleDB9)
Sample Wireless Connection: DTE <--> DCE DCE <--> DCE
Figure205. TypicalwirelesslinkbetweenDTEandDCEdevices
9XCite™RS232/485RFModemProductManualv2.1[2007.01.04]
©2007MaxStream,Inc. 9
2.2. RS-485 (2-wire) Operation
2.2.1. DIP Switch Settings and Pin Signals
Note: Refer to the figures in the “RS-485/422 Connection Guidelines” section for RJ-45 connector
pin designations used in RS-485/422 environments.
2.2.2. Wiring Diagram
Figure209. XCiteRFModeminanRS485(2wire)halfduplexenvironment
Table202. RS485(2wirehalfduplex)signalsandtheirimplementati onsontheXCiteRFModem
DB-9 Pin RS-485 Name Description Implementation
2 T/R- (TRA) Negative Data Line Transmit serial data to and from the RF modem
5 GND Ground Signal Ground
8 T/R+ (TRB) Positive Data Line Transmit serial data to and from the RF modem
9PWR Power
Optional power input that is connected internally
to the front power connector
1, 3, 4, 6, 7 not used
Figure206.
RS485(2wire)Halfduplex
DIPSwitchSettings
Figure207.
PinsusedonthefemaleRS232(DB9)
SerialConnector
Figure208.
RS485(2wire)w/Termination(optional)
Terminationisthe120ΩresistorbetweenT+andT.
DIPSwitchsettingsarereadandapplied
onlywhilepoweringon.
9XCite™RS232/485RFModemProductManualv2.1[2007.01.04]
©2007MaxStream,Inc. 10
2.3. RS-485 (4-wire) & RS-422 Operation
2.3.1. DIP Switch Settings and Pin Signals
2.3.2. Wiring Diagrams
Figure213. XCiteRFModeminanRS485(4wire)environment
Table203. RS485/422(4wire)SignalsandtheirimplementationsontheXCiteRFModem
DB-9 Pin
RS-485/422
Name
Description Implementation
2T- (TA)
Transmit Negative
Data Line
Serial data sent from the RF modem
3R- (RA)
Receive Negative
Data Line
Serial data received by the RF modem
5 GND Signal Ground Ground
7 R+ (RB)
Receive Positive
Data Line
Serial data received by the RF modem
8T+ (TB)
Transmit Positive
Data Line
Serial data sent from the RF modem
9PWR Power
Optional power input that is connected internally
to the front power connector
1, 4, 6 not used
Figure210.
RS485(2wire)Halfduplex
DIPSwitchSettings
Figure211.
PinsusedonthefemaleRS232(DB9)
SerialConnector
Figure212.
RS485(2wire)w/Termination(optional)
Terminationisthe120ΩresistorbetweenT+andT.
DIPSwitchsettingsarereadandapplied
onlywhilepoweringon.
9XCite™RS232/485RFModemProductManualv2.1[2007.01.04]
©2007MaxStream,Inc. 11
Figure214. XCiteRFModeminanRS422environmen t
RS-485/422 Connection Guidelines
The RS-485/422 protocol provides a solution for wired communications that can tolerate high
noise and push signals over long cable lengths. RS-485/422 signals can communicate as far as
4000 feet (1200 m). RS-232 signals are suitable for cable distances up to 100 feet (30.5 m).
RS-485 offers multi-drop capability in which up to 32 nodes can be connected. The RS-422 proto-
col is used for point-to-point communications.
Suggestions for integrating the XCite RF Modem with the RS-485/422 protocol:
Figure215. MaleDB9toRJ45Adapter(yellow)
Figure216. FemaleDB9toRJ45Adapter(green)
An XCite RS-232/485 RF Modem ‘Accessories Kit’ is available that includes connectors that facilitate
RS-485/422 and other serial communications.
1. When using Ethernet twisted pair cabling: Select wires so that T+ and T- are connected to
each wire in a twisted pair. Likewise, select wires so that R+ and R- are connected to a
twisted pair. (For example, tie the green and white/green wires to T+ and T-.)
2. For straight-through Ethernet cable (not cross-over cable) - The following wiring pattern
works well: Pin3 to T+, Pin4 to R+, Pin5 to R-, Pin6 to T-
3. Note that the connecting cable only requires 4 wires (even though there are 8 wires).
4. When using phone cabling (RJ-11) - Pin2 in the cable maps to Pin3 on opposite end of
cable and Pin1 maps to Pin4 respectively.
9XCitePKGR™RS232/485RFModemProductManualv2.1[2007.01.04]
©2007MaxStream,Inc. 12
3.RFModemOperation
3.1. Serial Communications
3.1.1. RS-232 and RS-485/422 Data Flow
The XCite RF Modem can enable a host device to communicate wirelessly. To transmit, the host
device simply sends serial data to the XCite RF Modem pins. The RF modem then converts the data
into FCC-approved RF data. Once transmitted, the RF data can be detected by receiving XCite RF
Modems, checked for integrity and then sent to a receiving device.
Figure301. DataFlowinRS232andRS485/422environments.
(Lowassertedsignalsdistinguishedwithahorizontallineoversignalname.)
3.1.2. Serial Data
Data enters the MaxStream RF modem through the DI Pin as an asynchronous serial signal. The
signal should idle high when no data is being transmitted.
The UART performs tasks (such as timing and parity checking) needed for communication. Serial
communication consists of two UARTs which must be configured with compatible parameters
(Baud rate, parity, start bits, stop bits, data bits) to have successful communication. Each data
packet consists of a start bit (low), 8 data bits (least significant bit first) and a stop bit (high). The
following figure illustrates the serial bit pattern of data passing through the modem.
Figure302. Serial(UART)datapacket0x1F(decimalʺ31ʺ)astransmittedthroughtheXCiteModule
DataFormatis8N1(8bits‐NoParity‐1StopBit)
In the example above, the MaxStream RF modem transfer 8 bits over-the-air [Selectable using BI
(Number of Bits) Parameter]. Start and stop bits of the UART signal are not transmitted over-the-
air, but are regenerated by the receiving modem
9XCitePKGR™RS232/485RFModemProductManualv2.1[2007.01.04]
©2007MaxStream,Inc. 13
3.2. Modes of Operation
XCite RF Modems operate in five modes.
Figure303. ModesofOperation
3.2.1. Idle Mode
When not receiving or transmitting data, the RF modem is in Idle Mode. The modem shifts into the
other modes of operation under the following conditions:
• Transmit Mode (Serial data is received in the DI Buffer)
• Receive Mode (Valid RF data is received through the antenna)
• Sleep Mode (Sleep Mode condition is met)
• Command Mode (Command Mode Sequence is issued)
3.2.2. Transmit Mode
When the first byte of serial data comes through the DI Pin and arrives in the DI Buffer, the
modem transitions into Transmit Mode. Once in Transmit Mode, the modem initializes a communi-
cations channel. During channel initialization, incoming serial data accumulates in the DI buffer.
After the channel is initialized, data in the DI buffer is grouped into packets (up to 64 bytes in each
packet) and is transmitted. The modem continues to transmit data packets until the DI buffer is
empty. Once transmission is finished, the modem returns to Idle Mode. This progression is shown
below:
Figure304. Transmissionofdata
9XCitePKGR™RS232/485RFModemProductManualv2.1[2007.01.04]
©2007MaxStream,Inc. 14
3.2.3. Receive Mode
If a modem detects RF transmitted data while operating in Idle Mode, it transitions into Receive
Mode to start receiving packets. Once a packet is received, it goes through the receiving-end of a
CRC (cyclic redundancy check) to ensure that the data was transmitted without error. If the CRC
data bits on the incoming packet are invalid, the packet is discarded. If the CRC is valid, the packet
is placed the DO Buffer. This process is shown in the figure below:
Figure305. ReceiveModeDataFlow
The modem returns to Idle Mode after valid data is no longer detected or once an error is detected
in the received data. If serial data-to-transmit is stored in the DI buffer while the modem is giving
precedence to Receive Mode, the data will be transmitted after the modem finishes receiving data
and returns to Idle Mode.
9XCitePKGR™RS232/485RFModemProductManualv2.1[2007.01.04]
©2007MaxStream,Inc. 15
3.2.4. Sleep Modes
Software Sleep
Sleep Modes enable the modem to enter states of low-power consumption when not in use. Three
software Sleep Modes are supported:
• Pin Sleep (Host Controlled)
• Serial Port Sleep (Wake on Serial Port activity)
• Cyclic Sleep (Wake on RF activity)
In order to enter Sleep Mode, one of the following conditions must be met (in addition to the
modem having a non-zero SM parameter value):
Once in Sleep Mode, the radio modem does not transmit or receive data until it first returns to Idle
Mode. The return into Idle Mode is triggered by the de-assertion of the Sleep pin or the arrival of a
serial byte through Data In pin.
The SM (Sleep Mode) command is central to setting all Sleep Mode configurations. By default,
Sleep Modes are disabled (SM = 0) and the modem remains in Idle/Receive Mode. When in this
state, the modem remains constantly ready to respond to serial or RF activity.
Pin Sleep (SM = 1)
• Pin/Host-controlled
<Lowest Power Configuration> In order to achieve this low-power state, Pin 2 must be asserted
(high). The modem remains in Pin Sleep until the Sleep pin is de-asserted. The modem will com-
plete a transmission or reception before activating Pin Sleep.
After enabling Pin Sleep (SM (Sleep Mode) Parameter = 1), Pin 2 controls whether the XCite Mod-
ule is active or in Sleep Mode. When Pin 2 is asserted (high), the modem transitions to Sleep Mode
and remains in its lowest power-consuming state until the Sleep pin is de-asserted. The XCite
Module requires 40ms to transition from Sleep Mode to Idle Mode. Pin 2 is only active if the
modem is setup to operate in this mode; otherwise the pin is ignored. Once in Pin Sleep Mode,
CTS
is de-asserted (high), indicating that data should not be sent to the modem. The PWR pin is
also de-asserted (low) when the modem is in Pin Sleep Mode
Note: The modem will complete a transmission or reception before activating Pin Sleep.
Serial Port Sleep (SM = 2)
• Wake on serial port activity
Serial Port Sleep is a Sleep Mode setting in which the modem runs in a low power state until data
is detected on the DI pin.
When Serial Port Sleep is enabled, the modem goes into Sleep Mode after a user-defined period of
inactivity (no transmitting or receiving of data). This period of time is determined by ST (Time
before Sleep) Command. The modem returns to Idle Mode once a character is received through
the DI pin.
Cyclic Sleep (SM = 3-8)
Cyclic Sleep is the Sleep Mode setting in which the XCite Module enters into a low power state and
awakens periodically to determine if any transmissions are being sent.
When Cyclic Sleep settings are enabled, the XCite Module goes into Sleep Mode after a user-
defined period of inactivity (no transmission or reception on the RF channel). The user-defined
period is determined by ST Parameter. [See ST (Time before Sleep) Parameter]
While the modem is in a low-power state, CTS
de-asserted (high) to indicate that data should not
be sent to the modem during this time. When the modem awakens to listen for data, CTS
is
asserted and any data received on the DI Pin is transmitted. The PWR pin is also de-asserted (low)
when the modem is in Cyclic Sleep Mode. These pins are asserted each time the modem cycles
1. The modem is idle (no data transmission or reception) for the amount of time defined by
the ST (Time before Sleep) parameter.
2. SLEEP pin is asserted.
9XCitePKGR™RS232/485RFModemProductManualv2.1[2007.01.04]
©2007MaxStream,Inc. 16
into Idle Mode to listen for valid data packets and de-asserts when the modem returns to Sleep
Mode.
The modem remains in Sleep Mode for a user-defined period of time ranging from 0.5 seconds to
16 seconds (SM Parameters 3 through 8). After this interval of time, the modem returns to Idle
Mode and listens for a valid data packet for 100 ms. If the modem does not detect valid data (on
any frequency), the modem returns to Sleep Mode. If valid data is detected, the modem transi-
tions into Receive Mode and receives the incoming packets. The modem then returns to Sleep
Mode after a Period of inactivity that is determined by ST "Time before Sleep" Parameter.
The modem can also be configured to Wake-up from cyclic sleep when the SLEEP pin is de-
asserted (low). To configure a modem to operate in this manner, PW (Pin Wake-up) Command
must be issued. Once the Sleep pin is de-asserted, the modem is forced into Idle Mode and can
begin transmitting or receiving data. It remains active until no data is detected for the period of
time specified by the ST parameter, at which point it resumes its low-power cyclic state.
Note: The cyclic interval time defined by SM (Sleep Mode) Command must be shorter than the interval
time defined by LH ("Wake-up Initializer Timer") Command. For example: If SM=4 (Cyclic 1.0 second
sleep), the LH Parameter should equal 0xB ("1.1" seconds). With these parameters set, there is no risk
of the receiving modem being asleep for the duration of the wake-up initializer transmission. The fol-
lowing section "Cyclic Scanning" explains in further detail the relationship between "Cyclic Sleep" and
"Wake-up Initializer Timer"
Cyclic Scanning. Each RF transmission consists of a wake-up initializer and payload data. The
wake-up initializer contains initialization information and all receiving modems must Wake-up dur-
ing the wake-up initializer portion of data transmission in order to synchronize with the transmitter
and receive the data.
The cyclic interval time defined by the SM (Sleep Mode) command must be shorter than the interval
time defined by LH (Wake-up Initializer Timer) command.
Figure306. CorrectConfiguration(LH>SM):
ThelengthofthewakeupinitializerexceedsthetimeintervalofCyclicSleep.Thereceiveris
guaranteedtodetectthewakeupinitializerandreceivetheaccompanyingpayloaddata.
9XCitePKGR™RS232/485RFModemProductManualv2.1[2007.01.04]
©2007MaxStream,Inc. 17
3.2.5. Command Mode
AT Command Mode provides access to AT-Settable parameters. These parameters extend flexibil-
ity in configuring modems to fit specific design criteria such as networking modems. Not all of the
parameters in the XCite Module can be adjusted using AT Commands.
AT Command Mode
To Enter AT Command Mode:
Default AT Command Mode Sequence (for transition to Command Mode):
• No characters sent for one second [refer to the BT (Guard Time Before) Command]
• Input three plus characters (“+++”) within one second
[refer to the CC (Command Sequence Character) Command.]
• No characters sent for one second [refer to the AT (Guard Time After) Command.]
All of the parameter values in the sequence can be modified to reflect user preferences.
To Send AT Commands:
Figure307.SyntaxforsendingATCommands
To read a parameter value stored in the modem register, leave the parameter field blank.
The preceding example would change the modem’s Destination Address to "0x1F". To store the
new value to non-volatile (long term) memory, the Write (ATWR) command must subsequently be
sent before powering off the modem.
System Response. When a command is sent to the modem, the modem will parse and execute
the command. Upon successful execution of a command, the modem returns an “OK” message. If
execution of a command results in an error, the modem returns an “ERROR message.
To Exit AT Command Mode:
For an example of programming the RF modem using AT Commands and descriptions of each config-
urable parameter, refer to the "RF Modem Configuration" chapter.
1. Send the 3-character command sequence "+++" and observe guard times before and after
the command characters. [refer to ‘Default AT Command Mode Sequence’ below.] The ‘Ter-
minal’ tab (or other serial communications software) of the X-CTU Software can be used to
enter the sequence.
[OR]
2. Assert (low) the CONFIG
pin and turn the power going to the RF modem off and back on. To
achieve this result, simultaneously press the Reset and Config switches [Figure 1-02];
release the Reset Switch; then after 1 second, release the Config Switch. The RF Modem
then enters AT Command Mode at the modem's default baud rate
Send AT commands and parameters using the syntax shown below.
1. If no valid AT Commands are received within the time specified by CT (Command Mode
Timeout) Command, the modem automatically returns to Idle Mode.
[OR]
2. Send ATCN (Exit Command Mode) Command.
9XCitePKGR™RS232/485RFModemProductManualv2.1[2007.01.04]
©2007MaxStream,Inc. 18
4.RFModemConfiguration
The following versions of the XCite RF Modem are available:
• 900 MHz, 9600 Baud (RF data rate), Hopping Channel Mode
• 900 MHz, 9600 Baud, Single Channel mode
• 900 MHz, 38400 Baud, Hopping Channel mode
• 900 MHz, 38400 Baud, Single Channel mode
XCite Modems can operate in both Single Channel and Hopping modes. Mode is selectable using
the "Function Set" dropdown list of the "XCite Configuration" tab of the MaxStream-provided X-
CTU Software.
The XCite Module is shipped with a unique parameter set in its memory. Parameters within the set
are organized under the following categories: AT Commands & Non-AT Settable Parameters.
4.1. Command and Parameter Types
4.1.1. AT Commands
AT Commands can be changed at any time by entering AT Command Mode and sending commands
to the modem.
AT Commands can be modified using the any of the following means:
• X-CTU Software "Modem Configuration" tab
• X-CTU Software "Terminal" tab
• Terminal software program (such as "HyperTerminal")
• Microcontroller
4.1.2. Non-AT Settable Parameters (X-CTU Software configurable only)
Non-AT Settable Parameters can only be adjusted using the MaxStream-provided X-CTU Software.
To modify Non-AT Settable Parameter, connect the module to the serial com port of a PC (interface
board is necessary for RS-232 connection) and modify parameter values through the X-CTU Soft-
ware interface. These parameters enable features that need to be set before the module is used in
the field.
Non-AT Settable Parameters can only be modified using the following means:
• X-CTU Software "Modem Configuration" tab
9XCitePKGR™RS232/485RFModemProductManualv2.1[2007.01.04]
©2007MaxStream,Inc. 19
4.2. Configuration Software
X-CTU is a MaxStream-provided software program used to interface with and configure Max-
Stream RF Modems. The software application is organized into the following four tabs:
• PC Settings tab - Setup PC serial ports for interfacing with an RF modem
• Range Test tab - Test the RF modem's range and monitor packets sent and received
• Terminal tab - Set and read RF modem parameters using AT Commands
• Modem Configuration tab - Set and read RF modem parameters
FigureB1. XCTUUserInterface(PCSettings,RangeTest, TerminalandModemConfigurationtabs)
NOTE: PC Setting values are visible at the bottom of the Range Test, Terminal and Modem Configura-
tion tabs. A shortcut for editing PC Setting values is available by clicking on any of the values.
Installation
Double-click the "setup_X-CTU.exe" file and follow prompts of the installation screens. This file is
located in the 'software' folder of the MaxStream CD and also under the 'Downloads' section of the
following web page: www.maxstream.net/support/downloads.php
Setup
Serial Communications Software
A terminal program is built into the X-CTU Software. Other terminal programs such as "HyperTer-
minal" can also be used to configure modems and monitor communications. When issuing AT
Commands through a terminal program interface, use the following syntax:
FigureB2. SyntaxforsendingATCommands
NOTE: To read a parameter value stored in a register, leave the parameter field blank.
The example above issues the DT (Destination Address) command to change destination address
of the modem to "0x1F". To save the new value to the modem’s non-volatile memory, issue WR
(Write) command after modifying parameters.
To use the X-CTU software, a module assembly (An RF modem mounted to an interface Board)
must be connected to a serial port of a PC.
NOTE: Failure to enter AT Command Mode is most commonly due to baud rate mismatch. The
interface data rate and parity settings of the serial port ("PC Settings" tab) must match those of
the module (BD (Baud Rate) and NB (Parity) parameters respectively).
9XCitePKGR™RS232/485RFModemProductManualv2.1[2007.01.04]
©2007MaxStream,Inc. 20
4.3. Command Reference Tables
XCite AT Commands [below] and Non-AT Settable Parameters [next page] are organized under the
following
command categories:
• AT Command Mode Options
•Diagnostic
•Networking
• Serial Interfacing
• Sleep Mode (Low Power)
Table401. ATCommands
(Settable/ReadableusingXCTUSoftware,serialcommunicationssoftwareormicrocontroller)
AT
Designator
Command Name & Description Parameter Range
Command
Category
# Bytes
Returned
Factory
Default
CD
DI3 Configuration. Redefines the RX LED I/O line
(RX LED signal).
0 – 2
0 = RX LED
1 = high
2 = low
Serial
Interfacing
10
CN
Exit AT Command Mode. Explicitly exit radio modem from AT
Command Mode and return it to Idle Mode.
--
AT Command
Mode Options
-- --
CS
DO2 Configuration. Select behavior of DI2 (Digital Output 2)
between CTS and RS-485 options.
0 – 4
0 = normal CTS
1 = RS-485 enable low
2 = high
3 = RS-485 enable high
4 = low
Serial
Interfacing
10
DB
Receive Signal Strength. Returns the signal strength (in
decibels) of the last received packet.
0x25 – 0x6A
[Read-only]
Diagnostic 1 --
DT
Destination Address. Set the address that identifies the
destination of the RF packet. Only radio modems having
matching addresses can communicate with each other.
0 – 0xFFFF Networking 2 0
FH
Force Wake-up Initializer. Force a Wake-up Initializer to be
sent on the next transmission. WR (Write) Command does not
need to be issued with FH Command.
Use only with cyclic sleep modes (SM = 3-8) active on remote
modems.
--
Sleep
(Low Power)
-- --
HP
Channel *. Select “Hopping” or “Single Frequency” channel on
which the radio modem is to communicate. Channels are not
noninterfering.
Hopping:
0 – 6
Single Frequency):
0 – 0x18
Networking 1 0
HV Hardware Version. Read the hardware version of the modem.
Range: 0 – 0xFFFF
[Read-only]
Diagnostic 2 --
MK
Address Mask. Set address mask to configure local and
global address space.
0 – 0xFFFF Networking 2
0xFFFF
(65535d)
RE
Restore Defaults. Restore AT-settable parameters to the
factory default configuration.
-- (Special) -- --
SH
Serial Number High. Read High 16 bits of unique serial
number of radio modem.
0 – 0xFFFF
[Read-only]
Diagnostic 2 --
SL
Serial Number Low. Read Low 16 bits of unique serial number
of radio modem.
0 – 0xFFFF
[Read-only]
Diagnostic 2 --
VR
Firmware Version. Read firmware version currently loaded on
radio modem.
0 – 0xFFFF
[Read-only]
Diagnostic 2 --
WR
Write. Write parameters to radio modem’s non-volatile
memory in order for changes to persist through next power-up
or reset.
-- (Special) -- --
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39

Digi 9XCite User manual

Category
Radio frequency (RF) modems
Type
User manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI