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. 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) M100103 2007.01.
9XCite‐PKG‐R™ RS‐232/485 RF Modem ‐ Product Manual v2.1 [2007.01.04] © 2007 MaxStream, Inc. All rights reserved No part of the contents of this manual may be transmitted or reproduced in any form or by any means without the written permission of MaxStream, Inc. XCite™ and XCite‐PKG‐R™ are trademarks of MaxStream, Inc. Technical Support: Phone: (801) 765‐9885 Live Chat: www.maxstream.net E‐mail: rf‐xperts@maxstream.net © 2007 MaxStream, Inc.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] Contents 1. 9XCite RS-232/485 RF Modem 4 1.1. Key Features 4 5.1.1. Vendor Identification Number (ATID) 32 1.2. Specifications 5 5.1.2. Channel (ATHP) 33 1.3. External Interface 6 7 5.1.3. Destination Address (ATDT) and Address Mask (ATMK) 33 Appendix A: Agency Certifications 2.1. RS-232 Operation 7 2.1.1. DIP Switch Settings and Pin Signals 7 35 FCC (United States) Certification 35 Labeling Requirements 35 2.1.2.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] 1. 9XCite RS‐232/485 RF Modem The XCite-PKG-R RS-232/485 RF Modem provides 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.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] 1.2. Specifications Table 1‐01.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] 1.3. External Interface 1-01a. Power Switch Move Power Switch to the ON (up) position to power the XCite RS232/485 RF Modem. Figure 1‐01. Front View 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‐01a.
9XCite™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] 2. Interfacing Protocol 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 Figure 2‐01. RS‐232 DIP Switch Settings Figure 2‐02. Pins used on the female RS‐232 (DB‐9) Serial Connector DIP Switch settings are read and applied only while powering‐on. Table 2‐01.
9XCite™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] 2.1.2. Wiring Diagrams Figure 2‐03. RS‐232 DTE Device (male DB‐9 connector) wired to a DCE RF modem (female DB‐9) Figure 2‐04. DCE RF modem (female DB‐9 connector) wired to an RS‐232 DCE Device (male DB‐9) Sample Wireless Connection: DTE <--> DCE DCE <--> DCE Figure 2‐05. Typical wireless link between DTE and DCE devices © 2007 MaxStream, Inc.
XCite™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] 2.2. RS-485 (2-wire) Operation 2.2.1. DIP Switch Settings and Pin Signals Figure 2‐06. RS‐485 (2‐wire) Half‐duplex DIP Switch Settings Figure 2‐07. Pins used on the female RS‐232 (DB‐9) Serial Connector Figure 2‐08. RS‐485 (2‐wire) w/ Termination (optional) Termination is the 120 Ω resistor between T+ and T‐. DIP Switch settings are read and applied only while powering‐on.
9XCite™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] 2.3. RS-485 (4-wire) & RS-422 Operation 2.3.1. DIP Switch Settings and Pin Signals Figure 2‐10. RS‐485 (2‐wire) Half‐duplex DIP Switch Settings Figure 2‐11. Pins used on the female RS‐232 (DB‐9) Serial Connector Figure 2‐12. RS‐485 (2‐wire) w/ Termination (optional) Termination is the 120 Ω resistor between T+ and T‐. DIP Switch settings are read and applied only while powering‐on. Table 2‐03.
9XCite™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] Figure 2‐14. XCite RF Modem in an RS‐422 environment 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.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] 3. RF Modem Operation 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.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] 3.2. Modes of Operation XCite RF Modems operate in five modes. Figure 3‐03. Modes of Operation 3.2.1. Idle Mode When not receiving or transmitting data, the RF modem is in Idle Mode.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] 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.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] 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): 1.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] 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.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] 3.2.5. Command Mode AT Command Mode provides access to AT-Settable parameters. These parameters extend flexibility 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: 1. Send the 3-character command sequence "+++" and observe guard times before and after the command characters.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] 4. RF Modem Configuration 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.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] 4.2. Configuration Software X-CTU is a MaxStream-provided software program used to interface with and configure MaxStream RF Modems.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] 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) Table 4‐01.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] Table 4‐02. Non‐AT Settable Parameters (Settable/Readable using the X‐CTU Software “Modem Configuration” tab only) AT Designator Command Name & Description Parameter Range Command Category # Bytes Factory Returned Default AT Guard Time After. Set required DI pin silent time after the Command Sequence Characters of the AT Command Mode Sequence (BT+ CC + AT).
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] 4.4. Automatic DIP Switch Configurations Each time the RF Modem is powered-on, intelligence on the MaxStream Interface Board (located inside the RF Modem) sends AT Commands that program the modem based on positions of the DIP Switch. Automatic configurations that take place during the power-on sequence affect RF Modem parameter values as shown below.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] 4.5. Command Descriptions Commands and parameters are listed alphabetically. Parameter types and categories are designated between "< >" symbols. For example: . "AT Command" is the command/parameter type and "Networking" is the command/parameter category.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] BT (Guard Time Before) Parameter BT Parameter is used to set the DI pin silent time that precedes the command sequence character (CC Parameter). By default, 1 half of a second (500 milliseconds) must elapse before entering another character.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] CS (DO2 Configuration) Command CS Command is used to modify the behavior of the CTS signal such that it either provides RS-232 flow control, enables RS-485 transmission / reception or determines RS-422 transmit enable. By default, CTS provides RS-232 flow control. CS Parameter must be adjusted for the modem to operate in RS-485/ 422 environments.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] FH (Force Wake-up Initializer) Command FH Command is used to 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 active on remote modems. AT Command: FH FL (Software Flow Control) Parameter FL Parameter is used to adjust serial flow control.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] HT (Time before Wake-up Initializer) Parameter If any modems within range are running in a "Cyclic Sleep Setting", a wake-up initializer must be sent by the transmitter for the other radio modems to synchronize to the transmitter [see LH ("Wake-up Initializer Timer") Command].
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] LH (Wake-up Initializer Timer) Parameter LH Parameter adjusts the duration of time in which the wake-up initializer is sent. When receiving modems are put into the Cyclic Sleep Mode, they power-down after a period of inactivity (specified by ST (Time before Sleep) Parameter) and will periodically awaken and listen for transmitted data.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] MK (Address Mask) Command MK Command is used to set the radio modem address mask. All RF packets contain the Destination Address of the transmitting radio modem. When an RF packet is received, the transmitter's Destination Address is logically "ANDed" (bitwise) with the Address Mask of the receiver.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] RT (DI2 Configuration) Parameter RT Parameter enables RTS Mode. Parameter Ranges: 0 - 1 Parameter Configuration 0 disabled 1 Enables RTS Handshaking Default Parameter Value: 0 Number of bytes returned: 1 SB (Stop Bits) Parameter SB Parameter allows the user set the number of stop bits used in data transmission.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] SM (Sleep Mode) Parameter SM Parameter is used to adjust Sleep Mode settings. By default, Sleep Mode is disabled and the radio modem remains continually active. SM Parameter allows the radio modem to run in a lower-power state and be configured in one of eight settings. Parameter Ranges: 0 - 8 Parameter Configuration 0 No Sleep 1 Pin Sleep 2 Serial Port Sleep 3 Cyclic 0.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] 5. Advanced Networking 5.1. Addressing The XCite Radio Modems utilize three layers of addressing to communicate between radio modems. The network layers are depicted below. Only radio modems with the matching addresses are able to communicate. The main layers of XCite Networking and Addressing are: • Vendor Identification Number (ATID) • Channel (ATHP) • Destination Address (ATDT) Figure 5‐01.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] 5.1.2. Channel (ATHP) Channels provide a network layer from which channels can be used for isolation. HP (Channel) Parameter is used to define channel values. Hopping Channel Mode: HP Parameter value range is 0 through 6 Single Frequency Channel Mode: HP range is 0 through 0x18 (decimal range: 0 - 24) In "Hopping Channel Mode", each channel utilizes a different pseudo-random hopping sequence to navigate through shared hopping channels.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] Table 5‐01. Bit‐wise AND Truth Bit-wise AND Operation ("&") Operand 1 & Operand 2 = Result 0 0 0 0 1 0 1 0 0 1 1 1 For example:Hexadecimal: 0x03 & 0x09 = 0x01 The Address Mask can be used as an additional method of facilitating communications between modems. The Address Mask can be set to one of 65535 possible values using MK (Address Mask) Command. The default value of the MK Parameter is 0xFFFF.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] Appendix A: Agency Certifications FCC (United States) Certification The XCite RS-232/485 RF Modem complies with Part 15 of the FCC rules and regulations. Compliance with the labeling requirements, FCC notices and antenna usage guidelines is required. In order to operate under MaxStream’s FCC Certification, OEMs/integrators must comply with the following regulations: 1.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] Limited Modular Approval Power output is conducted at the antenna terminal and can be adjusted from 1 mill-watt to 1 Watt at the OEM level. This is an RF modem approved for Limited Modular use operating as a mobile transmitting device with respect to section 2.1091 and is limited to OEM installation for Mobile and Fixed applications only. During final installation, end-users are prohibited from access to any programming parameters.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] Antenna Options (1-watt transmit power output or lower) Table A-01. Antennas approved for use with the 9XCite (900 MHz) OEM RF Module Part Number Type Gain Application * Yagi 6.2dBi Fixed/Mobile ** * Yagi 7.2dBi Fixed/Mobile ** A09-Y8 Yagi 8.2dBi Fixed/Mobile ** Yagi 9.2dBi Fixed/Mobile ** Yagi 10.2dBi Fixed/Mobile ** Yagi 11.2dBi Fixed/Mobile ** Yagi 12.2dBi Fixed/Mobile ** Yagi 13.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] Appendix B: Additional Information 1-Year Warranty XCite RF Modems from MaxStream, Inc. (the "Product") are warranted against defects in materials and workmanship under normal use, for a period of 1-year from the date of purchase. In the event of a product failure due to materials or workmanship, MaxStream will repair or replace the defective product.
9XCite‐PKG‐R™ RS‐232/485 RF Modem – Product Manual v2.1 [2007.01.04] Contact MaxStream Free and unlimited technical support is included with every MaxStream Radio Modem sold. For the best in wireless data solutions and support, please use the following resources: Documentation: www.maxstream.net/support/downloads.php Technical Support: Phone. (866) 765-9885 toll-free U.S.A. & Canada (801) 765-9885 Worldwide Live Chat. www.maxstream.net E-Mail. rf-xperts@maxstream.