WIRELESS DATA COMMUNICATION MODEM FRH -SD0 7 T U (U S V e rsion) FRH -SD0 7 T B (EU V e rsion) U lt ra Low Pow e r Consum pt ion Wire le ss M ode m w it h Se ria l I nt e rfa c e I nst ruc t ion M a nua l Fut a ba Corpora t ion I ndust ria l Ra dio Cont rol
Page i I N ot ic e This device complies with part 15 of the FCC rules and with ETS 300 440 of the European Telecommunication Standard Institute (ETSI). Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC Rules.
Page ii FRH-SD07TU/TB Manual I I I m port a nt Sa fe t y I nform a t ion The list of dangers, warnings and cautions in this section contain important information that will help ensure safe operation of the system. Please read carefully and understand all of these items. All installers, operators and maintenance personnel should read and understand this information before installation, use, or maintenance of the FRH-SD07TU/TB system. The FRH-SD07TU/TB system by itself is not inherently dangerous.
Page iii Four symbols are used in the margin of the following section and throughout the manual to indicate the level of hazard or information listed. The symbols are defined as follows: Indicates a hazard that will cause severe personal injury, death, or substantial property damage if the warning is ignored. Indicates a hazard that can cause severe personal injury, death, or substantial property damage if the warning is ignored.
Page iv FRH-SD07TU/TB Manual Be certain that the installer of this equipment reads and understands the instruction manual of the equipment that is being connecting to before attempting this installation. The FRH-SD07TU/TB modem should NOT be used in a manner in which failure of the product or loss of the radio signal could cause damage to the equipment being controlled, or to anything in the area in which such equipment is located.
Page v hazard may exist if this unit is powered by a faulty power outlet or source. If such a situation is discovered, immediately discontinue use until the power source and outlet have been properly installed, grounded, and fused by an electrician or other authorized person. Be sure to wire the power and serial connections correctly. Incorrect wiring can damage the system, cause it to malfunction and/or create a shock and fire hazard.
Page vi FRH-SD07TU/TB Manual When using two antennas with a single FRH-SD07TU/TB modem for diversity reception, mount the antennas as far apart as possible (6 cm minimum). If the antennas are too close, the diversity advantage will not be achieved. Before each use, verify that the antenna (and antenna cable, if used) is securely attached and in good condition. A loose antenna or cable may severely reduce the operating range of the system.
Page vii I I .I V Environm e nt a l Sa fe t y H a za rds a nd N ot e s If the FRH-SD07TB/TU modem has been stored at a temperature beyond the specified operating temperature range for the system, it may not function properly. Allow it to return to normal temperatures before use. Refer to APPENDIX A – TECHNICAL SPECIFICATIONS for the actual operating temperature range. The FRH-SD07TB/TU modem is a precision electronic device with a rugged design that is intended for industrial applications.
Page viii FRH-SD07TU/TB Manual Ope ra t iona l Sa fe t y H a za rds a nd N ot e s Before each use of the FRH-SD07TU/TB modem, ensure that the area where the equipment will be operated is clear of people or obstacles that may affect its safe operation. Before each use of the FRH-SD07TB/TU modem, verify that both the equipment being controlled and the modem are in proper operating condition.
Page ix I I I Syst e m I de nt ific a t ion For future reference, please take a moment to fill in the information below. This information will help us respond as quickly as possible should your FRH-SD07TU/TB modem ever need repair or replacement. Model Name and Number: FRH-SD07TU or FRH-SD07TB Serial Number: Date of Purchase: Distributor Name: Distributor Address: Distributor Phone Number: Futaba Corporation Rev. 050415-01.
Page x FRH-SD07TU/TB Manual I V Lim it e d Wa rra nt y FUTABA WARRANTS ONLY THAT THE INDUSTRIAL RADIO CONTROL SYSTEM GOODS OR PRODUCTS FURNISHED HEREWITH SHALL BE FREE FROM DEFECTS IN MATERIAL AND WORKMANSHIP UNDER NORMAL CONDITIONS OF USE AND SERVICE FOR A PERIOD OF ONE (1) YEAR FROM THE DATE OF SALE TO THE PURCHASER WHO IS THE FIRST BUYER OF THE GOODS FOR USE OR CONSUMPTION AND NOT FOR RESALE OTHER THAN AS A COMPONENT OF ANOTHER PRODUCT MANUFACTURED FOR SALE BY SUCH PURCHASER (“CONSUMER”).
Page xi THIS LIMITED WARRANTY DOES NOT COVER INDUSTRIAL RADIO CONTROL PRODUCTS PURCHASED OR USED OUTSIDE OF THE UNITED STATES WITHOUT FUTABA’S PRIOR APPROVAL. V Re t urns Futaba’s authorization must be obtained prior to return of any item for warranty or other repair or replacement or credit and will reflect Futaba’s warranty service procedure. Consumer’s warranty rights are governed by the terms of Futaba’s Limited Warranty, as above described.
Page xii FRH-SD07TU/TB Manual WHETHER ARISING FROM BREACH OF WARRANTY OR NEGLIGENCE OF FUTABA, OR OTHERWISE. Any action hereunder must be commenced within one (1) year of accrual of cause of action or be barred and forever waived.
Page xiii T ABLE OF CON T EN T S INTRODUCTION........................................................................................................1 1.1 1.2 1.3 1.4 1.5 2 SYSTEM INSTALLATION ...................................................................................7 2.1 2.2 2.3 2.4 2.5 3 COMMAND SET DESCRIPTION ................................................................................................... 80 ADVANCED APPLICATIONS .........................................................
Page xiv FRH-SD07TU/TB Manual Rev. 050415-01.
Page 1 SECT I ON 1 INTRODUCTION CONTENTS INTRODUCTION ....................................................................................................... 1 1.1 1.2 1.3 1.4 1.5 SPECIAL FEATURES ............................................................................................................................ 2 HOW TO OBTAIN HELP ....................................................................................................................... 3 STARTER KIT...............................
Page 2 FRH-SD07TU/TB Manual 1 .1 Spe c ia l Fe a t ure s The following list highlights some of the special features of the FRH-SD07TU/TB. For more complete system specifications please refer to p.165 SPECIFICATIONS. • Approved under FCC Part 15.
Page 3 1 .
Page 4 FRH-SD07TU/TB Manual 1 .3 St a rt e r K it The FRH-SD07TU/TB sales policy is a bulk shipment. However, we prepared the starter kit for an engineering evaluation and test. Below is the content of the starter kit. A content of the kit is subject to change without notice.
Page 5 1 .5 Physic a l De sc ript ion Please review the following section and take a moment to familiarize yourself with the FRHSD07TU/TB wireless modem. AUX Terminal Antenna Terminal A Serial Communication Connector Antenna Terminal B Mounting Hole Figure 1–1: Upper View (TU example) Bottom Mounting Hole Figure 1–2: Bottom View (1) Serial Communication Connector This is a connector to communicate to external terminal equipment (DTE; Data Terminal Equipment) and connect serial communication cable.
Page 6 FRH-SD07TU/TB Manual (5) Mounting Hole The holes are used to install the modem to mounting terminal or bracket. Since screw can be installed from the front surface, it is easy to install the modem. However, only two holes are available, it should be fixed by guide structure on the other side of the unit to prevent vibration problem. Bottom Mounting Hole (6) The four holes are used to install the modem. Please use this holes instead of above explained holes if tightened mounting is required.
Page 7 SECT I ON 2 2 SYSTEM INSTALLATION CONTENTS 2 SYSTEM INSTALLATION ...................................................................................7 2.1 WIRELESS MODEM INSTALLATION ............................................................................................... 8 2.1.1 Mounting Method 1........................................................................................................... 8 2.1.2 Mounting Method 2..............................................................
Page 8 FRH-SD07TU/TB Manual 2 .1 Wire le ss M ode m I nst a lla t ion 2 .1 .1 M ount ing M e t hod 1 A method to mount the modem directly on a surface using the mounting holes at the side of the modem’s print circuit board. When using this method, provide a guide on the opposite side, because two holes are not sufficient to securely mount the modem. Guide M2 Screw Spacer Figure 2–1: Mounting Method 1 2 .1 .
Page 9 WARNING WARNING WARNING Be careful not to allow water, oil, dust and other foreign particles (especially metal particles) to enter inside, which may damage the unit. Since the FRH-SD07TU/TB modem is a precision electronic device, install it at a place free of excessive shock and vibration to prevent the unit from damage. The FRH-SD07TU/TB is designed to be used inside the room.
Page 10 FRH-SD07TU/TB Manual accidental damage to the system and unexpected operation and/or injury. CAUTION WARNING In addition to this manual, read the operation manual of a PC (Personal Computer) and PLC (Programmable Logic Controller) to be connected. Be sure to wire the cable connections correctly. Incorrect wiring can damage the system, causing it to malfunction and/or create a shock and fire hazard. Also insert the cable firmly to the connector.
Page 11 2 .4 Ant e nna Con ne c t ion At least one antenna must be connected to Antenna Connector A on each FRH-SD07TU/TB modem in use. In the environment where multipath fading exists with reliable communication requirements, a second antenna can be installed to Antenna Connector B for the diversity reception function to improve reception performance. WARNING Be sure to keep all systems and antennas clear of power lines.
Page 12 FRH-SD07TU/TB Manual 2 .4 .2 Dive rsit y Ant e nna Se t up In certain situations, reception can be improved by using the integrated antenna diversity feature. This is accomplished by using two separate antennas and enabling the diversity function in REG19 (see p.59 MEMORY REGISTER DESCRIPTION). CAUTION When using two antennas with a single modem for diversity reception, mount the antennas as far apart as possible (at least 6 cm).
Page 13 WARNING The FRH-SD07TU/TB modem is a precision electronic device. Its rugged design is intended for industrial applications. However, do not install it where it will encounter excessive vibrations. In some cases, isolation mounts may be used to isolate the modem from the equipment vibration. Excessive vibration could permanently damage the modem and/or cause it to malfunction.
Page 14 FRH-SD07TU/TB Manual the diversity reception feature as a remedy for to multipath fading problems. For diversity reception, install the two antennas as far apart as possible in order to gain maximum benefit (Actual recommendation is 30 cm, 6 cm at least). CAUTION FUTABA standard antenna is made by Printed Circuit Board. It is not fabricated for severe use. Please use antenna without any unexpected force (bent or broken).
Page 15 2 .5 .4 I D Code Se t t ing Re c om m e nda t ion Futaba recommend user to set unique ID code to prevent unexpected interference (jamming) between individual FRH systems working in the same area. The protocol on RF channel employed in FRH series modem is Futaba’s original protocol. Therefore, there is no concern undesired connection to other radio systems, such as wireless LAN.
Page 17 SECTI ON 3 3 SYSTEM OPERATION CONTENTS 3 SYSTEM OPERATION ......................................................................................17 3.1 OPERATION MODES ................................................................................................................. 18 3.1.1 Mode 3 – Packet Transmission Mode ............................................................................ 18 3.1.2 Mode 4 – Repeater Mode.................................................................
Page 18 FRH-SD07TU/TB Manual 3 .1 Ope ra t ion M ode s FRH-SD07TU/TB modem can operate in one of four primary operation modes. Select the mode that best suits your specific application. The default setting is Mode 3. Mode 1 and 2 are the modes perform on the other FRH series modem. Mode 3 4 5 6 Protocol packet transmission direct transmission Function Modem Repeater Modem Table 3–1: FRH Operation Modes 3 .1 .
Page 19 3 .1 .4 M ode 6 – Dire c t T ra nsm ission M ode • Mode 6 is a mode to transmit input data not as the data-bit but as the signal level indicating high or low state. • Mode 6 features a short transmission delay of about 500 us due to no need to assemble data to the wireless packet. • Mode 6 is particularly suitable for, an upper layer application where fast response is required. • The operation method of Mode 6 is quite different from that of Mode 3 through Mode 5. For details, refer to p.
Page 20 3 .2 FRH-SD07TU/TB Manual Pa c k e t T ra nsm ission M ode Packet transmission mode operates as half-duplex communication and requires explicit commands to control the modem transmissions. Because this mode allows the addressing of different destination receiver modems by embedding the address in the data packets, it is best suited for 1:n and n:m topology applications. In packet transmission mode, the FRH-SD07TU/TB modem normally waits in a ready-toreceive state.
Page 21 3 .2 .2 Broa dc a st T ra nsm ission Prot oc ol Broadcast transmission (sending the same data to multiple modems simultaneously) is possible in packet transmission mode by setting 255 as the destination address (REG02). However, because ACK packet are not returned when executing the broadcast transmission, the sender modem does not receive confirmation of the “successful reception” of the transmitted data from any of the receiver modems.
Page 22 FRH-SD07TU/TB Manual 3 .2 .3 T ra nsm it Com m a nd a nd Re c e ive H e a de r Four transmit commands can be used in packet transmission mode (mode 3). Both text and binary data can be sent directly from modem-to-modem or sent through a third FRH (series) modem configured as a repeater. The receiver modem automatically determines the transmitted data format and communication path from the information in the received packet header.
Page 23 source address = address of modem sent the message (000 to 239) repeater address = address of the repeater modem (000 to 239) message length = number of bytes in message message = information data (255 bytes or less) CAUTION Since there are significant notes for issuing the transmit command, be sure to read p.158 OPERATION IMPORTANT NOTICE. CAUTION In the text data transmission, the message is considered to be terminated when the CR/LF code appears in it. No data after that will be transmitted.
Page 24 FRH-SD07TU/TB Manual 3 .2 .4 Ex t e nde d Re c e iving The extended receiving function (mode 3 and 5) can be used to prevent the degradation of transmission delay or failure caused by a collision of two transmission packet where two modems perform transmission at the same time in the contention topology application. The collision results retransmission of the same packet or packet transmission failure. Set with the memory register REG19: bit 3 to enable this function. 3 .2 .4 .
Page 25 3 .2 .4 .2 Ca ut ion for Ex t e nde d Re c e iving As understood from the figure above, the modem 1 outputs to the terminal equipment as follows. P1 CR/LF response of transmission command acceptance RXT002 . . . . CR/LF message output P0 CR/LF response of successive transmission Therefore, it is necessary to design an upper layer application protocol with a consideration that the message is output between the command responses “P1” and “P0”.
Page 26 FRH-SD07TU/TB Manual 3 .2 .5 Com m unic a t ion T im e in Pa c k e t T ra nsm ission M ode 3 .2 .5 .1 T ra nsm ission se que nc e The transmission sequence in the packet transmission mode (mode 3,4 and 5) and time required for each transmission are described as follows: 1. Issue the transmission command The input time of the transmission command is determined by the serial communication parameter between the terminal equipment and the modem. Relating parameters are as follows. a. b. c. d. e.
Page 27 to notify the sender the successful receiving. NAK packet is to notify the receive failure which the repeater returns to the sender modem when no respond from the destination station, in case the transmission is through the repeater. In both cases, it takes 7.084 ms. 6. Random wait When a carrier is detected in carrier sensing or data are retransmitted due to transmission failure, carrier sensing starts after the randomly set wait period for to prevent the collision of packets.
Page 28 FRH-SD07TU/TB Manual Case 2: Finish by one-time retransmission of the TXT command This example is a case of one-time retransmission. Since no ACK is received, the modem retransmits the data. In the retransmission routine, random wait for 10 ms to prevent the collision of packets and carrier sensing starts again. The subsequent communication is the same as the Case 1.
Page 29 Case 4: Successive finish of broadcasting the TXT command This example shows the case of broadcast transmission. In the broadcast transmission, data are retransmitted by the specified times. If the receiver modem has once received it, the retransmitted data will not be output to the terminal equipment.
Page 30 FRH-SD07TU/TB Manual 3 .2 .6 Pre c a ut ions in Pa c k e t T ra nsm ission M ode 3 .2 .6 .1 N o ACK Re sponse In packet transmission mode (mode 3), succession of communication is confirmed when the sender modem receives an acknowledgment (ACK packet) from the receiver modem.
Page 31 Receive throughput will drop since the frequency between the sender modem and receiver modem is not identical in some case (because multiple frequencies are used). When using the frequency group function, receiver modems are in the ready-to-receive state and is sequentially changing frequencies.
Page 32 3 .2 .6 .4 FRH-SD07TU/TB Manual Re t ra nsm it Count in Broa dc a st T ra nsm ission In the broadcast transmission, the modem does transmit packet up to the retransmission count (REG11 or RNO command setting). If the upper layer application protocol is designed, such that the receiver side terminal equipment immediately return the response to the sender, the reply is sent back during retransmission is in progress. In this case, the reply packet cannot be received during the retransmission.
Page 33 3 .3 Pow e r Dow n M ode The FRH-SD07TU/TB has three power-down modes. Select the mode according to the power supply operating conditions such as battery-powered application. (1) Active Mode This mode is not the power down mode but always capable of transmitting and receiving data. The modem is in the active mode when the power is turned on. The current consumption is 35 mA maximum in this mode. (2) ULTRA Mode ULTRA (Ultra Low Power Transient Radio Access) mode is the doze mode.
Page 34 FRH-SD07TU/TB Manual If the modem transits to the Shutdown mode from the ULTRA mode, it will return to the ULTRA mode again when the Shutdown mode is released. The current consumption is about 70uA in this mode. Rev. 050415-01.
Page 35 3 .4 Fre que nc y Grouping 3 .4 .1 Fre que nc y Ba nd The FRH-SD07TU/TB has 54 individual frequencies between 2420 MHz and 2473 MHz with 1 MHz / 2MHz separation in each frequency. One system can select/operate 24 frequencies in the 54 frequencies. See the table below for the exact frequency assignments. 3 .4 .2 Fre que nc y Alloc a t ion 24 Frequency are assigned each frequency band (01, 02 and three 2 MHz separation) with 1 MHz or 2 MHz separation.
Page 36 FRH-SD07TU/TB Manual 3 .4 .3 Fre que nc y Group Ope ra t ion The FRH-SD07TU/TB can operate on a fixed frequency or on any frequency in a set of frequency group. Multiple FRH (series) systems can be use different frequency groups and operate in the same area without mutual interference between the systems. When the RF environment is relatively clean, wireless channel links can be made on a fixed, clear frequency (no interference) by using Grouping Method H.
Page 37 3 .4 .
Page 38 FRH-SD07TU/TB Manual Group 0 1 2 3 4 5 Frequency Numbers 0, 6, 12, 18 1, 7, 13, 19 2, 8, 14, 20 3, 9, 15, 21 4, 10, 16, 22 5, 11, 17, 23 Table 3–12: Grouping Method E (6 groups; 4 frequencies each) Group 0 1 2 3 Frequency Numbers 0, 8, 16 1, 9, 17 2, 10, 18 3, 11, 19 Group 4 5 6 7 Frequency Numbers 4, 12, 20 5, 13, 21 6, 14, 22 7, 15, 23 Table 3–13: Grouping Method F (8 groups; 3 frequencies each) Group 0 1 2 3 4 5 Frequency Numbers 0, 12 1, 13 2, 14 3, 15 4, 16 5, 17 Group 6 7 8 9 10 11
Page 39 Group Frequency Numbers 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 Group 12 13 14 15 16 17 18 19 20 21 22 23 Frequency Numbers 12 13 14 15 16 17 18 19 20 21 22 23 Table 3–15: Grouping Method H (fixed frequency mode) The initial value of the memory register is Group 0 of the Grouping Method F. (3 frequencies of 8 group modes) To test the communication initially, use the Grouping Method H (fixed frequency mode) at first.
Page 41 SECT I ON 4 4 FUNCTION CONTROL METHODS CONTENTS 4 FUNCTION CONTROL METHODS ...................................................................41 4.1 FUNCTION CONTROL METHODS ................................................................................................ 42 4.1.1 Serial Interface Setting ................................................................................................... 42 4.1.2 Memory Register Setting ...........................................................
Page 42 FRH-SD07TU/TB Manual 4 .1 Func t ion Cont rol M e t hods 4 .1 .1 Se ria l I nt e rfa c e Se t t ing For connecting the FRH-SD07TU/TB modem with an external terminal equipment, RS232C is appropriate for 1 to 1 topology. And set the RS485 mode to make RS485 multi-dropping topology for multiple equipment connection. Interface configuration can be made with Pin 12 (/RS485ENB) of the serial communication connector. To configure the RS485 mode, pull down Pin 12 with 10k ohm register.
Page 43 4 .1 .2 T e rm ina l Soft w a re Se t up for M e m ory Re gist e r Cont rol Communication or terminal software is necessary to set the memory registers. Nearly any PC communication software can be used. Launch the communication software and set the terminal’s communication parameters as shown below. Refer to your specific communication software instructions how to set these parameters.
Page 44 FRH-SD07TU/TB Manual 5. Enter “@RST CR/LF” or cycle the modem power, to activate new values @ CR/LF = command header (specify following characters are command) = Terminator (carriage return + line feed) CAUTION When rewriting the modem’s memory registers, do not turn the modem’s power off until the modem returns “P0” response. If the power is interrupted before “P0” is returned, the memory contents may be lost or corrupted and the modem operation will be unpredictable.
Page 45 1. With the modem power is on and the communication software running, enter “@INI CR/LF ” at the terminal prompt. 2. The modem responds with “P0” response and immediately begins to operate using the initialized factory default state. CAUTION Futaba Corporation While initializing the memory registers, do not turn the modem’s power off. It take about 1 sec. to initialize the memory registers. Rev. 050415-01.
Page 46 FRH-SD07TU/TB Manual 4 .1 .4 Com m a nd Cont rol Some FRH-SD07TU/TB parameters can be changed by issuing commands from the terminal equipment. Various applications can be supported with the flexibility that command control offers. Command Entry • When a command is issued to the modem from the terminal equipment, a command header (one byte character) should be used the modem to acknowledge the command from ordinary data.
Page 47 4 .2 Com m unic a t ion M e t hods The FRH-SD07TU/TB can support wide range of network configurations, from simple networks that are simply connected in 1:1 topology to complex n:m networks topology that use an upper layer application protocol to control the modem with commands. This section shows several specific configuration examples to help illustrate the settings for each basic communication topology.
Page 48 FRH-SD07TU/TB Manual 4 .2 .1 .3 Com m unic a t ion (1 :1 – M ode 3 ) In packet transmission mode, data is transmitted by using the transmit commands (TXT, TBN, etc.). 1. Master Station transmits a message to Slave Station. command: @TXT001HELLO CR/LF 2. Master Station returns the response to the terminal equipment. response: P1 CR/LF 3.
Page 49 4 .2 .2 Com m unic a t ion Ex a m ple (1 :n – M ode 3 ) This section describes an example of 1:n communication in packet transmission mode (Mode 3). In multiple station topology, each station’s memory register setting must be unique local station address (REG00). In this mode, all transmissions are made using the transmit commands (TXT, TBN, etc.). The following example assumes that there are one master and three slave stations. 4 .2 .2 .
Page 50 4 .2 .2 .3 FRH-SD07TU/TB Manual Com m unic a t ion (1 :n – M ode 3 ) In packet transmission mode, data is transmitted by using the transmit commands (TXT, TBN, etc.). 1. Master Station transmits a message to Slave Station 1. command: @TXT001HELLO CR/LF 2. Slave Station 1 receives the message, verifies that the message is addressed to it, outputs the data to its terminal equipment, and returns an ACK packet to Master Station. output: RXT000HELLO CR/LF 3.
Page 51 4 .2 .3 Com m unic a t ion Ex a m ple (n:m – M ode 3 ) RS485 mode is suitable for assigning several master modems in a wide area using RS485 multi-drop communication topology. In this example; 3 master modems and 2 slave modem case is explained. The slave modem can keep on radio communication while moving, by automatically changing the communication to master modems (roaming function). 4 .2 .3 .
Page 52 FRH-SD07TU/TB Manual Master modem 2 E8H (Frequency No. 8, fixed) Master modem 3 EFH (Frequency No. 16, fixed) 5. Set REG19:bit 1 to 1 (to perform Regularly transmit radio beacon without transmission request). 6. Use the default value for other memory registers. (2) Slave (Mobile) Station Setup 1. Since the slave modem is in the RS232C mode, it is not necessary to pull down Pin 12 of the serial communication connector 2. Set the local station address (REG00) of the modem as follows.
Page 53 8. RXT240MAIL CR/LF terminal equipment. : Slave Station 2 outputs the received data to the As described above, the slave station can communicate in wide area without considering where it is. Master 1 Freq.No. 0 Master 2 Freq.No. 8 Master 3 Freq.No.16 Slave 2 Fig. 4–8: n:m Communication (Roaming) Futaba Corporation Rev. 050415-01.
Page 54 FRH-SD07TU/TB Manual 4 .2 .4 Re pe a t e r Ex a m ple (M ode 4 ) The FRH-SD07TU/TB can be used as a repeater to extend the wireless communication range or eliminate null zones caused by obstructions. The following example uses one repeater and two modems. Repeater Modem 1 Obstacle Modem 2 Figure 3–10: Repeater 4 .2 .4 .
Page 55 4 .2 .4 .2 T e rm ina l Soft w a re Se t up (M ode 4 ) Set the terminal software as follows: (refer your software instructions for setup details) bit rate: 9600 bps data length: 8 bits stop bits: 1 bit parity bit: none flow control: none local echo: yes carriage return + line feed terminator: This setting corresponds to the factory default state of the modem. When REG20 and REG21 are changed, change the terminal software setup accordingly.
Page 56 4 .2 .4 .5 FRH-SD07TU/TB Manual Com m unic a t ion (M ode 4 ) To communicate using the repeater , use the repeater transmit commands. The below describes the operation of each modem when a simple message is sent. 1. Message is sent from Modem 1 (001) to Modem 2 (002) through Repeater (000). command: @TXR000002HELLO CR/LF 2. Modem 1 transmits the message to the repeater. Repeater receives the message, verifies that the message is for its address, then retransmits the unaltered message to Modem 2.
Page 57 4 .2 .5 Ot he r Com m unic a t ion Configura t ions Many other communication topology can be configured with the FRH-SD07TU/TB modem. The following section briefly describes a few of them. 4 .2 .5 .1 n:n Com m unic a t ion The modem can execute the N:N communication where all modems are in the equality relation. Figure 3–12: n:n Communication Futaba Corporation Rev. 050415-01.
Page 58 4 .2 .5 .2 FRH-SD07TU/TB Manual Pa c k e t T ra nsm ission M ode 1 :n:m Conne c t ion One master modem can transmit data to multiple groups of slaves by using multiple repeaters. The master and slaves can also be communicated directly to each other, without passing the repeater . Master Repeater 1 Repeater 2 Slave 1 Slave 2 Slave 3 Slave 4 Figure 3–13: Packet Transmission Mode 1:n:m Rev. 050415-01.
Page 59 SECTI ON 5 5 MEMORY REGISTER DESCRIPTION CONTENTS 5 MEMORY REGISTER DESCRIPTION ..............................................................59 5.1 MEMORY REGISTER DESCRIPTION ............................................................................................ 60 REG00: LOCAL STATION ADDRESS [DEFAULT VALUE: 00H].............................................................. 61 REG01: LOCAL STATION GLOBAL ADDRESS [DEFAULT VALUE: F0H].................................................
Page 60 FRH-SD07TU/TB Manual 5 .1 M e m ory Re gist e r De sc ript ion The FRH-SD07TU/TB modem contains 28 memory registers which are used to control and store communication parameters and operation mode settings. After rewriting new register settings, the power must be cycled, a hardware reset asserted, or a software RST command is issued to validate the new settings. Functions of some memory registers vary depending on the operation mode. This chapter describes the communication modes 3 and 4.
Page 61 REG00: Local Station Address • • • • Sets the local station address. Valid values are 000 to 239. (240 addresses) This value is inserted in the “source address” field in the transmitted packet header. If the address check function is enabled (REG18) in the receiving modem, the modem can receive the packet which header contains destination address information identical to REG00. In the RS485 mode, this register is used as 485 mode local station address.
Page 62 • FRH-SD07TU/TB Manual Before transmission, radio data packets are scrambled using a pseudo-random data sequence generated with this ID code as the seed. During reception, the original data is restored by de-scrambling it with the pseudo-random data sequence. The modems with different ID codes cannot communicate with each other. REG05: ID Code 2 • • • [default value: 00H] Used with ID code 1 (REG04), set the ID code. Valid values are 000 to 239.
Page 63 Bits 4 – 0: Group Number Group No. 0 1 2 3 4 : : 19 20 21 22 23 Bit 4 0 0 0 0 0 : : 1 1 1 1 1 Bit 3 0 0 0 0 0 : : 0 0 0 0 0 Bit 2 0 0 0 0 1 : : 0 1 1 1 1 Bit 1 0 0 1 1 0 : : 1 0 0 1 1 Bit 0 0 1 0 1 0 : : 1 0 1 0 1 Table 5–3: Frequency Group Settings • The frequency group number is set. Valid group numbers for setting vary depending on the frequency grouping method.
Page 64 • When this character is input from the terminal equipment after no character is received for the command recognition interval (REG15) or longer, subsequent input character is recognized as a command for the modem. REG11: Retransmission Count • • • • • [default value: 00H] Sets the minimum time interval between characters (time from the stop bit of one character to the start bit of the next character) when output data from the modem to the terminal equipment.
Page 65 • • • Sets the necessary vacant duration time interval to discriminate between ordinary data character and a command header character. Input a command after a longer interval than time interval setting. Valid values are 0.1 to 25.4 sec., representing tenths of seconds in 0.1 second increments. (Set an integer value equal to ten times the number of seconds desired.) When set to 000, the command header is recognized at any time, and when set to 255, all command header character are ignored.
Page 66 FRH-SD07TU/TB Manual REG18: Communication Setting 1 [default value: 8CH] Bits 7 – 2: Reserved • The FRH-SD07TU/TB does not use this register. Keep the default value as it is.
Page 67 REG19: Communication Setting 2 [default value: 00H] Bit 7: Reserved • The FRH-SD07TU/TB does not use this register. Keep the default value as it is. Bit 6: Diversity Reception 0 1 Disable diversity reception (default value) Enable diversity reception Table 5–6: Diversity Reception Settings • • • Enable/disable diversity reception. To enable diversity reception, set this bit to 1 and connect an antenna to Antenna Terminal B.
Page 68 FRH-SD07TU/TB Manual Bit 3: Extended reception 0 1 Disable extended reception (default value) Enable extended reception Table 5–9: Extended reception • • Contention type communication in packet transmission mode (including the headerless packet transmission mode) may cause repetitive retransmission when two modems are in transmission state in identical timing. This results in the decrease of response rate or the transmission failure.
Page 69 REG20: RS-232C Setting 1 [default value: 05H] Bit 7: Data Length 0 1 8 bit data bytes (default value) 7 bit data bytes Table 5–13: Data Length Settings Bit 6: Parity Bit 0 1 No parity bit (default value) Parity bit Table 5–14: Parity Settings Bit 5: Even/Odd Parity 0 1 Even parity (default value) Odd parity Table 5–15: Odd/Even Parity Settings • Invalid when bit 6 is set to 0, without parity.
Page 70 FRH-SD07TU/TB Manual Bits 3 – 0: Baud rate setting Bit 3 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 Bit 2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 Bit 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 Bit 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Setting 300 bps 600 bps 1200 bps 2400 bps 4800 bps 9600 bps (default) 19200 bps 38400 bps 50000 bps 62500 bps 83333 bps 100000 bps 57600 bps 115200 bps Reserved Reserved Table 5–17: Baud Rate • Because of the limitation of internal processing speed in the processor, character output throughpu
Page 71 REG21: RS-232C Setting 2 [default value: 09H] Bits 7 – 2: Reserved • The FRH-SD07TU/TB does not use this register. Keep the default value as it is. Bit 1: Flow Control 0 1 No flow control (default value) Hardware flow control Table 5–18 Software/Hardware Flow Control Settings • • • Selects the flow control method. This setting must match the connected terminal equipment’s setting. Hardware flow control uses the two control lines RTS and CTS.
Page 72 FRH-SD07TU/TB Manual REG22: RS-232C Setting 3 [default value: 00H] Bit 7: Enable and Disable Reception 0 1 Enable reception at the initial state (default value) Disable reception at the initial state Table 5–19: Enable/Disable Reception • • • Select enable or disable reception at the initial state in the packet transmission mode. The initial state is in reception enable. Depending on an usage of the modem, the initial state of the modem may be better in the reception disable state.
Page 73 Bits 3 – 2: DTR/DSR Bit 3 0 0 1 Bit 2 0 1 0 1 1 Setting Ignore DTR input; DSR output always ON (default value) Reserved Remote modem DTR is transferred on local modem CTS (CTS = OFF at reset state) Remote DTR is transferred on local modem CTS (CTS = ON at reset state) Table 5–21: DTR/DSR Control Settings • • When connecting to the telephone line modem, set the FRH-SD07TU/TB modem to allow to transmit the DTR input of the remote modem to the DSR output of the local modem.
Page 74 FRH-SD07TU/TB Manual REG23: Miscellaneous Settings [default value: 00H] Bit 7 – 5: reserved • The FRH-SD07TU/TB does not use this register. Keep the default value as it is. Bit 4 : CR/LF addition/deletion • Especially used for the headerless packet transmission mode only. Refer to p.124 MEMORY REGISTER SETTING, IN HEADERLESS PACKET TRANSMISSION MODE. Bit 3: reserved • The FRH-SD07TU/TB does not use this register. Keep the default value as it is.
Page 75 Bit 1: RS485 collision avoidance 0 1 Invalid collision avoidance function (default value) Use collision avoidance function Table 5–24: Collision Avoidance Function • • • • Sets to decide whether to use the collision avoidance function or not, together with bit 2. When modem tried to output a response or the received data, the modem outputs only if RS485 line is available at the timeout of RS485 Packets Interval (REG07).
Page 76 FRH-SD07TU/TB Manual REG24: Special Mode Settings [default value: C0H] Bit 7 – 6: reserved • The FRH-SD07TU/TB does not use this register. Keep the default value as it is. Bit 5: Delay time of transmission and reception (Direct transmission mode) 0 1 Same delay time as the conventional series modem (default value) Sets short delay time Table 5–26: Setting of delay time of transmission and reception • Sets the delay time of the direct transmission mode using REG03 together.
Page 77 REG25: ULTRA Mode Settings [default value: 40H] Bit 7: ULTRA mode setting 0 1 Disable ULTRA mode (default value) Enable ULTRA mode Table 5–28: ULTRA mode setting Bit 6: ULTRA mode control frequency channel setting 0 1 No control channel is used Use control channel (default value) Table 5–29: Control frequency channel setting • Sets the frequency to be wait-to-receive in the ULTRA mode.
Page 78 FRH-SD07TU/TB Manual REG27: Frequency Band Settings [default value: 01H] Bit 7 – 6: reserved • The FRH-SD07TU/TB does not use this register. Keep the default value as it is. Bit 5 – 4: Output clock rate of AUX terminal Bit 5 0 0 1 1 Bit 4 0 1 0 1 Setting No clock output (default value) 100KHz 1.14MHz 8MHz Table 5–30: Setting of output clock rate of AUX terminal • • Sets the operation clock rate of the output signal of the AUX terminal for the status monitor use.
Page 79 SECT I ON 6 6 COMMAND SET DESCRIPTION CONTENTS 6 COMMAND SET DESCRIPTION.......................................................................79 6.1 ARG BCL BIV BST DAS DBM FRQ INI ODA OEN PAS POF PON RBC RDA REG REN RID RLR RLU RNO ROF RON RPT RST RTY STS TBC TBN TBR TID TXR TXT VER COMMAND SET DESCRIPTION ................................................................................................... 80 REFERENCE ALL MEMORY REGISTERS .....................................................
Page 80 FRH-SD07TU/TB Manual 6 .1 Com m a nd Se t De sc ript ion This section provides a description of each command available in the FRH command set. The table below lists each command and it applicability in each operation mode.
Page 81 The symbols used in this section have the following meaning: > : Input character from the terminal equipment to the modem < : Output from the modem to the terminal equipment @ : Command header CR/LF : Terminator (carriage return + line feed) [ ] : Required input parameter/s Be sure to input. ( ) : Optional input parameter/s May be omitted {} : 485 mode local station address (REG00).
Page 82 FRH-SD07TU/TB Manual ARG Reference All Memory Registers Syntax ARG{Local Station Address} Local Station Address : local station address for 485 mode (000 to 239). Response All settings are indicated (REG00 to REG27) N0: command error (Except 485 mode) Function Recalls the contents of all 28 memory registers.
Page 83 BCL Clear Transmit and Receive Buffers Syntax BCL{Local Station Address} Local Station Address : local station address for 485 mode (000 to 254). Response P0 N0 : command accepted : command error (Except 485 mode) Function On headerless packet mode (mode 5), clears the contents of the transmit and receive buffers of the modem.
Page 84 FRH-SD07TU/TB Manual BIV Reference and Set Beacon Intervals Syntax BIV(Interval) {; Local Station Address} Interval : Specifies 000 to 065, in 10msec increment. Local Station Address : local station address for 485 mode (000 to 239). Response xxx P0 N0 : current set value (reference) : command accepted (setting) : command error (Except 485 mode) Function Set the interval of the radio beacon transmission/receiving function. Refer to p.51 COMMUNICATION EXAMPLE (N:M-MODE 3).
Page 85 BST Read Buffer Status Syntax BST{Local Station Address} Local Station Address : local station address for 485 mode (000 to 239). Response xxxxxxxx N0 : current status (x : 0 or 1) : command error (Except 485 mode) Function Reads buffers status of the modem. (Represented with an 8-bit binary number.
Page 86 FRH-SD07TU/TB Manual DAS Reference and Set Destination Address Syntax DAS(set destination address) set destination address Response xxx P0 N0 : the desired destination address (000 to 239) : current value (reference) : command accepted (setting) : command error Function References or sets the destination address of the modem connection established with in the headerless transmission mode (mode 5) The current DAS value can be referenced by entering the command with no parameter.
Page 87 DBM Read Signal Strength Syntax DBM{Local Station Address} Local Station Address : local station address for 485 mode (000 to 239). Response -xxxdBm N0 : signal strength : command error (Except 485 mode) Function Reads the received signal strength and outputs the value in dBm. Higher values represent stronger signal strength and better receiving conditions. Example >@DBM CR/LF <-78dBm CR/LF : read signal strength : signal strength is -78dBm.
Page 88 FRH-SD07TU/TB Manual FRQ Reference and Set Frequency Group Syntax FRQ(:frequency group){Local Station Address} : combination of frequency grouping method (A to H) and group number (00 to 23). See p.35 FREQUENCY GROUPING more details. Local Station Address : local station address for 485 mode (000 to 239 for reference, 000 to 254 for setting).
Page 89 INI Initialize All Memory Registers Syntax INI{Local Station Address} Local Station Address : local station address for 485 mode (000 to 254). Response P0 N0 : command accepted : command error (Except 485 mode) Function Sets the all contents of the memory registers to the factory default values. Example >@INI CR/LF
Page 90 FRH-SD07TU/TB Manual ODA Disable Received Data Output Syntax ODA{Local Station Address} Local Station Address : local station address for 485 mode (000 to 254). Response P0 N0 : command accepted : command error (Except 485 mode) Function Disables output of any data received via the wireless link to the terminal equipment. Data received, while output is disabled, is stored in the receive buffer.
Page 91 OEN Enable Received Data Output Syntax OEN{Local Station Address} Local Station Address : local station address for 485 mode (000 to 254). Response P0 N0 : command accepted : command error (Except 485 mode) Function Enables output of any data received via the wireless link to the terminal equipment. This command enables serial data output after it has been disabled with the ODA command.
Page 92 FRH-SD07TU/TB Manual PAS Reference and Set Repeater Address Syntax PAS (Repeater Address) Repeater Address : repeater address to pass through Response xxx P0 N0 : current address (reference) : command accepted (setting) : command error Function In the headerless packet transmission mode (mode 5), references and sets the repeater address to pass through When no repeater address is set, the current setting can be referenced. This command is used to temporarily change repeater address.
Page 93 POF Transmit Directly to Receiver Syntax POF Response P0 N0 : command accepted : command error Function In the headerless packet transmission mode (mode 5), transmits directly to receiver without passing through the repeater. This command is used for temporary change of the path. To change the default value, change bit 5 of REG18.
Page 94 FRH-SD07TU/TB Manual PON Transmit through Repeater Syntax PON Response P0 N0 : command accepted : command error Function In the headerless packet transmission mode (mode 5), transmits through repeater. This command is used for temporary change of path. To change the default value, change bit 5 of REG18.
Page 95 RBC Clear Receive Buffer Syntax RBC{Local Station Address} Local Station Address : local station address for 485 mode (000 to 254). Response P0 N0 : command accepted : command error (Except 485 mode) Function On headerless packet mode (mode 5), clears the contents of the receive buffer. Example >@RBC CR/LF
Page 96 FRH-SD07TU/TB Manual RDA Disable Wireless Reception Syntax RDA{Local Station Address} Local Station Address : local station address for 485 mode (000 to 254). Response P0 N0 : command accepted : command error (Except 485 mode) Function Disables wireless reception in the packet transmission mode. The status when the modem is powered ON or reset follows bit 7 of REG22.
Page 97 REG Reference and Set Memory Register Syntax REG[register number](: value) {;Local Station Address} register number value Local Station Address Response xxH P0 N0 N6 : register number to be set (00 to 23) : value to be set. Input 2 hexadecimal digits (0 through 9 and A through F) followed by the number radix designator H. : local station address for 485 mode (000 to 239 for reference, 000 to 254 for setting).
Page 98 FRH-SD07TU/TB Manual REN Reception Enable Syntax REN{Local Station Address} Local Station Address : local station address for 485 mode (000 to 254). Response P0 N0 : command accepted : command error (Except 485 mode) Function Enables wireless reception in the packet transmission mode. The status when the modem is powered ON or reset follows bit 7 of REG22. Use this command to enable wireless reception after reception is disabled with the RDA command.
Page 99 RID Display Received Serial ID Syntax RID{Local Station Address} Local Station Address : local station address for 485 mode (000 to 239). Response XXXXXXXXXXXX : : N0 displays the received serial ID code(12 digits) command error (Except 485 mode) Function Outputs the serial ID code in the received packet and displays it. The serial ID code consists of 12 digits; upper three digits are 0 and the lower 9 digits are the product serial number of the transmitted-end modem.
Page 100 FRH-SD07TU/TB Manual RLR Release ULTRA Mode Through Repeater Syntax RLR [repeater address] [destination address]{Local Station Address} repeater address destination address : address of repeater to pass through (000 to 239) : address of destination station (000 to 239, set to 255 for broadcast ULTRA mode release) Local Station Address : local station address for 485 mode (000 to 254). Response P1 P0 N0 N1 : command accepted.
Page 101 RLU Release ULTRA Mode (Direct) Syntax RLU [destination address]{Local Station Address} destination address Local Station Address Response P0 P1 N0 N1 : address of destination station (000 to 239, set to 255 for all station) to ULTRA mode release : local station address for 485 mode (000 to 254). : ULTRA mode successfully released : command received.
Page 102 FRH-SD07TU/TB Manual RNO Reference and Set Retransmission Count Syntax RNO (retransmission count) {; Local Station Address} retransmission count Local Station Address Response xxx P0 N0 : maximum number of retransmissions (000 to 255) : local station address for 485 mode (000 to 239 for reference, 000 to 254 for setting).
Page 103 ROF RF Circuit Block Power Down Syntax ROF{Local Station Address} Local Station Address : local station address for 485 mode (000 to 254). Response P0 N0 : command accepted : command error (Except 485 mode) Function Turn off the power of RF circuit block and stops RF operation. This function is used to save the current consumption when no transmit/receive are required. The current consumption in this mode is about 5 mA.
Page 104 FRH-SD07TU/TB Manual RON RF Circuit Block Power Up Syntax ROF{Local Station Address} Local Station Address : local station address for 485 mode (000 to 254). Response P0 N0 : command accepted : command error (Except 485 mode) Function Turn on the power of RF circuit block and activates RF operation. Use this command to activate RF circuit block after its power down state set by the ROF command. The status when the modem is powered ON or reset, the RF circuit block is in the operation state.
Page 105 RPT Retransmit Message Syntax RPT [destination address]{Local Station Address} destination address Local Station Address : address of destination station (000 to 239) set 240 to 254 for global addressed destination set 255 for broadcast transmission : local station address for 485 mode (000 to 254). Response P0 P1 P2 N0 N1 N2 N3 : data transmission succeeded : command accepted, data being transmitted.
Page 106 FRH-SD07TU/TB Manual RST Reset Syntax RST{Local Station Address} Local Station Address : local station address for 485 mode (000 to 254). Response P0 N0 : command accepted : command error (Except 485 mode) Function Resets the modem to restore the power on state. When any memory register is rewritten with REG command before issuing this command, the value rewritten becomes valid and active. Temporary settings like DAS and FRQ command become invalid and the memory register settings is loaded.
Page 107 RTY Retransmit Message Through Repeater Syntax RTY [repeater address] {Local Station Address} repeater address : address of repeater to pass through for message transmission (000 to 239) Local Station Address : local station address for 485 mode (000 to 254). Response P0 P1 P2 N0 N1 N2 N3 : : : : : : data transmission succeeded command accepted, data being transmitted.
Page 108 FRH-SD07TU/TB Manual STS Read Status Syntax STS{Local Station Address} Local Station Address : local station address for 485 mode (000 to 239). Response xxxxxxxx N0 : modem’s current status (x = 0 or 1) : command error (Except 485 mode) Function Reads the modem status register. (Represented with an 8-bit binary number.
Page 109 TBC Clear Transmit Buffer Syntax TBC{Local Station Address} Local Station Address : local station address for 485 mode (000 to 254). Response P0 N0 : command accepted : command error (Except 485 mode) Function In the headerless packet mode (mode 5), clear the contents of the transmit buffer. Example >TBC CR/LF
Page 110 FRH-SD07TU/TB Manual TBN Transmit Binary Data Syntax TBN[destination address][message byte length]{Local Station Address}[message] Destination address Message byte length Local Station Address Message byte : address of the broadcast transmission (000 to 239) set 240 to 254 for global addressed destination set 255 for broadcast transmission : message length (001 to 255) : local station address for 485 mode (000 to 254).
Page 111 TBR Transmit Binary Data through Repeater Syntax TBR [repeater address] [destination address] [message byte length]{Local Station Address}[message] Repeater address Destination address Message byte length Local Station Address Message byte : repeater address to pass through (000 to 239) : address of destination station (000 to 239) set 240 to 254 for global addressed destination set 255 for broadcast transmission : message byte length (001 to 255) : local station address for 485 mode (000 to 25
Page 112 TID FRH-SD07TU/TB Manual Display Local Station Serial ID Syntax TID{Local Station Address} Local Station Address : local station address for 485 mode (000 to 239). Response XXXXXXXXXXXX : displays the local serial ID code (12 digits) : command error (Except 485 mode) N0 Function Readout the local serial ID code of the modem and display it. This command corresponds to RID command.
Page 113 TXR Transmit Text Data through Repeater Syntax TXR [repeater address] [destination address]{Local Station Address}[message] repeater address destination address Local Station Address message : address of repeater to pass through (000 to 239) : address of destination station (000 to 239) set 240 to 254 for global addressed destination set 255 for broadcast transmission : local station address for 485 mode (000 to 254).
Page 114 FRH-SD07TU/TB Manual TXT Transmit Text Data Syntax TXT [destination address]{Local Station Address}[message] destination address Local Station Address message : address of destination station (000 to 239) set 240 to 254 for global addressed destination set 255 for broadcast transmission : local station address for 485 mode (000 to 254).
Page 115 VER Reference Version Information Syntax VER{Local Station Address} Local Station Address : local station address for 485 mode (000 to 239). Response Hardware system version Ver x.nn or N0 : command error (Except 485 mode) Function Reads the modem’s hardware system version. Example >@VER CR/LF
Page 116 FRH-SD07TU/TB Manual Rev. 050415-01.
Page 117 SECT I ON 7 7 ADVANCED APPLICATIONS CONTENTS 7 ADVANCED APPLICATIONS .........................................................................117 7.1 HEADERLESS PACKET TRANSMISSION MODE ........................................................................... 118 7.1.1 Operation in the headerless packet transmission mode .............................................. 118 7.1.2 Invoke transmission in headerless packet....................................................................
Page 118 FRH-SD07TU/TB Manual 7 .1 H e a de rle ss Pa c k e t T ra nsm ission M ode 7 .1 .1 Ope ra t ion in t he he a de rle ss pa c k e t t ra nsm ission m ode The headerless packet transmission mode (mode 5) is a specific transmission mode to set transmission data without the packet header, employing the protocol of the packet transmission mode. Parameters such as receiver or repeater addresses are set either by the memory register or by the command.
Page 119 5. When sender is in the packet transmission mode Sender: @TXT002HELLO CR/LF -> Receiver: HELLO When the receiver is in the packet transmission mode, be careful about the terminator. For details, refer to REG23 of p.59 MEMORY REGISTER DESCRIPTION. The difference between the text mode and the binary mode does not matter in the headerless transmission mode. 7 .1 .1 .
Page 120 7 .1 .1 .4 FRH-SD07TU/TB Manual Broa dc a st t ra nsm ission In the headerless packet transmission mode, the broadcast transmission to multiple modems can be performed by setting the destination address to 255. However, the sender side cannot confirm whether the transmitted data are successfully received by all receivers or not, because there is no ACK packet returned from the receiver modem.
Page 121 7 .1 .2 I n vok e t ra nsm ission in he a de rle ss pa c k e t In the headerless packet transmission mode, detection of the terminator is a recognition of the end of the packet, and transmission starts. Though the terminator is set to CR/LF as the default, any desired 1 byte or 2 byte characters can be set as the terminator. For details, refer to the p.124 MEMORY REGISTER SETTING, HEADERLESS TRANSMISSION MODE. The message data length transmittable at one time (one packet) is 255 bytes maximum.
Page 122 FRH-SD07TU/TB Manual sender’s retransmission, would replies during retransmission. This case packet returned from the receiver side cannot be received. In such a case, the retransmission count must be set to the appropriate value. 7 .1 .3 Ex a m ple of ope ra t ion The following is an example of 3 modems communicating each other through the repeater. 7 .1 .3 .1 T e rm ina l soft w a re se t up Procedure 1 Set all the terminal software as follows.
Page 123 Procedure 4. Set REG19:bit 0 to 1 (to use the modem as the repeater). The other memory registers shall remain at the default value. 7 .1 .3 .4 Com m unic a t ion 1. A message is transmitted from the modem 1 to the modem 2 through the repeater. >HELLO CR/LF 2. The modem 2 outputs the received message to the terminal equipment. >HELLO CR/LF 3. The modem 1 changes the destination address to 002 (modem 3) using the DAS command.
Page 124 FRH-SD07TU/TB Manual 7 .1 .4 M e m ory Re g ist e r Se t t ings The basic setup is the same as that of normal packet transmission mode (mode 3 and 4). In the headerless packet mode, the following settings should be added. REG02: Destination Address Default value: 00H Set the address of the modem to transmit data as the destination address. Setting to 000 to 239 is available (240 addresses). This value is padded to the transmission data packet to transmit to the destination address.
Page 125 Bit 5: Transmission path select 0 1 transmit directly to destination (default value) transmit indirectly via repeater Table 7–3: Transmission path selection • To transmit a packet data through the repeater, set the repeater address to REG13. Bit 4 Transmission format 0 1 transmit in the test form (default value) transmit in the binary form Table 7–4 Transmission format • • Selects the transmission format.
Page 126 FRH-SD07TU/TB Manual REG23: Interface Setting 4 [default value: 00H] The same function as the basic function, except bit 4. Bit 4 : CR/LF addition/deletion does not add CR/LF code to the received data (default value) adds CR/LF code to the received data 0 1 Table 7–6: Addition of CR/LF code (setting at the headerless packet transmission mode) • • In the headerless packet transmission mode, setting is made whether the CR/LF character is added to the received data or not.
Page 127 7 .2 Dire c t T ra n sm i ssion M ode 7 .2 .1 Ope ra t ion in t he dire c t t ra nsm ission m ode In the direct transmission mode, data are transmitted by sampling the TxD pin of the serial communication connector at the rate of 51.9 k sample/sec, featuring the less delay time of about 500 us. Difference from the packet transmission mode is, this mode has no functions to identify addresses or check error.
Page 128 FRH-SD07TU/TB Manual The direct transmission mode features less delay time between the input of the transmit data and the output of the receive data, i.e. about 500 us. Transmitting Side TxD Input Sampling Transmission Data Receiving Side Receive Data RxD Output Figure 7–1: Transmission on Direct Transmission Mode If the other end modem is the conventional type, such as FRHSD03TU, logic level is reverse that of FRH-SD07TU/TB.
Page 129 7 .2 .3 M e m ory Re gist e r Se t t ings In the direct transmission mode, set the following parameters. Keep other parameters as being the factory default values. REG03: Operation Mode Setting Default value: F0H Set the operation mode to the direct transmission mode (01H). REG06: Frequency Setting Default value: A0H Set the frequency in operation. It is the same function as the basic function. Fixed frequency mode is preferred to use in the direct transmission mode.
Page 130 • FRH-SD07TU/TB Manual Set this parameter to the same value for both modems being communicated. Different settings may cause undefined data output. Bit 4: : DCD output (direct communication mode) 0 1 DCD output is the same of the conventional type (default value) DCD output is the synchronous clock Table 7–9: :Setting of DCD output in the direct communication mode Bit 3 – 0: reserved • The direct transmission mode does not use this register. Keep the default value as it is. Rev. 050415-01.
Page 131 7 .2 .4 Func t ion of e a c h t e rm ina l pin Functions of the pin of the serial communication connector in the direct communication mode are as listed below. TxD (input) : RxD (output) : RTS (input) : Inputs the transmit data. Outputs the receive data. Controls the transmission and reception. Sets to ON (Lo level) to make the modem to transmit. Indicates the modem is ready-to-transmit. When RTS is ON (Lo level), the this pin goes ON (Lo level). Not used.
Page 132 FRH-SD07TU/TB Manual In the state where DCD (output) is OFF (Hi level, i.e. receiving no data), RxD is tied to OFF (High level). DCD (output) may become ON (Lo level) due to incoming noise. At this timing, undefined data may be output. 7 .2 .5 .2 T im ing c ha rt of c om m a nd a c c e pt DSR DTR Max 5ms Status Tx/Rx Max 5ms Command Tx/Rx Figure 7–3: Timing chart of command accept 1.
Page 133 7 .2 .5 .3 T im ing c ha rt of sync hronous c loc k RTS Typ 13.5ms (3.5ms) Max 20us CTS DCD (output) Transmit Clock Min 0us Min 500us Valid Data TxD Typ 500us Max 500us Receive Clock DCD (output) Min 500us Valid Data RxD Spurious Data Figure 7–4: timing chart of synchronizing clock 1. On the sender side, after RTS goes to ON (Lo level), the transmission synchronous clock outputs from DCD (output) at the same timing when CTS goes to ON (Lo level). 2.
Page 134 FRH-SD07TU/TB Manual TxD is sampled in 1.75 us before the rising edge of DCD (output). Detect the rising edge (or falling edge) of DCD (output) to change the TxD level. H level duration of the clock in the DCD output is 1.75 us. Timing of the receive synchronous clock and data DCD (output) RxD 19.25us Figure 7–6: Timing of the receive synchronous clock RxD level changes synchronize with the rising edge of the DCD output. H level duration of the clock in the DCD output is 875 ns. Rev.
Page 135 7 .3 U LT RA M ode 7 .3 .1 Wha t is U LT RA m ode The ULTRA (Ultra Low Power Transient Radio Access) mode is the doze mode. The modem operates in the intermittent receive state at the average current consumption of about 1/20 of the Active mode. The ULTRA mode is suitable for an application where the modem does not originate transmission but only responds when it receives a call from other station.
Page 136 FRH-SD07TU/TB Manual Transition to/from ULTRA mode The DTR pin of the communication connector is used to transit to the ULTRA mode and return to the Active mode. The logic level of the input pin of the FRH-SD07TU/TB is described below. If the RS232 transceiver IC chip is connected, be noted that its logic level inverts from the following description.
Page 137 7 .3 .2 .2 Wa k e up re que st pa c k e t The wakeup request packet is a special packet to make the designated modem return to the Active mode through the radio link. In the ULTRA mode, the modem cannot receive normal packets but only receive the, special, wakeup request packet. When receiving the wakeup request packet, the modem wakes up and returns to Active mode in the following sequence. With upper layer application software, the status of the modem can be monitored using DSR pin.
Page 138 FRH-SD07TU/TB Manual Since the wakeup request packet cannot be received when the modem is in the Shutdown mode, it is necessary to issue the RLU command several times. Even the modem is during the Shutdown mode, the DSR pin shows the state of the ULTRA mode. Rev. 050415-01.
Page 139 7 .3 .3 Wa k e up c om m a nd For these commands, refer to Chapter 6. 7 .3 .3 .1 Dire c t w a k e up : RLU c om m a nd Transmit Command Use the RLU command to wakeup the modem in the ULTRA mode. Command format: @RLU [Destination address]CR/LF [Destination address]designates the destination (which is in the ULTRA mode) address (the set value of REG00 of the receiving station in the ULTRA mode). Broadcasting wakeup request packet (address 255) is also available.
Page 140 FRH-SD07TU/TB Manual Wake-up Req. packet ACK Figure 7–9: Wakeup using RLU command 7 .3 .3 .2 Wa k e up t hrough re pe a t e r : RLR c om m a nd Transmit command Use the RLR command to wakeup the modem in the ULTRA mode, through the repeater. Command format : @RLR[repeater address] [destination address]CR/LF [repeater address] designates the repeater to transmit the wakeup request. [destination address] designate the station address (the set value of REG00) to be waken-up.
Page 141 Wakeup ACK and response As described above, no wakeup ACK is returned from the repeater when the RLR command is issued. To the RLR command, “N1” response is always output which follows “P1” response except Broadcasting wakeup. Note when the repeater is used The utilization is the same as that of the normal repeater function. But, the frequency setting of REG06, should be set the fixed frequency (Grouping Method H) mode when the repeater is used.
Page 142 FRH-SD07TU/TB Manual one. The following explanation is based on the default setting of the frequency grouping (REG06 = A0H). Control frequency Communication frequency : Frequency No. 0 : Frequency Nos. 8, 16 (usable frequency for communication becomes 2 from 3) In the operation using the fixed frequency (Grouping Method H), only one frequency can be used and the setting of the control frequency becomes invalid. 7 .3 .4 .
Page 143 SECTI ON 8 8 8 APPENDIX CONTENTS APPENDIX.......................................................................................................143 8.1 INTERFACE ............................................................................................................................ 144 8.1.1 Pin Assignment............................................................................................................. 144 8.1.2 Interface Electrical Specification ..............................
Page 144 FRH-SD07TU/TB Manual 8 .1 I nt e rfa c e 8 .1 .1 Pin Assignm e nt The figure below shows the pin location of the serial communication connector, following the DCE (Data Communication Equipment) specification.
Page 145 1. The serial communication connector’s pin of the modem is defined as the DCE specification, where transmission indicates input and reception indicates output. 2. Pin 12 is for tri-state control for RS485 driver (CMOS - RS485 level converter) which will be externally mounted. When the power is turned on or reset, this pin is configured as an input pin to read the operation mode in the interface.
Page 146 FRH-SD07TU/TB Manual (4) signal specification Mark: Space: ‘H’ level ‘L’ level 8 .1 .3 M ode m I nit ia liza t ion T im e The time required for the FRH-SD07TU/TB to be able to receive signals from the serial interface (internal initialization time) is described below. After the initialization time completes, feed the signals. (1) The internal initialization time after the power supply is about 220 ms.
Page 147 The modem does not get to system hung-up, however for an emergency, hardware reset should be controlled to make it possible like a watch dog timer. When no response is returned (modem hung-up) within the specified time due to an accidental error, a higher reliable system can be configured. 8 . 1 .
Page 148 FRH-SD07TU/TB Manual 8 .2 Conve rsion Ci rc ui t Examples of the level conversion circuit are shown as a reference, which is just for the confirmation of system operation. This example does not guarantee the operation under users’ actual operation environment. 8 .2 .1 RS-2 3 2 C Le ve l Conve rt e r Wire the control line when necessary. Tie down unused input pin(s) to GND and leave the 485ENB pin open. Figure B–1: RS-232C Level Conversion Circuit Rev. 050415-01.
Page 149 8 .2 .2 RS4 2 2 Le ve l Conve rt e r Wire the output terminator (100 ohm) of the RS422 line driver, the input terminator (100 ohm) of the receiver, the input pull-up (1k ohm) and the input pull-down (1k ohm), when necessary. Provide a surge absorber (e.g. Z2012 made by Ishizuka Denshi) when long RS422 line is used or there is much noisy environment, etc. Figure B–2: RS422 Level Conversion Circuit Futaba Corporation Rev.
Page 150 FRH-SD07TU/TB Manual 8 .2 .3 RS4 8 5 Le ve l Conve rt e r Wire the terminator of the RS485 bus (100 ohm), the input pull-up (1k ohm) and the input pull-down (1k ohm), when necessary. When long RS485 line is used or there is much noise, provide the surge absorber (e.g. Z2012 made by Ishizuka Denshi) according to the situation. Figure B–3: RS485 Level Conversion Circuit 8 .
Page 151 8 .4 Aux ilia ry I nt e rfa c e 8 .4 .1 Wha t is Aux ilia ry I nt e rfa c e A via-hole for a 5-pin connector for auxiliary functions is available, which you can use according to the user’s requirement. Pin 3 to 5 can be used to monitor the internal status using the 3-wire serial communication. Board-in connector which can be inserted into the via-hole is listed below. For electric specification, see p.145 INTERFACE ELECTRIC SPECIFICATION.
Page 152 FRH-SD07TU/TB Manual 8 .4 .3 Out put Form a t Signals are output in the following format. One frame consists of 12 bits. The first 4 bits indicates which data frame is output from the status monitor circuit (frame address), and the following 8 bits are the actual status signal. Frames are repeatedly output from Address 0 to 4. Both the frame address and status signal are the MSB first output.
Page 153 8 .4 .4 Out put T im ing Signals are output in the following timing, where Tc represents the clock rate set by REG27. DATA line will be latched at the rising edge of CLOCK line, and 1 frame will be captured by the rising edge of LOAD line. 1 f r ame DATA Not Valid A3 D0 Not Valid 2Tc CLOCK Tc LOAD Figure C–2: Output Timing Futaba Corporation Rev.
Page 154 FRH-SD07TU/TB Manual 8 .4 .5 Out put St a t us Da t a The status data having the following contents are output.
Page 155 Bit1,0 are as shown below. 00 Packet reaches the receiver station. 01 No ACK is returned from the receiver station. 10 The receiver station is in the receive prohibited status. 11 The receiver station’s receive buffer is full. “ONE” in the note indicates the one-shot signal of 20 usec. 8 .4 .6 Ex a m ple Circ uit Sc he m a t ic t o Re c e ive int e rna l St a t us The following schematic shows a circuit which can receive the status serial signal.
Page 156 FRH-SD07TU/TB Manual Figure C–3: Circuit Example Rev. 050415-01.
Page 157 8 .5 P re ve nt ing U nde sire d Ra dio Con ne c t ion Futaba recommend user to set unique ID code to prevent unexpected interference (jamming) between individual FRH systems working in the same area. 8 .5 .1 Wha t is I nt e rfe re Proble m The “Interference” described here is 8 .5 .2 Wha t is I D Code ID code is 16 bit word set by REG04 and REG05. The FRH series radio transmits data with code-scramble. Scramble data is made by the seed using this ID code.
Page 158 FRH-SD07TU/TB Manual 8 .6 OPERAT I ON I M PORT AN T N OT I CE Problems were found in the current version of FRH-SD07TU/TB (Version 1.00). Before using this product, refer to the preventive measures described below. 8 .6 .1 Proble m 1 (Spurious Pa c k e t T ra nsm ission) 8 .6 .1 .
Page 159 8 .6 .1 .2 Pre ve nt ive c ount e rm e a sure If terminal equipment (or upper layer software) detects the spurious packet (header information only), then discard this packet, and issue RST command or force /SHUT pin (11pin) of the serial communication connector to low. The operation results modem to reset. Once either side modem is being reset, this repetitive spurious packet stops and the modem returns to normal operation mode. 8 .6 .2 Proble m 2 (T ra nsm ission Com m a nd Error) 8 .6 .2 .
Page 160 8 .6 .2 .2 FRH-SD07TU/TB Manual Pre ve nt ive c ount e rm e a sure In the normal case, these problems will not arise because packets are assembled by the upper layer software in the micro processor of the user system. To secure the operation, take the preventive measure as described below. If the transmit command causes command error and “N0” response is returned, initialize the transmit command with the RST command.
Page 161 8 .7 Q & A Q: Can the modem be used in factories and other “radio unfriendly” environments? A: Because electric discharge tools, inverters, and similar machines do not generate much noise in the 2.4 GHz band, the modem can generally be used without problems in these environments. Problematic noise sources are microwave ovens and other wireless equipment that operate on the same frequencies as the modem. Install the modems as far away as possible from RF noise sources.
Page 162 FRH-SD07TU/TB Manual 3. Partial loss of characters on the terminal screen. Check the terminal equipment communication speed and make sure that it is set to the same setting as the modem. Q: Multiple slave modems are being used in packet transmission mode, but ACK packets are not being returned. Why? A: If the destination address checking function is disabled (REG18:bit 0), the ACK packet being returned from multiple slave modems are interfering with each other.
Page 163 8 .8 T rouble shoot ing Refer to the following table for troubleshooting other problems. Phenomenon Can’t establish wireless connection Can’t communicate with terminal Check Is the Antenna connector connected firmly? Is there any microwave oven or other SS radio around the modem? Is the distance between two modems too far? Is the frequency of all modems matched together? Is the communication cable connected firmly? Are the communication settings (i.e.
Page 165 8 .9 Spe c ific a t ion 8 .9 .1 Ra dio Cha ra c t e rist ic s Engineering standard RF power output Modulation Communication scheme Frequency band Frequency channel Channel management Data barer rate Oscillation Antenna diversity Service area RF connector In/out of connector FCC Part 15.247, ETS 300 440 approved (no user license required) 5mW/MHz max. Direct sequence spread spectrum Single communication 2420.0 to 2473.
Page 166 FRH-SD07TU/TB Manual 8 .9 .5 Environm e nt a l Operating temperature Storage temperature Operating humidity Storage humidity Vibration resistance Shock resistance -20 to +50 ℃ -20 to +60 ℃ 90%RH max. (no condensation) 90%RH max. (no condensation) JIS-C-0040 (50m/s2, 10 to 150 Hz, 15 cycles JIS-C-0041 (500m/s2) (JIS specification is Japanese Industry Standard) 8 .9 .
Page 167 8 .1 0 8 .1 0 .1 Dim e nsions FRH -SD0 7 T U /T B Futaba Corporation Rev.
Page 168 FRH-SD07TU/TB Manual 8 . 1 0 .2 Com m unic a t ion Ca bl e 8 .1 0 .3 Fla t Print e d Ant e nna Rev. 050415-01.
Page 169 8 .1 0 .4 Pe nc il t ype Ant e nna 8 .1 0 .5 Pe de st a l Ba se Ant e nna w it h fle x ible a nt e nna e le m e nt Futaba Corporation Rev.
Page 170 FRH-SD07TU/TB Manual 8 .1 0 .6 Pe de st a l Ba se Ant e nna w / rigid a nt e nna e le m e nt (out side use ) 8 .1 0 .7 Pa t c h Ant e nna w it h Dive rsit y Re c e pt ion Rev. 050415-01.
Page 171 8 .1 0 .8 Pa t c h Ant e nna w /o Dive rsit y Re c e pt ion 8 .1 0 .9 U -FL t o SM A Conve rsion Ca ble Futaba Corporation Rev.
Page 173 8 .1 1 Glossa ry of T e rm s 1:1, 1:n, n:m Ratios indicating communication topology node architecture. The ratio 1:1 indicates a system with only two nodes communicating with each other. The ratio 1:n indicates a system with one “master” node communicating with a variable number of “slave” nodes (also referred to as point-to-multipoint). The ratio n:m indicates a variable number of nodes communicating with a variable number of other nodes.
Page 174 FRH-SD07TU/TB Manual asynchronous communication, a start bit and a stop bit are attached to separate a byte data. For example, even if the data is “11111111”, there are the “Hi” state and the “Lo” state for each byte. However, the break signal keeps the “Lo” state for more than 1 byte (generally, for more than 3 bytes). In the Modes 1 and 2 (in other FRH series employs), the break signal can be used as the command header.
Page 175 dB, or Decibel A unit of measure for the power or strength of a signal. Given as the ratio of two signal levels. dBi A decibel unit for measuring antenna gain. A unit of measurement of the gain relative to an isotropic antenna, or one that radiates equal power in all directions. dBm Abbreviation for decibels above 1 mW, a unit for specifying input signal power – 1.0 mW across 600 ohms, or 0.775 V RMS (root mean square).
Page 176 FRH-SD07TU/TB Manual is enabled, the modem properly receives the data received during carrier sensing and accepts to send the data to the terminal equipment. Then, the modem returns ACK and resumes carrier sensing to continue transmission. Fading A gradual change in signal strength. Fade in refers to an increase in strength and fade out refers to a decrease in signal strength.
Page 177 is spread over a broad RF band through the continual frequency “hopping”. Also see Direct Sequence and Spread Spectrum. Full-Duplex A type of two-way communication in which both stations can send and receive signals or data at the same time. A telephone is an example of a full-duplex communication device. Also see Half-Duplex. Half-Duplex A type of two-way communication in which both stations can send and receive signals or data but not at the same time.
Page 178 FRH-SD07TU/TB Manual transmitted as a single unit or packet of data. Each transmission is controlled with explicit transmit commands. Polling- and Contention-type Communication The polling is a type of communication, where the slave station can communicate only when it receives the polling request of message data from the master station.
Page 179 There are two main types of spread spectrum techniques: one is called the direct sequence (DS) system where the modulated data signal is modulated to further spread, another is the frequency hopping (FH) where the frequency of the modulated data signal is changed rapidly. The FRH-SD07T modem uses the direct sequence system.
Futaba Corporation Radio Control Equipment Group 1080 Yabutsuka Chosei Chiba, 299-4395 JAPAN Tel: +81 (475) 32-6173, Fax: +81(475) 32-6179 Internet: www.futaba.co.jp In the United States Futaba Corporation of America Industrial Radio Control Department 1605 Penny Lane Schaumburg, IL 60173 Tel: (847) 884-1444, Fax: (847) 884-1635 Internet: www.futaba.com In the Europe Pending. Rev. 050415-01.