background image

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.

  

 

 

 

 

 

 

 

 

            

RS

485

 

(4

wire)

 

&

 

RS

422

 

with

 

Termination

 

(optional)

 

 

 

 

 

Termination

 

is

 

the

 

120

 Ω 

resistor

 

between

 

T+

 

and

 

T

.

 

 

DIP

 

Switch

 

settings

 

are

 

read

 

and

 

applied

 

only

 

while

 

powering

on.

 

 

Table

 

2.3.

 

RS

485/422

 

(4

wire)

 

Signals

 

and

 

their

 

implementations

 

with

 

the

 

RS

232/485

  

RF

 

Modem

 

DB-9 Pin 

RS-485/422 

Name 

Description 

Implementation 

2 T- 

(TA) 

Transmit Negative  

Data Line 

Serial data sent from the RS-232/485  RF Modem 

3 R- 

(RA) 

Receive Negative  

Data Line 

Serial data received by the RS-232/485  RF Modem 

5 GND Signal 

Ground 

Ground 

7 R+ 

(RB) 

Receive Positive  

Data Line 

Serial data received by the RS-232/485  RF Modem 

8 T+ 

(TB) 

Transmit Positive  

Data Line 

Serial data sent from the RS-232/485  RF Modem 

9 PWR  Power 

Optional power input that is connected internally 

to the front power connector 

1, 4, 6 

not used 

 

Wiring Diagram: RS-485 (4-wire) Half-Duplex 

Figure

 

2.13.

   

RS

232/485

  

RF

 

Modem

 

in

 

an

 

RS

485

 

(4

wire)

 

environment

 

Summary of Contents for HE200WCM910

Page 1: ...User Manual for HE200WCM910 Wireless Communication RS 232 485 RF Modem 27 June 2005 MAN0782 02 ...

Page 2: ......

Page 3: ...herwise without the prior agreement and written permission of Horner APG Inc Copyrights of part of this manual belong to MaxStream Inc All software described in this document or media is also copyrighted material subject to the terms and conditions of the Horner Software License Agreement Information in this document is subject to change without notice and does not represent a commitment on the pa...

Page 4: ...IS ORIGINALLY INSTALLED THIS WARRANTY SHALL APPLY ONLY WITHIN THE BOUNDARIES OF THE CONTINENTAL UNITED STATES In no event whether as a result of breach of contract warranty tort including negligence or otherwise shall HE APG or its suppliers be liable of any special consequential incidental or penal damages including but not limited to loss of profit or revenues loss of use of the products or any ...

Page 5: ... I O Settings 16 Flow Control 17 Modes of Operation 18 Idle Mode 18 Transmit Mode 18 Receive Mode 20 Sleep Mode 21 Shutdown Mode 21 Command Mode 22 RF Communication Options 24 Addressing Options 24 Streaming Mode 25 Acknowledged Mode 26 Multi Transmit Mode 28 4 Advanced Programming 29 Automatic DIP Switch Configurations 29 Programming the RS 232 485 RF Modem 30 AT Command Examples RadioSet Softwar...

Page 6: ...Page vi RS 232 485 RF Modem Product Manual MAN0782 02 ...

Page 7: ...for FCC Requirements Systems that contain RS 232 485 RF Modems can inherit FCC Certification IC Approved Canada ISM Industrial Scientific Medical license free 902 928 MHz frequency band Manufactured under ISO 9001 2000 registered standards Easy to Use No configuration required Advanced configurations available through AT binary Commands External DIP Switch configurations 7 to 28 V power supply Con...

Page 8: ...ic sleep SM 4 39 mA 25 mA Pin Sleep Power Down 17 mA 17 mA Serial Port Sleep Power Down 45 mA 45 mA General Frequency 902 928 MHz ISM Band Spread Spectrum FHSS Frequency Hopping Spread Spectrum Modulation FSK Frequency Shift Keying Supported Network Topologies Peer to Peer Point to Point Point to Multipoint Multidrop Channel Capacity 10 hop sequences share 50 frequencies Physical Properties Size 2...

Page 9: ...P Switch Figure 1 2 Back View Refer to Automatic DIP Switch Configurations p29 for more info 1 2b Antenna Port Port is a 50Ω RF signal connector for connecting to an external antenna The connector type is RPSMA Reverse Polarity SMA female The connector has threads on the outside of a barrel and a male center conductor Figure 1 3 DIP Switch Settings The Configuration Switch provides an alternate me...

Page 10: ... 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 GPI2 SLEEP Data Terminal Ready Can enable POWER DOWN on the RF Modem 5 GND Ground Signal Ground 6 DSR GPO2 RX LED Data Set Ready Connected to DCD pin1 7 CMD GPI1 CMD Request to Send Provides flow control or enables Co...

Page 11: ...evice wired to an RS 232 485 RF Modem female connector Wiring Diagram DCE RF Modem to an RS 232 DCE Device Figure 2 4 RS 232 485 RF Modem female connector wired to an RS 232 DTE male connector device Sample Wireless Connection DTE Ù DCE DCE Ù DCE Figure 2 5 Typical wireless connection used for serial communications between DTE and DCE devices ...

Page 12: ...r RJ 45 connector pin designations used in RS 485 422 environments Table 2 2 RS 485 2 wire half duplex Signals and their implementations on the RS 232 485 RF Modem DB 9 Pin RS 485 Name Description Implementation 2 T R TRA Negative Data Line Transmit serial data to and from the RS 232 485 RF Modem 5 GND Ground Signal Ground 8 T R TRB Positive Data Line Transmit serial data to and from the RS 232 48...

Page 13: ...implementations with the RS 232 485 RF Modem DB 9 Pin RS 485 422 Name Description Implementation 2 T TA Transmit Negative Data Line Serial data sent from the RS 232 485 RF Modem 3 R RA Receive Negative Data Line Serial data received by the RS 232 485 RF Modem 5 GND Signal Ground Ground 7 R RB Receive Positive Data Line Serial data received by the RS 232 485 RF Modem 8 T TB Transmit Positive Data L...

Page 14: ...nications Suggestions for integrating the RS 232 485 Modem with the RS 485 422 protocol 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 fol...

Page 15: ...een a host and the RS 232 485 RF Modem are dependent upon having matching baud rate parity stop bit number of data bits settings Refer to the table below to ensure host serial port settings match those of the RS 232 485 RF Modem Table 3 1 Parameter values critical to serial communications between the RF Modem and host Parameter Setting RS 232 485 RF Modem Default Parameter Value Baud Serial Data R...

Page 16: ...rial data that arrives on the DI pin is placed in the DI Buffer The data in the DI buffer will be transmitted over the air when the modem no longer detects RF data in the network Hardware Flow Control When the DI buffer is 17 bytes away from being full by default the modem de asserts high to signal to the host device to stop sending data refer to FT Flow Control Threshold p38 and CS GPO1 Configura...

Page 17: ...in the DI buffer the modem attempts to shift to Transmit Mode and initiate an RF connection with other modems After transmission is finished the modem returns to Idle Mode RF transmission begins after either of the following criteria is met 1 RB bytes have been received by the host and are pending for RF transmission RB Packetization Threshold Command 2 At least one character has been received by ...

Page 18: ...the RF Communication Options p24 section for information and state diagrams that illustrate channel initialization and the sequence of events that follow RF Packet Figure 3 5 RF Packet Components When streaming multiple RF packets the RF Initializer is only sent in front of the first packet RF Initializer An RF initializer is sent each time a new connection sequence begins The RF initializer conta...

Page 19: ... RF 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 Figure 3 7 Receive Mode Data Flow Refer to the Addressing Options section under the RF Communication Optio...

Page 20: ...o Sleep Mode Transition out of Sleep Mode Related Commands Power Consumption Pin Sleep SM 1 Host can shut down and wake modems Assert GPI2 SLEEP pin De Assert GPI2 SLEEP pin SM Typically 17 mA Serial Port Sleep SM 2 Automatic transition into Sleep Mode after user defined period of inactivity no transmitting or receiving Period of inactivity set using ST Command When serial byte is received on the ...

Page 21: ...dem Default AT Command Mode Sequence No characters sent for one second see BT Guard Time Before Command Input three plus characters within one second see CC Command Sequence Character Command No characters sent for one second see AT Guard Time After Command To Send AT Commands to the RF Modem Figure 3 8 Syntax for sending RS 232 485 AT Commands NOTE To read a current parameter value stored in a re...

Page 22: ...in the order it is received If the radio is continuously receiving data the radio will wait for a break in the received data before executing the command The signal will frame the response coming from the binary command request see graphic below The CMD pin must be asserted in order to send binary commands to an RS 232 485 Modem The CMD pin can be asserted to recognize commands anytime during tran...

Page 23: ...ecific modem or group of modems using the DT Destination Address and MK Address Mask commands A receiving modem will only accept a packet if it determines the packet is addressed to it either as a global or local packet The receiving modem makes this determination by inspecting the destination address of the packet and comparing it to its own address and address mask Figure 3 10 Figure 3 10 Addres...

Page 24: ...n event If the TT parameter is reached the transmitting modem will force a random delay of 1 to RN delay slots exactly 1 delay slot if RN 0 Subsequent packets are sent without an RF initializer since receiving modems stay synchronized with the transmitting modem for the duration of the transmission event from preceding packet information However due to interference some receiving modems may lose d...

Page 25: ...delay between the first ACK slot and the first retransmission Subsequent retransmissions incur a delay of a random number of delay slots between 0 and RN If RN is set to 0 on the transmitting modem there are never any back off delays between retransmissions Note that during back off delays the transmitting modem will go into Idle Mode and may receive RF data This can have the effect of increasing ...

Page 26: ...quent packets in acknowledged mode are similar to those in streaming mode with the addition of an acknowledgement between each packet and the possibility of retransmissions Subsequent packets are sent without an RF initializer as the receiving modems are already synchronized to the transmitting modem from the preceding packet s and they remain synchronized for the duration of the transmission even...

Page 27: ...packet includes up to the maximum packet size PK bytes and the transmitting modem checks for more pending data near the end of each packet Follow on packets are not sent until all retransmissions of the previous packet are finished The streaming limit TT is specified at the transmitting modem as the maximum number of bytes that the transmitting modem can send in one transmission event which may co...

Page 28: ... 2 Restore Defaults Serial Interfacing If SW1 is OFF down RS 485 or RS 422 Operation ATCS 3 RS 485 or RS 422 Operation If SW5 SW6 are OFF down Multipoint Base ATMY 0 Source Address ATDT 0xFFFF Destination Address ATMT 3 Multi Transmit option If SW5 is OFF down SW6 is ON up Multipoint Remote ATAM Auto set MY MY unique ATDT 0 Destination Address ATMT 0 Multi Transmit option ATRR 0x0A Retries If SW5 ...

Page 29: ...erial port must match those of the RF modem The PC Settings tab provides a software user interface that facilitates the modification of PC serial port setting PC Setup 1 Set the DIP Switch to RS 232 mode Switch 1 is ON up and the remaining 5 switches are OFF down 2 Connect the male DB 9 connector of the PC with the female DB 9 connector of the RF modem using an RS 232 cable 3 Power the RF modem th...

Page 30: ...uration tab The following steps show how to read currently stored modem parameter values then restore the modem parameters to their factory default states 1 Open the RadioSet program 2 Under the PC Settings tab select the PC Serial Com Port from the dropdown list that will be used to connect to the RF Modem 3 Select a Baud rate to match the default RF data rate of the RF Modem Use default values f...

Page 31: ...3C 60d AES Encryption Key 0 Any other 64 digit hex valid key Networking Security 2 0 LH 0x0C 12d Wake up Initializer Timer 0 0xFF x 100 msec Sleep Low Power 2 1 MK 0x12 18d Address Mask 0 0xFFFF Networking Security 2 0xFFFF 65535d MT 0x3D 61d Multi Transmit 0 0xFF Networking Security 1 0 MY 0x2A 42d Source Address 0 0xFFFF Networking Security 2 0xFFFF 65535d NB 0x23 35d Parity 0 4 Serial Interfaci...

Page 32: ...er The value is displayed as a result of this command AT Guard Time After Command Command Mode Options AT Command is used to set read the time of silence that follows the command sequence character CC Command By default 1 second must elapse before and after the command sequence character The default sequence used to enter AT Command Mode is as follows No characters sent for 1 second BT Guard Time ...

Page 33: ...T Command is used to set read the time of silence that precedes the command sequence character CC Command of the AT Command Mode Sequence The default sequence used to enter AT Command Mode is as follows No characters sent for 1 second BT Guard Time Before Command Send three plus characters CC Command Sequence Character Command No characters sent for 1 second AT Guard Time After Command All values ...

Page 34: ...he following commands are always entered and read in hex no matter the CF setting VR Firmware Version HV Hardware Version KY AES Encryption Key CN Exit Command Mode Command Command Mode Options CN Command is used to explicitly exit AT Command Mode AT Command ATCC Binary Command 0x13 19 decimal Parameter Range 0x20 0x7F Default Parameter Value 0x2B ASCII sign Number of bytes returned 1 Related Comm...

Page 35: ...es three network layers Vendor Identification Number ATID Channels ATHP and Destination Addresses ATDT DT Command assigns an address to a modem that enables it to communicate only with other modems having the same addresses All modems that share the same Destination Address can communicate freely with each other Modems in the same network with a different Destination Address than that of the trans...

Page 36: ...d with the RS 232 485 Modem as the GP01 pin which regulates when serial data can be transferred to the modem FL Command can be used to allow software flow control to also be enabled XON character used is 0x11 17 decimal XOFF character used is 0x13 19 decimal FS Forced Synch Time Command RF Interfacing FS Command only applies to streaming data Normally only the first packet of a continuous stream h...

Page 37: ...horter than inactivity timeout ST Command time of any RX modems operating in Cyclic Sleep SM 4 8 The wake up initializer sent by the TX modem instructs all RX modems to remain awake to receive RF data From the RX modem perspective After HT time elapses and the inactivity timeout ST Command is met the RX modem goes into cyclic sleep In cyclic sleep the RX modem wakes once per sleep interval SM Comm...

Page 38: ...ey power down after a period of inactivity specified by ST Time before Sleep Command and will periodically awaken and listen for transmitted data In order for the receiving modems to remain awake they must detect 35ms of the wake up initializer LH Command must be used whenever a receiver is operating in Cyclic Sleep Mode This lengthens the Wake up Initializer to a specific amount of time in tenths...

Page 39: ...of delay slots are inserted between 0 and RN before transmission is allowed from the receiving modem s This prevents all listening modems from transmitting at once upon conclusion of a multiple transmission event as long as RN is non zero Comment Actual number of forced transmissions is the parameter value plus one For example if MT 1 two transmissions of each packet will be sent MY Source Address...

Page 40: ...f RB RB is automatically lowered to be equal to PK When BR 0 the maximum PK value is 0x100 256d When BR 1 the maximum PK value is 0x800 2048d PL Power Level Command RF Interfacing PL Command is used to set read the power level at which the modem transmits AT Command ATNB Binary Command 0x23 35 decimal Parameter Range 0 4 Parameter Value Configuration 0 8 bit no parity or 7 bit any parity 1 8 bit e...

Page 41: ... If data remains in the DI Buffer after the first packet transmissions will continue in streaming manner until there is no data left in the DI Buffer UART receive buffer RC Ambient Power Single Channel Command Diagnostics RC Command is used to examine and report the power level on a given channel Sample output 78 dBm when CF 0 4e when CF 1 78 when CF 2 RE Restore Defaults Command Diagnostics RE Co...

Page 42: ... modem to transmit the packet successfully while the other modem waits until the channel available for RF transmission RN Command is only applicable if retries have been enabled RR Retries Command or if forced delays will be inserted into a transmission TT Streaming Limit Command RO Packetization Timeout Command Serial Interfacing RO Command is used to set read the Packetization Timeout setting RF...

Page 43: ...eceived RF packet After the set time when no RF packets are received PWM output is set low 0 percent PWM until another RF packet is received PWM output is also set low at power up A parameter value of 0xFF permanently enables PWM output and always reflects the value of the last received RF packet Pin 11 of the encased OEM RF module is shared between PWM output and Config input When the modem is po...

Page 44: ...e serial number low word of the modem AT Command ATRT Binary Command 0x16 22 decimal Parameter Range 0 2 Parameter Value Configuration 0 disabled 1 Enable Binary Programming 2 Enable Flow Control Default Parameter Value 0 Number of bytes returned 1 AT Command ATSB Binary Command 0x37 55 decimal Parameter Range 0 1 Parameter Value Configuration 0 1 stop bit 1 2 stop bits Default Parameter Value 0 N...

Page 45: ...ow power state and awakens periodically to determine if any transmissions are being sent Cyclic sleep settings wake the modem after the amount of time designated by the associated SM parameter values If the modem detects a wake up initializer during the time it is awake the modem synchronizes with the transmitting modem and starts receiving data after the wake up initializer runs its duration Othe...

Page 46: ...e cyclic interval time defined by SM Sleep Mode Command must be shorter than the interval time defined by LH Wake up Initializer Timer 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 wake up initializer transmission Cyclic Scanning explains in further detail ...

Page 47: ...delay is issued If a modem is sending a continuous stream of RF data a delay is inserted which stops its transmission and allows other modems time to transmit once it sends TT bytes of data Inserted random delay lasts between 1 RN 1 delay slots where each delay slot lasts 38 ms TT command can be used to simulate full duplex behavior TX Transmit Only Command RF Interfacing TX Command is used to set...

Page 48: ...s is caused if the temperature sensed by the module is less than 40 C The module does not artificially limit operation while this warning is active but module functionality is not guaranteed 4 Over temperature This is caused if the temperature sensed by the module is greater than 105 C The module does not allow transmission nor reception while this warning is active The warning is deactivated when...

Page 49: ... previously saved parameters the next time the modem is powered on WS Sticky Warning Numbers Command Diagnostics WS Command reports the warning numbers of all warnings which have been active since the last use of WS or WN command including any warnings which are currently active No further information is shown This command also resets all non zero warning counts except for warnings that are presen...

Page 50: ...harmful interference and 2 this device must accept any interference received including interference that may cause undesired operation Label Warning WARNING The Original Equipment Manufacturer OEM must ensure that FCC labeling requirements are met This includes a clearly visible label on the outside of the final product enclosure that displays the contents shown in the figure below Figure A 1 Requ...

Page 51: ...ment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instructions may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment does cause harmful interference to radio or television reception which can be determined by turning the equipm...

Page 52: ...y with Approved Antennas that have been tested with this modem Refer to Tables A 1 A 7 1 Watt Transmit Power Output or Lower Table A 1 Half wave antennas approved when operating at 1 Watt power output or lower Part Number Type Connector Gain Application A09 HSM 7 Straight half wave RPSMA 3 0 dBi Fixed Mobile A09 HASM 675 Articulated half wave RPSMA 2 1 dBi Fixed Mobile A09 HABMM P6I Articulated ha...

Page 53: ...1 dBi 0 1 dB Fixed A09 F7TM Fiberglass Base Station RPTNC 7 1 dBi 1 1 dB Fixed A09 F8TM Fiberglass Base Station RPTNC 8 1 dBi 2 1 dB Fixed A09 W7TM Wire Base Station RPTNC 7 1 dBi 1 1 dB Fixed Table A 4 Mag Mount antennas approved when operating at 1 Watt power output or lower Part Number Type Connector Gain Required Antenna Cable Loss Application A09 M0SM Mag Mount RPSMA 0 dBi Fixed A09 M2SM Mag ...

Page 54: ... Yagi RPN 8 1 dBi Fixed Mobile A09 Y9 4 Element Yagi RPN 9 1 dBi Fixed Mobile A09 Y10 5 Element Yagi RPN 10 1 dBi Fixed Mobile A09 Y11 6 Element Yagi RPN 11 1 dBi Fixed Mobile A09 Y12 7 Element Yagi RPN 12 1 dBi Fixed Mobile A09 Y13 9 Element Yagi RPN 13 1 dBi Fixed Mobile A09 Y14 10 Element Yagi RPN 14 1 dBi Fixed Mobile A09 Y14 12 Element Yagi RPN 14 1 dBi Fixed Mobile A09 Y15 13 Element Yagi RP...

Page 55: ...t 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 ...

Reviews: