Futaba FDP02 Users Manual

WIRELESS DATA COMM UNICATI ON MODEM
FDP02TJ010
2.4GHz Embedded Type Wireless Modem
Instruction Manual
Futaba Corporation
Industrial Radio Control
I
Ver.1.1
I Notice
This device complies with pa rt 15 o f the FCC rules. Operation is subject to the f ollowing two conditions: (1) This device may not cause ha rmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.
This equipm ent has be en tested and found to comply with the lim its for a Class A digital device, pursuant to part 15 of the FCC Rul es. These lim its are designed to provide reasonable protection against harm ful interfer ence when the equipm ent is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in acco rdance with the instru ction m anual, m ay cause harmful interference to radio comm unications. Operation of this equip ment in a re sidential area is likely to cause harmful interference in which case the user will b e required to correct the interference at her/his own expense.
Any unauthorized changes or m odifications to this device not expressly approved by Futaba Corporation could void the user ’s author ity to opera te th e device and possibly result in damage to the equipm ent and/or cause serious or f atal injuries to th e operato r or nearb y personnel.
This device is intended to be installed and used in accordance with the instructions contained in this manual. Failure to com ply with the se instructions could void th e user’s authority to operate the device and possibly result in dam age to the equipm ent and/or cause serious or fatal injuries to the operator or nearby personnel.
II Important Safety Information
The list of dangers, warnings and cautions in th is section contain important information that will help en sure safe op eration of the system . Please read carefully and understand all of these items. All installers, operators and m aintenance personnel should read and understand this information before installation, use, or maintenance of the FDP02TJ010.
The FDP02TJ010 system by itself is not inherently dangerous. HOWEVER, WHEN THE
FDP02TJ010 IS CONNECTED TO OTHER EQUIPMENT FOR THE PURPOSE OF CONTROL, SAFETY AND ALL POSSIBLE ASSOCIATED DANGERS MUST ALWAYS BE GIVEN THE UTMOST CONSIDERATION DURING SYSTEM INTEGRATION, DESIGN, INSTALLATION, AND USE.
The FDP02TJ010 m ay be used in virtually unlim ited applications. Many of these associated s ystems can, by them selves, pose a mechanical, electrical or o ther hazard to operators and other persons or equipm ent. To address all possible applications and associated s afety hazard s in th is m anual would be im possible. The warnings below and throughout this m anual give information th at will allow safe installatio n and use the m odem system applications. If you have questions regarding the safety of your specific application, please contact th e ap propriate people for help. Your Futaba sales representative, representatives of the equipm ent being controlled, and the t echnical support staff at local branch of F utaba Corporation are among those who can provide assistan ce with your safety concerns.
The following warnings are included in the lists that follow but warrant repetition here:
In installations where the FDP 02TJ010 is used to control moti on or operation of potentially dangerous equipment, it is imperative for safety that all operat ors and installers be thoroughly trained in the normal function of that equipment before attempting to control it remotely with the FDP02TJ010.
2
Ver.1.1
To help ensure safe operation of the equipment, the FDP02TJ010 must be connected so that it will operate in a f ail-safe way. In other words, the equipment being controlled should stop or return to its saf est state in the abs ence of a control signal or tota l loss of RF transmission from the FDP02TJ010. Our system uses one of the m ost reliable m ethods available to transmit data using radio signals. Many factors can affect a radio signal that m ay block it or interfere enough to disr upt regular transm ission. Because of this, equipm ent motion or dangerous electrical current, for ex ample, th at continues during a loss-of-signal condition could be very dangerous.
3
Ver.1.1
Four sym bols are used in the m argin of th e following section and throughout the m anual 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.
Indicates a hazard that will o r ca n cause m inor person al inju ry, or property damage if the warning is ignored.
Indicates installation, operation, or maintenance inform ation that is important but not hazard-related.
Please read the following safety inform ation carefully. Som e of these notice s are duplicated throughout the manual, in areas of associated content, for your benefit.
II.I General Safety Hazards and Notes
Improper installation and/or operation of the FDP02TJ010 can cause serious or fatal injuries to the operator or nearby persons and cause damage to the FDP02TJ010, and any equipment it is used to control. Please read and understand this manual completely and the manual of all equipment being controlled before attempting to operate or install this system.
Always keep this m anual at a lo cation read ily accessib le to anyone operating the system and related equipm ent. Ensure that all operators have read and understood this manua l, especially all safety and operation procedures contained in it. Please refer to the section in this
manual title d How to Obtain Help for the contact that can supply
additional manuals or answers to ques tions not covered in this m anual. If this product is passed on to a diffe rent user, be sure that this m anual accompanies the product.
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 FDP02TJ010should NOT be used in a m anner in which failure of
the product or loss of the radio si gnal could cause damage to the equipment being controlled, or to a nything in the area in which such equipment is located. All integr ated control system s should be designed for “fail-safe” operation so that a temporary or permanent loss of signal will not endanger any pers on, critical process, or equipm ent (refer to the beginning of the safety section for further explanation). The system design shou ld ensu re that the equipm ent being controlled will initial to its safest state in the event of signal loss.
The FDP02TJ010 contains no user serviceable parts. If the unit requires service, contact your sales representative or local branch of
4
Ver.1.1
Futaba Corporation per instructions the section titled How To Obtain Help. Do not disassem ble or atte mpt to repair the F DP02TJ010
yourself. Doing so could void your warranty and m ay void the user’s authority to operate the device.
Contact Futaba before using th e FDP02TJ010 in safety critical applications such as m edical equip ment, aircraft, hazardou s m aterials handling, etc.
II.II Installation Safety Hazards and Notes
Use only the proper regulated DC voltage supplied to the FDP02TJ010. Use of any other voltage m ay permanently damage the m odem and/or cause the modem to malfunction and create a shock or fire hazard.
Be certain that all AC power outlets used the power adapters have been properly installed, grounded, and fused. An electrical s hock hazard may exist if this unit is powered by a faulty power outlet or source. If such a situation is dis covered, 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
Ethernet connections correctly. Incorrect wiring can dam age the system , cause it to m alfunction and/or create a shock and fire hazard.
Ensure that the FDP02TJ010 power a nd the pow er to the equipm ent to be controlled are turned off befo re connecting or disconnecting the cable between them. This will help prevent accidental damage to the system and unexpected operation and/or injury.
Be sure the FDP02TJ010 power, the power to the equi pment th at is being connecting to it, and the DC power sou rce are all turned off before wiring and connecting the power cable.
Be sure th at th e sup plied powe r is with in the spec ified r ange. Voltages outside the specified range may damage the FDP02TJ010.
Be sure th at the po wer source has sufficient cu rrent capacity . Insufficient current may cause the unit to malfunction.
Securely attach the antenna cable to the FDP02TJ010 and equipment/power source to which it is connected. Failure to do so could cause an unexpected system failure.
Below comment should be written on a product label when the FDP02 is embeded into any products.
“This device contains FCC ID:AZP-FDP02”
5
Ver.1.1
II.III Antenna Installation Hazards and Notes
Be sure to keep all system s and antennas clear of power lines . Permanent equipm ent dam age and severe shock injury or death can occur if the system contacts power lines.
Contact Futaba before connecting a ny antenna not provided by Futaba specifically for the FDP02TJ010. Attaching any non-authorized antenna may be in violation of FCC regulations.
Before each use, verify that the an tenna (and antenna cable, if used) is securely attached and in good con dition. A loose antenn a or cable may severely reduce the operating range of the system.
The FDP02TJ010 operates at frequencies in the 2.4 GHz band. These frequencies are more directi onal than lower frequencies and are easily reflected. If there are m etal structures nearby, the effective range m ay be shortened or the dir ectional properties m ay be further narrowed. To help avoid this, mount th e antenna as far away as possible from surrounding metallic structures.
Multipath p roblems occur easily at frequencies in the 2.4 GHz band. When m ultipath prob lems are pres ent, m oving the an tenna around 10 cm may result in improved communication or, conversely, worsened or complete loss of communication. Futaba recomm ends that the
mounting position of the antenna be dete rmined after testing and
verifying optimal communication conditions.
When installing multiple FDP02TJ010 that will use different frequency groups in the same area, FDP02TJ010’s antennas of different frequency groups must be mounted at least 6 feet (2 meters) apart. Failure to do so may severely reduce the modem operating range.
Please contact Futaba for inform ation about antenna separation when using the FDP02TJ010 and other wireless products in the same area.
6
Ver.1.1
II.IV Environmental Safety Hazards and Notes
If the FDP02TJ010 has been stor ed at a temperature beyond the specified o perating temperature range for th e system , it m ay not function pro perly. Allow it to re turn to norm al tem peratures before
use. Refer t o APPENDIX A TECHNICAL SPECIFICATIONS for t he
actual operating temperature range.
The FDP02TJ010 is a precision electr onic device with a rugged design that is in tended for industrial applications. However, do n ot install it where it will encoun ter excessive vibrations. In some cases, isolation mounts m ay be used to isolate the m odem from the equipm ent’s vibration. Excessive vibration can perm anently dam age the m odem and/or cause it to malfunction.
Do not ope rate th e FDP02TJ010 in environments where it will b e subjected to excessive moisture (such as rain or water spray ), dust, oil, or other foreign m atter (such as metal partic les). Doin g so m ay permanently dam age the m odem and/or cause it to m alfunction. If it does become wet or contam inated, co rrect the situation, verify proper operation and have any problem s correct ed before using it to control other equipment. If necessary, the m odem can be m ounted inside a protective o r waterproo f enclosure. If the enclosure is m etallic, th e antenna m ust be m ounted externally or the effective operating range will be severely limited.
II.V Other Notice
The FDP02TJ010 is designed for indoor use. When using it outdoors, the m odem should be m ounted in a waterproof enclosure and the ambient temperature range should be check ed to insure that it is within the m odem’s specifications. Always use the m odem within its specified environmental ranges.
Italicized gothic word used in th is m anual shows functional and
technical term especially important for the FDP02TJ010.
7
Ver.1.1
Operational Safety Hazards and Notes
Before each use of the FDP02TJ010, ensure th at th e area where th e equipment will be ope rated is cle ar of people or obstac les that m ay affect its safe operation.
Before each use of the FDP02TJ010, verify th at both the equipm ent being controlled and the modem are in proper operating condition.
When rewriting the FD P02TJ010’s m emory registers, do not turn the modem’s power off. If the power is interrupted, the m emory contents may be lost or corrupted an d the m odem operation will be unpredictable. If the memory contents are lost or corrupted, they m ay be restored to original initial settings by reinitializing them.
Do not atte mpt to ope rate rem otely controlled equipm ent outside the communication range of the FDP02TJ010. Doing so could cause loss of control of the equipment.
III System Identification
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 FDP02TJ010 ever need repair or replacement.
Model Name and Number: FDP02TJ010
Serial Number:
Date of Purchase:
Distribu tor Name:
Distributor Address:
Distributor Phone Number:
8
Ver.1.1
IV Limited Warranty
FUTABA WARRANT S ONL Y T HAT T HE I NDUSTRIAL RADIO CONT ROL SYSTE M GOODS OR PRODUCTS FURNISHED HEREWITH SHALL BE FR EE FROM DEFECTS IN MATERIAL AND WORKMA NSHIP UNDER NORMAL CONDITIONS OF USE AND SERVICE FOR A P ERIOD OF ONE (1) YE AR FROM THE DATE OF SALE TO THE PURCHASER WHO IS THE FIRST B UYER OF THE GOODS FOR USE OR CONSUMPTION AND NOT FOR RESALE OT HER T HAN AS A COM PONENT OF ANOTHER PRODUC T MANUF ACTURED FOR SALE BY S UCH PUR CHASER (“CONSUMER”). FUTABA’S L IABILITY, W HETHER BASED ON B REACH OF WARRANTY OR NEGLIGENCE, SHALL BE LIMITED, AT FUTABA’S ELECTION, TO REPLACEMENT OR REPAIR OF ANY SUCH NONCONF ORMING GOODS, F. O.B. FUTABA’S PLANT, OR, AT FUTABA ’S ELECTION, CREDIT FOR THE NET PURCHASE PRICE OF SUCH GOODS. ALL CLAIMS HEREUNDER MUST BE MADE IN WRITING DURING THE WARRANTY PERIOD, AND FUTABA SHALL HAVE THE RIGHT P RIOR TO ANY RET URN OF GO ODS TO INSP ECT ANY GOODS CL AIMED TO BE NONC ONFORMING, AND IN ANY EVE NT RESER VES THE R IGHT TO REJECT CLAIMS NOT COVERE D BY WA RRANTY. THIS LIMITED WARRANTY
CONSTITUTES FUTABA’S SOLE W ARRANTY. FUTABA MAKES NO OTHER
WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. FUTABA’S WARRANTY SHALL NOT APPLY IF,
AMONG OTHER LIMITATIONS CONT AINED HEREIN OR FUR NISHED W ITH THE PRODUCT, BUYE R, OR C ONSUMER, OR ANY USER OF T HE PR ODUCT (A) ALTERS SUCH PRODUCT, OR (B) REPLACES ANY PART OF SUCH PRODUCT WITH ANY PART OR P ARTS NOT FURNISHED BY FUTABA FOR THAT PURPOSE, OR IF, AMONG S UCH OTHER LIMITATIONS, P RODUCT FAILS TO OPERATE PROPERLY OR IS DAMAGED DUE TO AT TACHMENTS OR COMPONENT S THAT ARE NOT FURNISHED BY F UTABA FOR USE W ITH OR REP AIR OF THE PRODUCT UNLES S SUCH USE IS AUTHORIZED IN WRITING IN ADVANCE BY FUTABA.
THIS LIMITED WARRANTY EXTENDS ONLY T O T HE C ONSUMER AND IS NOT ASSIGNABLE OR TRANSFERABLE. This lim ited warranty shall not apply to fuses, lamps, batteries, o r oth er item s that are expe ndable by nature, unless otherwise expressly provided.
This limited warranty does not cover any defect or dam age to any of the goods caused by or attributable to force, accident, m isuse, abus e, f aulty installa tion, improper m aintenance, improper electr ical cur rent, f ailure to insta ll or operate in a ccordance with Futaba ’s writte n
instructions, repair or a lteration by unauthorized pers ons, or leaking batteries. THE
GOODS ARE SENSITIVE ELECTRONIC DEVICES REQUIRING SPECIAL HANDLING, AND THIS LIMITED WARRANTY DOES NOT APPLY TO PRODUCTS NOT HANDLED IN ACCORDANCE WITH INSTRUCTIONS SET FORTH IN THE MANUAL.
THIS LIMITED WARRANTY DOES NOT COVER INDUSTRIAL RADIO CONTROL PRODUCTS PURCHASED OR USED OUTSIDE OF THE UNITED STATES WITHOUT FUTABA’S PRIOR APPROVAL.
9
Ver.1.1
V Returns
Futaba’s authorization must be obtained prior to return of any item for warranty or other repair or replacem ent or credit and will re flect Futab a’s warran ty service p rocedure. Consumer’s warranty rights are governed by the term s of Futaba’s L imited W arranty, as above described. Products returned for warrant y repair or replacem ent or credit m ust be carefully and securely packed for return, preferably in the original carton or equivalent. The Consumer must also include in the carton a legible copy of th e bill of sale or invoice which shows the date of sale and the original Buye r’s and Consum er’s names, and also a letter which gives the Consum er’s return address and contact telephone nu mber, the model and serial numbers of the product(s) returned, and a brief explanation of the problem or claim ed defect. Any returned products that are repl aced by Futaba shall becom e the property of Futaba. If af ter in spection Futab a dete rmines the def ect is no t co vered by its lim ited warranty, Futaba will notify Consumer of its determination and will not undertake any repairs or product replacem ent until Consu mer agrees to pay for all necessary parts and m aterials, labor (to be charged at Futaba’s standard repa ir ra te then in ef fect), and other expenses including all shipping charges and insurance. Futaba rese rves the right to r etain possession of any product returned by Consumer because of defects not covered by Futaba’s warranty until Futaba receives Consum er’s agreem ent as above note d or, if Consum er wants the product returned without repair o r replacement, Consumer reimburses Futaba for all shipp ing and handling charges incurred by Futaba. Issuance of credit for returned items shall be made at Futaba’s unfettered discretion. Consumer will not be entitled to return defective goods for cash refunds. Consumer m ust inspect goods i mmediately and no rejection or revocation of acceptance shall be perm itted m ore than ten (10) days after delivery to, or first use by, Consumer of the goods, whichever occurs first.
VI Patents – Copyrights – Trademarks – Proprietary Rights
If this product was m anufactured according to designs or pr ocesses specified by Consum er, Consumer shall indem nify and sav e Futaba, it s af filiates, of ficers, ag ents, and e mployees, harmless from any expense, loss, attorneys’ fees , costs, damages, or liability which may be incurred as a result of actual or alleged infringement of patent, copyright, or trademark rights. Furnishing of these products does not convey a license, implied or otherwise, under any patent, copyright, or trademark right in which Futaba has an interest, nor does it convey rights to trade secrets or any other proprietary information of Futaba.
Limitation of Damages and Action
VII
IN NO EVENT SHALL FUTABA BE LIABLE TO CONSUMER, OR ANY OTHER PERSON FOR ANY INCIDENTAL, CONSEQUENTIAL, OR SPECIAL DAMAGES RESULTING FROM THE USE OF OR INABILITY TO USE THIS PRODUCT, WHETHER ARISING FROM BREACH OF WARRANTY OR NEGLIGENCE OF FUTABA, OR OTHERWISE. Any action hereunder must be com menced within one (1)
year of accrual of cau se of action or be barred and foreve r waived. No m odification or alteration of Futaba’s Limited Warranty or any ot her provision of this paragraph or the above paragraphs shall result from Futaba’s acknowle dgment of any purchase order, shipm ent of goods, or other affirm ative action by Futaba to ward perform ance following receip t of any purchase order, shipping order, or other form containing provisions, term s, or conditions in addition to or in conflict or inconsistent with any such provisions.
10
Ver.1.1
Contents
1. Overview.................................................................................................................................................. 1
2. Operating Modes ...................................................................................................................................... 1
2.1 Pa cket Transmission Mode..................................................................................................................... 1
2.2 He aderless Packet Transmission Mode .................................................................................................. 3
2.3 Serial-Output Data Format of Receiver Side at The Transmission Mode .............................................. 4
2.4 Broadcast Transmission Mode ............................................................................................................... 5
3. Transmission Timing................................................................................................................................ 6
3.1 Transmission Timing.............................................................................................................................. 6
3.2 Time period of the case that data re-transmission of divided packet is occurred at packet transmission
mode.................................................................................................................................................... 10
4. Low Power Stand-by Mode.................................................................................................................... 11
4.1 Operation Flow ...................................................................................................................................11
4.2 Setting ................................................................................................................................................. 11
4.2.1 Setting by the memory register........................................................................................................ 11
4.2.2 Setting by the command .................................................................................................................. 11
5. RF Circuit Power Control Mode ............................................................................................................13
5.1. Operation Flow ...................................................................................................................................13
7. Registers ................................................................................................................................................. 15
7.1. List of Registers ..................................................................................................................................15
7.2 E xplanation of Registers ......................................................................................................................16
8. Frequency ............................................................................................................................................... 25
8.1 Fre quency Range.................................................................................................................................. 25
8.2 Fre quency Setting and Frequency Group............................................................................................. 26
8.3 Commands............................................................................................................................................ 27
8.3.1 L ist of commands.............................................................................................................................. 27
8.3.2 C ommand input format .....................................................................................................................27
8.3.3 E xplanation of commands.................................................................................................................
28
9. Interface..................................................................................................................................................45
9.1 Pin Layout ............................................................................................................................................ 45
9.2 Recommended Connector .................................................................................................................... 45
9.3 E lectrical Characteristics...................................................................................................................... 46
9.4 AC Characteristics................................................................................................................................ 46
9.4.2 Low Power Stand-by Mode............................................................................................................. 47
9.5.3. RF Circuit Power Control Mode......................................................................................................48
9.5.4. Power Down Mode .............................................................................................................................49
9.5.5. Parameter Initializing by /SHUT and /INI Terminal .......................................................................50
10.1 Outer Dimensions............................................................................................................................... 51
10.2 Weight ................................................................................................................................................ 51
10.3 Power Supply .....................................................................................................................................51
10.4 Radio Specifications........................................................................................................................... 52
10.5 Interface..............................................................................................................................................52
10.6 Environment.......................................................................................................................................52
11. Notes..................................................................................................................................................... 53
11.1 Da ta Communication Delay ............................................................................................................... 53
11.1.1 Dela y at the transmission side .........................................................................................................53
11.1.2 Dela y at the reception side .............................................................................................................. 53
11.2 Reception of Same Packets ................................................................................................................ 53
11.3 Timing of Command Input................................................................................................................. 53
11.4 He aderless Packet Transmission Mode .............................................................................................. 54
11.4.1 In put data ......................................................................................................................................... 54
11.4.2 Meas ures against packet loss...........................................................................................................54
11
Ver.1.1
11.5 Occurrence of Data Loss Even under Hardware Flow Control .......................................................... 54
11.6 Freque ncy Setting in Multi-System Environment .............................................................................. 54
11.7 Timing of Command Input................................................................................................................. 54
11.8 INI and RST Commands .................................................................................................................... 54
11.9 Power -Down Mode ............................................................................................................................ 54
12
Ver.1.1
1. Overview
The FDP02TJ010 (hereinafter referred to as the "FDP02") is a 2.4GHz-band wireless radio modem with a compact and low power consumption design.
2. Operating Modes
The FDP02 has the following three transmission modes:
- Packet transmission mode
- Headerless packet transmission mode
- Broadcast transmission mode
2.1 Packet Transmission Mode
The FDP02 supports two types of wireless addresses. One is unique address and the other is group address. At packet transmission mode, data packets are transmitted to the unique address and/or group address through the serial port. AT this mode, the packet format should be text or binary data.
(1) Configuration of text packet
Command header Command
1 byte 3 bytes 3 bytes 0 to 130 bytes 2 bytes
@ TXT 000 to 255 User defined data <Cr><Lf>
(2) Configuration of binary data packet
Command header Command
1 byte 3 bytes 3 bytes 3 bytes 0 to 130 bytes 2 bytes
@ TBN 000 to 255 000 to 130 User defined data <Cr><Lf>
Processing of packet transmission and reception
When a packet is inpu t to a sen der FDP02 via the serial port, the sender FDP02 checks whether the packet is valid. Then, i f t he packet configuration is invalid o r a t ime gap bet ween bytes is more than 5 sec onds, the sender FDP02 distinguishes an occurrence of a packet error and ignores the packet. At that time, the sender FDL01 notifies the occurrence of the packet error if the functions of "Enabling response" and "Enabling N0 response" in he REG13 are turned on. If the functions of “Enabling response” and “Returning P1 and P0 responses” in the REG13 register are turned on, the se nder FDP02 replies a P1 response to the host whe n it receives a valid pac ket data. However, the sender FDP02 does not return any response if the functions of the REG13 register is different setting. Then, the sende r FDP02 tra nsmits the packet t hrough wireless transm ission to the destination a ddress, receiver FDP02. At receiver FDP02 side, it output the packet data through the serial port if configurations of packet are valid. At that time, the receiver FDP02 responds an acknowledgement “ACK” signal to the sender FDP02 for notifying data packet receiving if "Enabling destination address check at reception" function of the REG18 register is turned on. On the other hand, when the function of "Disabling destination address check at reception" in the REG18 register is turned on, the receiver FDP02 does not return ACK signal to the sender FDP02 and also it receives all packet data regardless of the destination address of the packet. Packet data transmission from the sender to the receiver is finished when the sender FDP02 receives ACK signal. At that time, the sender FDP02 outputs P0 response if "Enabling response" functions of the REG13 register is turned on. When the sender FDP02 cannot receive ACK signal within the time-out limit, the sender FDP02 transmits the same packet data to the destination receiver through the air if the re-try frequency is registered. (The re-try frequency can be set by REG11 register When the receiver FDP02 receives the same packet several times, it ignores from the second data downward.
Destination
address
Destination
address
Data (message) Delimiter
Number of
data bytes
Data (message) Delimiter
1
Ver.1.1
Also, the receiver FDP02 sends ACK signal to the sender FDP02 if the function of "Enabling destination address check at reception" of REG18 register is turned on. If the sender FDP02 cannot receive ACK signal even it sent packet data defined times by the REG11 register, it outputs N1 response to the host device via the serial port when "Enabling response" function of REG13 register is turned on. No response signal is sent if the function of "Disabling response" in REG13 is turned on
The figure below shows an operation example of data packet communication between a sender FDP02 that the "Enabling response" and "Returning P0 and P1 responses" functions of REG13 register are turned on and a receiver FDP02 that "Enabling destination address check at reception" function of REG18 register is turned on. At the figure, data communication is completed by “ACK” signal retry.
The Host 1 inputs data to the sender FDP02 via the serial port. The sender FDP02 recognizes the data packet configuration as valid and returns a P1 response to the Host
1 (Data is accepted).
The sender FDP02 transmits the data packet to the destination, which is the receiver FDP02, by wireless
transmission.
The receiver FDP02 receives the packet and outputs the received data packet to the Host 2 via the serial
port.
The receiver FDP02 returns ACK to the sender FDP02 by wireless transmission. Time-out is occurred at the sender FDP02 because it cannot receive the receiver's ACK signal at the first
transmission. The sender FDP02 re-sends the data packet transmission.
The receiver FDP02 receives the same data packet as the previously received one. Thus, the receiver
FDP02 ignores the received data but returns ACK signal to the sender FDP02.
The sender FDP02 receives the ACK signal and outputs a P0 response to the Host 1.
Data input
P1 response
Host 1 FDP02 (sender) FDP02 (receiver) Host 2
Time-out
Wireless transmission
Return of ACK
Data output
P0 response
Wireless transmission
Return of ACK
The data same as previously received data is received and discarded.
After entering a command to the sender FDP02, do not input the next command until the P0 response for the entered command is returned. Sending a new command before the P0 response is received, it may cause of command error and/or unpredictable operation. When "Disabling response" function of REG13 register of the sender FDP02 is turned on, the next command should be input after waiting a time period of expected P0 response.
2
Ver.1.1
2.2 Headerless Packet Transmission Mode
By setting "Headerless packet transmission mode" on the REG03 register of the FDP02, the FDP02 transmits packets by wireless transmission to a destination address that is defined by the REG02 register. At this mode, a header part (command header "@", command "TXT" or "TBN", destination address, and number of message bytes [for TBN command]) can be eliminated. The trigger of data transmission can be defined by the setting of REG24 register. It can be selectable entering of "<Cr><Lf>" (0DH, 0AH) (i.e., carriage return and line feed codes) or time over of the timeout period (a time gap limit between two data bytes that is set in the REG26 register). Data transmission is triggered also when the number of message bytes exceeds 26 bytes. It is also enable to set "Enabling response" and "Disabling response" mode in headerless packet transmission mode. Additionally, "Returning P1 and P0 responses" and "Returning P0 response" function can be selected when "Enabling response" mode is chosen. Moreover, "Enabling destination address check at reception" and "Disabling destination address check at reception" function can be selected by the REG18 register. For more details, see section 2.1 “Packet transmission mode”. Also, it is selectable whether "<Cr><Lf>" (0DH, 0AH) is added on the received data by the settings of the bit 4 of the REG23 register.
In headerless packet transmission mode, maximum data buffer size for sending data is 130 bytes and data transmission is started when message data size exceeds 26 bytes. When many message data are input consequently, the message buffer may be overflowed and the message data may be lost. At that situation, the hardware flow control function should be set. If "Enabling response" function is selected in REG13 register, it is possible to judge whether data transmission is succeeded or not. Thus it is recommended to set "Enabling response" function even in headerless packet mode. Additionally, the massage data may be lacked when the size is over 26 bytes. To prevent for such an event, check each response on the sender and create messages so that the loss of packets can be detected on the receiver FDP02.
The serial communication speed of all FDP02 should be same setting. If different serial communication speeds are set between on receiver FDP02, data loss may occur on the slower speed side.
by the REG13 register at the
the sender and the
3
Ver.1.1
2.3 Serial-Output Data Format of Receiver Side at The Transmission Mode
Data format of the receiver side that outputs to the serial port varies depending on the transmission mode (packet transmission or headerless packet transmission mode). The below table shows combination of the data format and the mode setting.
Sender FDP02 (radio address is 000) Receiver FDP02 (radio address is 001)
Transmission mode Packet format Transmission mode Serial-output data format
Packet transmission (text format)
Packet transmission (binary format)
Packet transmission (text format)
Packet transmission (binary format)
Headerless packet transmission + <Cr><Lf>
Headerless packet transmission + time-out
Headerless packet transmission + <Cr><Lf>
Headerless packet transmission + time-out
@TXT001HELLO<Cr><Lf>
@TBN001005HELLO<Cr> <Lf>
@TXT001HELLO<Cr><Lf>
@TBN001005HELLO<Cr> <Lf>
HELLO<Cr><Lf>
HELLO
HELLO<Cr><Lf>
HELLO
* If "Adding '<Cr><Lf>' to received data" function of the receiver FDP02 is turned on by the bit 4 of REG23
(setting value is 1) at the headerless transmission mode, "<Cr><Lf>" is added at the end of the data that is output to serial port.
Packet transmission
Packet transmission
Headerless*
Headerless*
Packet transmission RBN000007HELLO<Cr><Lf>
Packet transmission
Headerless*
Headerless*
RXT000HELLO<Cr><Lf>
RBN000005HELLO<Cr><Lf>
HELLO
HELLO
<Cr><Lf>
RBN000005HELLO<Cr><Lf>
HELLO<Cr><Lf>
HELLO
4
Ver.1.1
2.4 Broadcast Transmission Mode
It is possible to send data by broadcast transmission. Broadcast transmission mode can be used by setting the destination address to “255” at packet transmission or headerless packet. In broadcast transmission mode, the sender FDP02 transmits data packet defined times by REG11 register + 1 time. If "Enabling response" function is turned on, the sender FDP02 sends response signal to the host. For more details, see the section 2.1. At broadcast transmission mode, the receiver FDP02 does not return ACK signal regardless of the REG18 register setting. Also, when the receiver FDP02 receives redundant data packet, it ignores duplicated packets .
The below figure shows the data flow of broadcast transmission mode that "Enabling response" and "Returning P0 and P1 responses" functions of the sender FDP02 is turned on.
Host 1 inputs broadcast data to the sender FDP02. The sender FDP02 recognized the data packet configuration is valid and returns a P1 response to the host 1
(data is accepted).
The sender FDP02 broadcasts data packet defined times by REG11 register + 1 by air . When the receiver FDP02 receives the packet correctly, it outputs the received data packet to the host 2 via
the serial port.
When the sender FDP02 completes all data transmission, it outputs a P0 response to the host 1.
Input of data with destination address set to "255"
P1 response
P0 response
Host 1 FDP02 (sender) FDP02 (receiver) Host 2
"Retransmission count' + 1" times
Wireless transmission
Wireless transmission
Data output
5
Ver.1.1
p
p
p
p
3. Transmission Timing
3.1 Transmission Timing
At packet transmission mode, the FDP02 can transmit up to 130 bytes of message as a single packet. However, the radio transmission unit of the data is divided by 26 bytes. Since the FDP02 internally divides a message by 26 bytes when the packet size is bigger than 26 bytes, total data transmission time is varies with the data size. . In headerless packet transmission mode, the FDP02 transmits each message in units of 26 bytes without dividing them. The time required for communication is shown below.
Data input
First message
transmission
Second to fourth message transmission
Fifth message transmission
Host 1 FDP02 (Sender) FDP02 (Receiver) Host 2
@TXT*** input
Command processing: 1 ms Packet generation (first time): 0.7 ms
P1 response output
ACK reception
rocessing: 0.7 ms
ACK reception
rocessing: 0.7 ms
P0 response output
Carrier sensing: 0.1 ms
Message transmission: 0.45 ms
ACK packet generation: 0.7 ms
ACK transmission: 0.45 ms
Packet generation (fifth time): 0.7 ms Carrier sensing: 0.1 ms
Message transmission: 0.45 ms
ACK packet generation: 0.7 ms
ACK transmission: 0.45 ms
Reception
rocessing: 1.2 ms
Reception
rocessing: 1.2 ms
RXT*** output
4.3 ms
6
Ver.1.1
Serial input of transmission data packet
The time required to data input between the host1 and the sender FDP02 is defined by below communication parameter.
- Line speed (9,600 to 115,200 bps)
- Data bit length (7 or 8 bits)
- Parity bit (odd, even, or no parity)
- Stop bit length (1 or 2 bits)
- Start bit length (always 1 bit) For example, data transmission time is 87us when the line speed is 115,200bps, the data bit length is 8 bits, the parity bit is NONE, the stop bit length is 1 and the start bit length is 1. (Time of data transmission for 1 bit is 8.7us and 1byte is 10bits.)
If the transmission is text data at the packet transmission mode, size of send data packet is message bytes + 9 bytes because the header is 7 bytes and delimiter is 2 bytes.
If the transmission is binary data at the packet transmission mode, size of send data packet is message bytes + 12 bytes because the header is 10 bytes and delimiter is 2 bytes. At the headerless packet mode, the data size is message bytes + 2 bytes if delimiter is included. On the other hand, if the trigger of transmission is “time-out”, the data size is the same as the message size. However, the data transmission time is defined by “time-out” setting by REG24 and REG26 register.
C ommand processing It is the time for internal processing to
of receiving and decoding the packet that comes from the serial port.
It takes 1.5 ms.
T ransmission packet generation It is the time for transmission data packet generation. It takes 1.0 ms.
Response of input data format acceptance It is the time for response when the receiving data format is valid. The length is 4 bytes. It depends on
the parameters of .
Carrier sensing It is the time for detection whether other radio station uses same frequency band. If other radio station
uses the frequency band, the sender FDP02 does not transmits the data. It takes 0.1 ms.
If the wireless environment is very severe, noise level is very high and/or other wireless systems occupy the area, the sender FDP02 may be not able to transmit any data because of carrier sensing.
Message transmission It is the time for data transmission and it takes 0.45 ms.
Dat a reception processing It is the time for the receiving data processing and it takes 2.4 ms.
7
Ver.1.1
ACK packet generation It is time for ACK packet generation. It takes 1.0 ms
ACK packet transmission It is time for ACK packet transmission that the acknowledgement of data packet reception. It takes 0.45
ms.
ACK reception processing It is processing time for ACK packet. It takes 1.0ms.
Serial output of received packet It is time for output of received data packet to the host 2 through the serial port. The time period depends
on the communication setting between the host 2 and the receiver FDP02.
If the transmission is text data at the packet transmission mode, size of output data packet is message bytes + 8 bytes because the header is 6 bytes and delimiter is 2 bytes. If the transmission is binary data at the packet transmission mode, size of send data packet is message bytes + 11 bytes because the header is 9 bytes and delimiter is 2 bytes. At the headerless packet mode, the data size is message bytes + 2 bytes if delimiter is included. On the other hand, if the trigger of transmission is “time-out”, the data size is the same as the message size. If "Adding '<Cr><Lf>' to received data" function of the receiver FDP02 is turned on by the bit 4 of REG23 (setting value is 1) at the headerless transmission mode, "<Cr><Lf>" is added at the end of the data and it consume 2 bytes.
Indication of data transmit completion A response is returned to the host 1when the data transmission is completed correctly. The length of
response data is 4 bytes, and the time period of response return depends on the parameter settings of the communication parameters that are described in above section ①.
Based on the above data processing flow, the total time for the data packet transmission from the host 1 to the
host 2 can be calculated like below. (In the below calculation, no data packet re-transmission is supposed.)
Bit length per byte
× 1000 × (size of message in bytes + A) + B + 6.4 × (C – 1)
Line speed of the sender
Bit length per byte
+ × 1000 × (size of message in bytes + D) + 4.0 [ms] Expression 1
Line speed of the receiver
A: Text data is transmitted at packet transmission mode: 9
Binary data is transmitted at packet transmission mode: 12 Trigger of the data transmission is delimiter at headerless packet transmission mode: 2
Trigger of the data transmission is time-out at headerless packet transmission mode: 0 B: Trigger of the data transmission is time-out at headerless packet transmission mode: "Value of REG26" x 10
Others: 0 C: Data size of message is 0 to 26 bytes: 1 (*)
Data size of message is 27 to 52 bytes: 2
Data size of message is 53 to 78 bytes: 3
Data size of message is 79 to 104 bytes: 4
Data size of message is 105 to 103 bytes: 5 D: Text data is transmitted in packet transmission mode: 8
Binary data is transmitted in packet transmission mode: 11
Trigger of the data transmission is delimiter at headerless packet transmission mode: 2
8
Ver.1.1
Trigger of the data transmission is time-out at headerless packet transmission mode 0 E: <CR/LF> is NOT added to received data: 0
<CR/LF> is ADDED to received data: 2
*At headerless packet mode, the value of C is always 1.
The total time until completion of the data transmission is calculated by below formula.
Bit length per byte
× 1000 × (size of message in bytes + A + 4) + B + 6.4 × C + 1.5 Expression 2
Line speed of the sender
A: Text data is transmitted at packet transmission mode: 9
Binary data is transmitted at packet transmission mode: 12
Trigger of the data transmission is delimiter at headerless packet transmission mode: 2
Trigger of the data transmission is time-out at headerless packet transmission mode: 0 B: Trigger of the data transmission is time-out at headerless packet transmission mode: "Value of REG26" x 10
Others: 0 C: Data size of message is 0 to 26 bytes: 1 (*)
Data size of message is 27 to 52 bytes: 2
Data size of message is 53 to 78 bytes: 3
Data size of message is 79 to 104 bytes: 4
Data size of message is 105 to 103 bytes: 5
* At headerless packet mode, the value of C is always 1.
9
Loading...
+ 46 hidden pages