HORNER HE200WCM910 User Manual

Wireless communication rs-232/485 rf modem

Advertisement

Quick Links

User Manual for
HE200WCM910
Wireless Communication
RS-232/485
RF Modem
27 June 2005
MAN0782-02
 

Advertisement

Table of Contents
loading

Summary of Contents for HORNER HE200WCM910

  • Page 1 User Manual for HE200WCM910 Wireless Communication RS-232/485 RF Modem 27 June 2005 MAN0782-02  ...
  • Page 3 This manual explains how to use the RS-232/485 RF Modem (HE200WCM910). Copyright (C) 2005 Horner APG, LLC., 640 North Sherman Drive Indianapolis, Indiana 46201. All rights reserved. No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language or computer language, in any form by any means, electronic, mechanical, magnetic, optical, chemical, manual or otherwise, without the prior agreement and written permission of Horner APG, Inc.
  • Page 4 Due to the many variables and requirements associated with any particular installation, Horner APG cannot assume responsibility or liability for actual use based on the examples and diagrams. It is the sole responsibility of the system designer utilizing the WCM910 module to appropriately design the end system, to appropriately integrate the WCM910 module and to make safety provisions for the end equipment as is usual and customary in industrial applications as defined in any codes or standards which apply.
  • Page 5: Table Of Contents

                Page v    Contents   1. Horner RS-232/485 RF Modem Features Worldwide Acceptance Specifications RS-232/485 Interface 2. Interfacing Protocols RS-232 Operation DIP Switch Settings & Pin Signals RS-485 (2-wire) Operation DIP Switch Settings & Pin Signals RS-485 (4-wire) &...
  • Page 6 Page vi               RS‐232/485 RF Modem Product Manual – MAN0782‐02   ...
  • Page 7: 1. Horner Rs-232/485 Rf Modem

          Page 7  1. Horner RS‐232/485 RF Modem  The RS-232/485 RF Modem (900 MHz) is our longest range drop-in wireless solution. Out-of-box, the modem is equipped to sustain long range wireless links between devices. Simply enter serial data into one modem and the data surfaces on the other side of the wireless link.
  • Page 8: Specifications

    Page 8                RS‐232/485 RF Modem Product Manual – MAN0782‐02  Specifications Table 1.1.  RS‐232/485 RF Modem Specifications (900 MHz)   Performance @ 9600 bps Throughput Data Rate @ 115200 bps Throughput Data Rate Transmit Power Output 1 mW - 1 W (software selectable) 1 mW - 1 W (software selectable) Indoor/Urban Range Up to 3000’...
  • Page 9: Dip Switch Settings & Pin Signals

    1 LED on = Moderate Signal (> 10 dB fade margin) * Note: The RS‐232‐485 RF Modem can  0 LED on = Weak Signal (< 10 dB fade margin) accept  voltages as low as 5 (±5%) V.  1.1e. Power Connector * Contact Horner technical support to  implement this option.  7-28 VDC Power Connector (Center positive, 5.5/2.1mm) 1.2a. DIP Switch During the power-on sequence, the DIP Switch automatically Figure 1.2. ...
  • Page 10: 2. Interfacing Protocols

    Page 10              RS‐232/485 RF Modem Product Manual – MAN0782‐02  2. Interfacing Protocols  The 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 RS-232 Operation DIP Switch Settings & Pin Signals Figure 2.1.       ...
  • Page 11 RS‐232/485 RF Modem Product Manual – MAN0782‐02              Page 11  Wiring Diagram: RS-232 DTE Device to a DCE RF Modem Figure 2.3.  RS‐232 DTE (male connector) device wired to an RS‐232/485  RF Modem (female connector)                                Wiring Diagram: DCE RF Modem to an RS-232 DCE Device Figure 2.4. ...
  • Page 12: Rs-485 (2-Wire) Operation

    Page 12              RS‐232/485 RF Modem Product Manual – MAN0782‐02  RS-485 (2-wire) Operation DIP Switch Settings & Pin Signals Figure 2.6.            Figure 2.7.                     RS‐485 (2‐wire) Half‐Duplex        Pins used on the female RS‐232 (DB‐9)              DIP Switch Settings        Serial Connector  Figure 2.8.     ...
  • Page 13: Rs-485 (4-Wire) & Rs-422 Operation

    RS‐232/485 RF Modem Product Manual – MAN0782‐02              Page 13  RS-485 (4-wire) & RS-422 Operation DIP Switch Settings & Pin Signals Figure 2.10.           Figure 2.11.                     RS‐485 (4‐wire) and RS‐422        Pins used on the female RS‐232 (DB‐9)              DIP Switch Settings        Serial Connector    Figure 2.12.  ...
  • Page 14: Rs-485/422 Connection Guidelines

    Page 14              RS‐232/485 RF Modem Product Manual – MAN0782‐02  Wiring Diagram: RS-422 Figure 2.14.   RS‐232/485  RF Modem in an RS‐485 (4‐wire) 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).
  • Page 15: 3. Rf Operation

    Number of Stop Bits (NB parameter = 0) Both the RF Modem and host (PC) settings can be viewed and adjusted using Horner’s proprietary RadioSet Software. Use the “Terminal” or “Modem Configuration” tabs to configure the RF Modem settings. Use the “PC Settings” tab to configure host settings. Refer to the Advanced Programming and RadioSet Software sections for more information.
  • Page 16: Flow Control

    Page 16              RS‐232/485 RF Modem Product Manual – MAN0782‐02  Flow Control Figure 3.2.  Internal Data Flow Diagram      DI (Data In) Buffer and Flow Control When serial data enters the RS-232/485 Modem through the DI Pin, the data is stored in the DI Buffer until it can be transmitted. When the RB and RO parameter thresholds are satisfied (refer to Transmit Mode section [p18] for more information), the modem attempts to initialize an RF connection.
  • Page 17: Modes Of Operation

    RS‐232/485 RF Modem Product Manual – MAN0782‐02              Page 17  Modes of Operation RS-232/485 RF Modems operate in five modes. Figure 3.3.  Modes of Operation   The RF modem can only be in one mode at a time.   Idle Mode When not receiving or transmitting data, the modem is in Idle Mode. The modem uses the same amount of power in Idle Mode as it does in Receive Mode.
  • Page 18 Page 18              RS‐232/485 RF Modem Product Manual – MAN0782‐02  After either of the RB and RO conditions are met, the modem then initializes a communications channel. Serial data in the DI buffer is grouped into RF packets (up to 2048 bytes in each packet - refer to PK (Maximum RF Packet Size) Command), converted to RF data and then is transmitted over-the-air until the DI buffer is empty.
  • Page 19: Receive Mode

    RS‐232/485 RF Modem Product Manual – MAN0782‐02              Page 19  CRC (Cyclic Redundancy Check) To verify data integrity and provide built-in error checking, a 16-bit CRC (Cyclic Redundancy Check) is computed for the transmitted data and attached to the end of each RF packet before transmission.
  • Page 20: Sleep Mode

    Shutdown Mode Hardware Sleep Shutdown Mode offers the lowest power mode available to Horner modem users (< 1 µA). This mode is not supported by the stand-alone RS-232/485 RF Modem, but is available through the OEM RF Module that is mounted inside the stand-alone RS-232/485 RF Modem.
  • Page 21: Command Mode

    RS‐232/485 RF Modem Product Manual – MAN0782‐02              Page 21  Command Mode To set or read modem parameters; the modem must first enter Command Mode (a state in which incoming characters are interpreted as commands). Two command types are available: • AT Commands •...
  • Page 22 Page 22              RS‐232/485 RF Modem Product Manual – MAN0782‐02  Binary Commands Sending and receiving register values using binary commands is the fastest way to change the operating parameters of the RS-232/485 RF Modem. Binary commands are used most often to sample signal strength (RS register) and/or error counts; or change modem addresses and channels for polling systems.
  • Page 23: Rf Communication Options

    RS‐232/485 RF Modem Product Manual – MAN0782‐02              Page 23  RF Communication Options The RS-232/485 RF Modem can be configured to operate in any of three RF communication modes: • Streaming • Acknowledged • Multi-Transmit The mode is defined by parameters stored in the transmitting modem [see table below]. Receiving modems automatically adapt to the correct mode on a per-packet basis, based on the contents of each received packet.
  • Page 24: Streaming Mode

    Page 24              RS‐232/485 RF Modem Product Manual – MAN0782‐02  Streaming Mode Attributes: Highest data throughput Lowest latency and jitter Reduced immunity to interference Streaming mode transmissions never acknowledged by receiving modem(s) Required Parameter Values (TX Modem): RR (Retries) = 0 Related Commands: Networking (DT, MK, MY), Serial Interfacing (PK, RB, RO, TT) Recommended Use: Mode is most appropriate for data that is more sensitive to latency and/or jitter than it is to occasional packet loss.
  • Page 25: Acknowledged Mode

    RS‐232/485 RF Modem Product Manual – MAN0782‐02              Page 25  Acknowledged Mode Attributes: Reliable delivery through positive acknowledgements for each packet Throughput, latency and jitter vary depending on the quality of the channel and the strength of the signal. Required Parameter Values (TX Modem): RR (Retries) >= 1 Related Commands: Networking (DT, MK, RR), Serial Interfacing (PK, RN, RO, RB, TT) Recommended Use: Use for applications that require Reliable Delivery.
  • Page 26 Page 26              RS‐232/485 RF Modem Product Manual – MAN0782‐02  RB and RO parameters are not applied to subsequent packets, meaning that once transmission has begun, it will continue uninterrupted until the DI buffer is empty or the streaming limit (TT) has been reached. As with the first packet, the payload of each subsequent packet includes up to the maximum packet size (PK), and the transmitting modem checks for more pending data near the end of each packet.
  • Page 27: Multi-Transmit Mode

    RS‐232/485 RF Modem Product Manual – MAN0782‐02              Page 27  Multi-Transmit Mode Attributes: Reliable Delivery through forced transmission of every RF packet Every RF packet is sent exactly (MT + 1) times with no delays between packets Diminished throughput and increased latency Required Parameter Values (TX Modem): MT (Multi-Transmit) >= 1 Other Related Commands: Networking (DT, MK, MY, RN, TT), Serial Interfacing (BR, PK, RB, RO), RF Interfacing (FS)
  • Page 28: 4. Advanced Programming

    Page 28              RS‐232/485 RF Modem Product Manual – MAN0782‐02  4. Advanced Programming  Automatic DIP Switch Configurations Each time an RF Modem is powered on, intelligence inside the modem sends AT Commands that program the modem according to the positions of the DIP switch. DIP switch configurations are sent automatically during the power-on sequence and affect modem parameter values as shown in the table below.
  • Page 29: Programming The Rs-232/485 Rf Modem

    Command Mode section [p22]. AT Command Examples (RadioSet Software) Horner has provided RadioSet software for programming the modem using an extensive list of AT Commands. The RadioSet software provides an interface that is divided into four tabs that facilitate the following functions: •...
  • Page 30: Binary Command Example

    Page 30              RS‐232/485 RF Modem Product Manual – MAN0782‐02  EXAMPLE: Restore RF Modem Default Parameters using the Terminal tab: Example: Both of the following examples change the RS-232/485 Modem’s destination address to 0x1A0D (6669d) and save the new address to non-volatile memory. Method 1 (One line per command) Issue AT Command System Response...
  • Page 31: Command Descriptions (Short)

    RS‐232/485 RF Modem Product Manual – MAN0782‐02              Page 31  Command Descriptions (Short) Table 4.2.  RS‐232/485 Commands (“d” denotes decimal equivalent)   Binary Command # Bytes Factory AT Command Name Parameter Range Command Command Category Returned Default 0x3B (59d) Board Voltage 0x2CCCA – 0x5BFFA [read-only] Diagnostics 0x40 (64d) Auto-set MY 0 –...
  • Page 32: Command Descriptions (Long)

    Page 32              RS‐232/485 RF Modem Product Manual – MAN0782‐02  Command Descriptions (long) Commands in this section are listed alphabetically. Command categories are designated between the “< >” symbols that follow each command title. By default, 232-485 RF Modems expect numerical values in hexadecimal since the default value of the CF (Number Base) Parameter is ‘1’.
  • Page 33 RS‐232/485 RF Modem Product Manual – MAN0782‐02              Page 33  BD (Baud Rate) Command AT Command: ATBD <Serial Interfacing> BD Command is used to set/read the interface data rate (the rate at which Binary Command: 0x15 (21 decimal) serial data is sent to the modem from a host). Parameter Range: 0 –...
  • Page 34 Page 34              RS‐232/485 RF Modem Product Manual – MAN0782‐02  CC (Command Sequence Character) Command <Command Mode Options> CC Command is used AT Command: ATCC to set/read the ASCII character used between Binary Command: 0x13 (19 decimal) Guard Times of the AT Command Mode Sequence Parameter Range: 0x20 –...
  • Page 35 RS‐232/485 RF Modem Product Manual – MAN0782‐02              Page 35  CS (GP01 Configuration) Command AT Command: ATCS <Serial Interfacing> CS Command is used to select the behavior of the GP01 pin. This output Binary Command: 0x1F (31 decimal) can provide RS-232 flow control, control the TX Parameter Range: 0 –...
  • Page 36 Page 36              RS‐232/485 RF Modem Product Manual – MAN0782‐02  E1 (Echo On) Command <Command Mode Options> E1 Command turns AT Command: ATE1 on the character echo in AT Command Mode. Binary Command: 0x0B (11 decimal) Each typed character will be echoed back to the terminal when ATE1 is active.
  • Page 37 RS‐232/485 RF Modem Product Manual – MAN0782‐02              Page 37  FT (Flow Control Threshold) Command AT Command: ATFT <Serial Interfacing> Set/Read the flow control threshold. When FT bytes have accumulated in Binary Command: 0x24 (36 decimal) the DI buffer, is de-asserted or the XOFF Parameter Range: 0 –...
  • Page 38 Page 38              RS‐232/485 RF Modem Product Manual – MAN0782‐02  HV (Hardware Version) Command <Diagnostics> HV Command is used to read the AT Command: ATHV hardware version of the modem. Parameter Range (read-only): 0 – 0xFFFF Default Parameter Value: 0x14FF (5375d) Number of bytes returned: 2 ID (Modem VID) Command <Networking &...
  • Page 39 RS‐232/485 RF Modem Product Manual – MAN0782‐02              Page 39  MK (Address Mask) Command AT Command: ATMK <Networking & Security> MK Command is used to set/read the “Address Mask”. All data packets Binary Command: 0x12 (18 decimal) contain the Destination Address of the Parameter Range: 0 –...
  • Page 40 Page 40              RS‐232/485 RF Modem Product Manual – MAN0782‐02  NB (Parity) Command <Serial Interfacing> Select/Read parity settings AT Command: ATNB for UART communications. Binary Command: 0x23 (35 decimal) Parameter Range: 0 – 4 Parameter Configuration Value 8-bit (no parity or 7-bit (any parity) 8-bit even 8-bit odd 8-bit mark...
  • Page 41 RS‐232/485 RF Modem Product Manual – MAN0782‐02              Page 41  PW (Pin Wake-up) Command AT Command: ATPW <Sleep (Low Power)> Under normal operation, a modem in Cyclic Sleep Mode cycles from an Binary Command: 0x1D (29 decimal) active state to a low-power state at regular Parameter Range: 0 –...
  • Page 42 Page 42              RS‐232/485 RF Modem Product Manual – MAN0782‐02  RM (Ambient Power – All Channels) Command <Diagnostics> RM Command is used to examine AT Command: ATRM and report the power levels on all channels. If no Parameter Range (read-only): no parameter – parameter is given, then the channels will be 0x7D0 (2000d) scanned once.
  • Page 43 RS‐232/485 RF Modem Product Manual – MAN0782‐02              Page 43  RO Command (continued) When RO is the transmission-beginning criteria: The actual time between the reception of the last character from the UART and the beginning of RF transmission will be at least 800 µsec longer than the actual RO time to allow for transmission setup.
  • Page 44 Page 44              RS‐232/485 RF Modem Product Manual – MAN0782‐02  RT (GPI1 Configuration) Command RT Command is used to set/read the behavior of AT Command: ATRT the GPI1 pin. The pin can be configured to enable Binary Command: 0x16 (22 decimal) binary programming or flow control.
  • Page 45 RS‐232/485 RF Modem Product Manual – MAN0782‐02              Page 45  SM (Sleep Mode) Command AT Command: ATSM <Sleep Mode (Low Power)> SM Command is used to set/read the modem’s Sleep Mode settings that Binary Command: 0x01 configure the modem to run in states that require Parameter Range: 0 –...
  • Page 46 Page 46              RS‐232/485 RF Modem Product Manual – MAN0782‐02  SM Command (continued) 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.
  • Page 47 RS‐232/485 RF Modem Product Manual – MAN0782‐02              Page 47  ST (Time before Sleep) Command AT Command: ATST <Sleep Mode (Low Power)> ST Command is used to set/read the period of time (milliseconds) in Binary Command: 0x02 (2 decimal) which the modem remains inactive before Parameter Range: (ATAT+3) –...
  • Page 48 Page 48              RS‐232/485 RF Modem Product Manual – MAN0782‐02  VL (Firmware Version - verbose) Command <Diagnostics> VL Command is used to read the AT Command: ATVL verbose firmware version of the RS-232/485 Parameter Range: Returns string Modem. Number of bytes returned: 2 Sample output: Firmware version 0.8, Apr 16 2004 10:46:57 VR (Firmware Version) Command...
  • Page 49 RS‐232/485 RF Modem Product Manual – MAN0782‐02              Page 49  WR (Write) Command AT Command: ATWR <(Special)> WR Command writes configurable parameters to the modem’s non-volatile memory Binary Command: 0x08 (Parameter values remain in the modem’s memory until overwritten by future use of WR Command). If changes are made without writing them to non-volatile memory, the modem reverts back to previously saved parameters the next time the modem is powered-on.
  • Page 50: Appendix A: Agency Certifications

    The RS-232/485 RF Modem complies with Part 15 of the FCC rules and regulations. Compliance with labeling requirements, FCC notices and antenna regulations is required. Labeling Requirements In order to inherit Horner’s FCC Certification, compliance requires the following be stated on the device and within its operation manual: FCC ID: OUR-9XTEND This device complies with Part 15 of the FCC Rules.
  • Page 51: Fcc Notices

    (as per FCC section 2.1091). Changes or modifications not expressly approved by Horner could void the user’s authority to operate the equipment. IMPORTANT: OEMs must test their final product to comply with unintentional radiators (FCC section 15.107 and 15.109) before declaring compliance of their final product to Part 15 of the FCC Rules.
  • Page 52: Fcc-Approved Antennas (900 Mhz)

    FCC-Approved Antennas (900 MHz) Fixed Base Station and Mobile Applications Horner Modems are pre-FCC approved for use in fixed base station and mobile applications. When the antenna is mounted at least 20 cm (8”) from nearby persons, the application is considered a mobile application.
  • Page 53 RS‐232/485 RF Modem Product Manual – MAN0782‐02              Page 53  Table A.3.  Omni‐directional base station antennas (approved when operating at 1 Watt power output or lower.)    Part Number Type Connector Gain Required Antenna Cable Loss Application A09-F0 Fiberglass Base Station 0 dBi Fixed A09-F1 Fiberglass Base Station 1.0 dBi Fixed A09-F2 Fiberglass Base Station 2.1 dBi Fixed A09-F3 Fiberglass Base Station...
  • Page 54: Ic (Industry Canada) Certification

    Page 54              RS‐232/485 RF Modem Product Manual – MAN0782‐02  100 milliWatt Transmit Power Output or Lower Table A.6.  Monopole antennas (approved when operating at 100 mW power output or lower.)    Part Number Type Connector Gain Application A09-QW Quarter-wave wire Permanent 1.9 dBi Fixed / Mobile A09-QRAMM 3 “ Quarter-wave wire MMCX 2.1 dBi Fixed / Mobile A09-QSM-3 Quarter-wave straight...
  • Page 55: Appendix B: Additional Information

    RS‐232/485 RF Modem Product Manual – MAN0782‐02              Page 55  Appendix B:  Additional Information  Technical Support For user manual updates and assistance, contact Technical Support: North America: (317) 916-4274 www.heapg.com Europe: (+) 353-21-4321-266 www.horner-apg.com  ...
  • Page 56 Page 56              RS‐232/485 RF Modem Product Manual – MAN0782‐02  NOTES...

Table of Contents