《TH-F6A_TH-F7E_protocol_informations.pdf》由会员分享,可在线阅读,更多相关《TH-F6A_TH-F7E_protocol_informations.pdf(153页珍藏版)》请在收音机爱好者资料库上搜索。
1、Kenwood TH- F6A/TH- F7E Protocol Specification Version 1.4 4 Warranty, Disclaimer, Assumption of Risk, and Indemnification ALL DATA AND INFORMATION PROVIDED IN THIS DOCUMENT IS FOR INFORMATIONAL PURPOSES ONLY AND IS AN EXPRESSION OF FREE SPEECH. Definition: The term person as used in this section in
2、cludes not only a natural person but also any entity, (including natural persons). The term “author” is the person or persons who wrote this document. The term “reader” is the user of this document. NO WARRANTIES: TO THE EXTENT PERMITTED BY APPLICABLE LAW, NEITHER THE AUTHOR OF THIS DOCUMENT, NOR AN
3、Y PERSON, EITHER EXPRESSLY OR IMPLICITLY, WARRANTS ANY ASPECT OF THIS DOCUMENT, INCLUDING ANY OUTPUT OR RESULTS OF THE USE OF THIS DOCUMENT. UNLESS AGREED TO IN WRITING. THIS DOCUMENT IS BEING PROVIDED AS IS, WITHOUT ANY WARRANTY OF ANY TYPE OR NATURE, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT L
4、IMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND ANY WARRANTY THAT THIS DOCUMENT IS FREE FROM DEFECTS. ASSUMPTION OF RISK: THE RISK OF ANY AND ALL LOSS, DAMAGE, OR UNSATISFACTORY PERFORMANCE DOCUMENT RESTS WITH THE READER. TO THE EXTENT PERMITTED BY LAW,
5、 NEITHER THE AUTHOR OF THIS DOCUMENT, NOR ANY PERSON EITHER EXPRESSLY OR IMPLICITLY, MAKES ANY REPRESENTATION OR WARRANTY REGARDING THE APPROPRIATENESS OF THE USE, OUTPUT, OR RESULTS OF THE USE OF THIS DOCUMENT IN TERMS OF ITS CORRECTNESS, ACCURACY, RELIABILITY, BEING CURRENT OR OTHERWISE. NOR DO TH
6、EY HAVE ANY OBLIGATION TO CORRECT ERRORS, MAKE CHANGES, SUPPORT THIS DOCUMENT, DISTRIBUTE UPDATES, OR PROVIDE NOTIFICATION OF ANY ERROR OR DEFECT, KNOWN OR UNKNOWN. IF THE READER RELIES UPON THIS DOCUMENT, THE READER DOES SO AT THEIR OWN RISK, AND THE READER ASSUMES THE RESPONSIBILITY FOR THE RESULT
7、S. SHOULD THIS DOCUMENT PROVE DEFECTIVE OR INCORRECT, THE READER ASSUMES THE COST OF ALL LOSSES, INCLUDING, BUT NOT LIMITED TO, ANY NECESSARY SERVICING, REPAIR OR CORRECTION OF ANY PROPERTY INVOLVED. DISCLAIMER: IN NO EVENT, UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, SHALL THE AUTHOR
8、, OR ANY PERSON, OTHER THAN THE READER, BE LIABLE FOR ANY LOSS, EXPENSE OR DAMAGE, OF ANY TYPE OR NATURE ARISING OUT OF THE USE OF, OR INABILITY TO USE THIS DOCUMENT, INCLUDING, BUT NOT LIMITED TO, CLAIMS, SUITS OR CAUSES OF ACTION INVOLVING ALLEGED INFRINGEMENT OF COPYRIGHTS, PATENTS, TRADEMARKS, T
9、RADE SECRETS, OR UNFAIR COMPETITION. “REVERSE ENGINEERING” OR VIOLATING THE COPYRIGHT OF KENWOOD COMMUNICATIONS CORPORATION OR ANY OTHER THIRD PARTY DID NOT OCCUR IN OBTAINING THE INFORMATION IN THIS DOCUMENT. THE INFORMATION OBTAINED FOR THIS DOCUMENT WAS DISCOVERED BY TRYING ALL ONE, TWO, THREE, A
10、ND FOUR LETTER ALPHABETIC COMMANDS SENT TO THE TRANSCEIVER THROUGH A TERMINAL PROGRAM AND LOOKING AT AND EVALUATING THE RESPONSE FROM THE TRANSCEIVER OR BY EXAMINING THE TEXT FILE CREATED BY THE KENWOOD SOFTWARE. THE SCREEN SHOTS OF KENWOOD CORPORATIONS SOFTWARE VIOLATES NO COPYRIGHT SINCE THESE SCR
11、EEN SHOTS ARE FOUND IN THE PUBLIC DOMAIN. IT IS THE AUTHORS OPINION AS TO WHAT COMMANDS ARE USED TO OBTAIN INFORMATION IN THE KENWOOD SOFTWARE. INDEMNIFICATION: TO THE EXTEND PERMITTED BY LAW THROUGH THIS AGREEMENT, THE READER AGREES TO INDEMNIFY AND HOLD HARMLESS THE AUTHOR OF THIS DOCUMENT, OR ANY
12、 PERSON FROM AND AGAINST ALL CLAIMS, LIABILITIES, LOSSES, CAUSES OF ACTION, DAMAGES, JUDGMENTS, AND EXPENSES, INCLUDING THE REASONABLE COST OF ATTORNEYS FEES AND COURT COSTS, FOR INJURIES OR DAMAGES TO THE PERSON OR PROPERTY OF THIRD PARTIES, INCLUDING, WITHOUT LIMITATIONS, CONSEQUENTIAL DAMAGES AND
13、 ECONOMIC LOSSES, THAT ARISE OUT OF OR IN CONNECTION WITH THE READERS USE, MODIFICATION, OR DISTRIBUTION OF THIS DOCUMENT, ITS DERIVATIVES, OR ANY OTHER ACCOMPANYING DOCUMENTATION. 5 6 Kenwood TH- F6A/TH- F7E Protocol Specification This document describes the serial commands used to program and cont
14、rol the Kenwood TH- F6A/TH- F7E handheld transceiver via its serial port. Introduction: The Kenwood TH- F6A/TH- F7E transceiver can be programmed through the serial port using a suitable interface optional PC interface cable (PG- 4P). This allows memory management (as used by the Kenwood MCP softwar
15、e) as well as software control of the radio. The information obtained for this document was gathered using the following equipment and software: Apple Macintosh 17” PowerBook 1Ghz G4 Computer. ZTERM V 1.1Beta 7 Terminal Software. BBEdit Version 7.02 Test Editing Software. Microsoft Word X for Macint
16、osh Service Release 1. KeySpan USA- 19QW USB to Serial Port Adaptor. Kenwood TH- F6 FM Transceiver. Kenwood PG- 4P Programming Interface. HP 18180A RS- 232C/V.24/RS- 449 Serial Port Interface. HP 4952A Protocol Analyzer. Heres how I did it. I wrote files that contained all possible one, two, three,
17、and four letter commands using BBEdit. These files also had each command alone or with a “0” following each command. I sent these files to the TH- F6 using the “Send Text” menu command in the ZTERM terminal program. Monitored and recorded the communications using the HP 4952A Protocol Analyzer. Edit
18、ed the recorded responses from the TH- F6 using BBEdit. In BBEdit, I setup a regular expression that searched for a response from the TH- F6 that was not a “?”. Recorded the commands that had a valid response. Then I went back, with much patience, and “played” with each valid command until I determi
19、ned its function and syntax. The results of my research were recorded in Microsoft Word. 8 List of Tables Table #Description 1APO 2Balance 3Band 4Band Limits 5Band Switch 6Battery Saver 7Battery Type 8Busy 9Call Key 10Character 11Contrast 12DCS Code 13DTMF 14DTMF Memory Locations 15DTMF Pause 16DTMF
20、 Speed 17Dual Mode 18Fine Tuning Step Size 19Frequency 20Frequency Value 21Ham Band 22ID 23Language 24Lock 25Logic 26Memory Channel 27Memory Group 28Memory Recall 29Modulation Mode 30Name/Frequency Mode 31Packet Speed 32Power Level 33Return Code 34Scan Resume Method 35Serial Port Parameters 36Squelc
21、h 37State 38Step Size 39System Reset 40Tone/CTCSS Frequency Codes 41VFO Mode 42VOX Delay 43VOX Gain 9 1. APO Table valTime 0Off 130 min 260 min 10 2. Balance Table valA BandB Band 0100%0% 175%25% 250%50% 325%75% 40%100% 11 3. Band Table bandA/B BandFreq 0A2m 1A1.25m 2A70cm 4BAM 5BHF 6B6m 7BFM 8BAir
22、9B2m aBVHF TV bB1.25m cB70cm dBUHF TV eB23cm 12 4. Band Limits Table bandA/B Bandlist 0A2m lower 2m upper 1.25m lower 1.25m upper 70cm lower 70cm upper 1BAM lower AM upper HF lower HF upper 6m lower 6m Upper FM lower FM upper Air lower Air upper 2m lower 2m upper VHF TV lower VHF TV upper 1.25m lowe
23、r 1.25m upper 70cm lower 70cm upper UHF TV lower UHF TV upper 23cm lower 23cm upper 13 5. Band Switch Table valA/B 0A 1B 14 6. Battery Saver Table valTime 0Off 10.2 20.4 30.6 40.8 51.0 (default) 62.0 73.0 84.0 95.0 15 7. Battery Type Table valType 0Lithium 1Alkaline 16 8. Busy Table statState 0Not b
24、usy 1Busy 17 9. Call Key Table valTime 0Call 11750 Hz 18 10. Character Table Available Characters (TH- F6A) ABCDEFGHIJ KLMNOPQRST UVWXYZ_ abcdefghi jklmnopqrs tuvwxyz| SP!“#$% ? Additional Characters (TH- F7E) 19 11. Contrast Table valA 00(Minimum) 01 02 03 04 05 06 07 08Default 09 10 11 12 13 14 15
25、 16Maximum 20 12. DCS Code Table CodeCodeCodeCode 023152311466 025155315503 026156325506 031162331516 032165332523 036172343526 043174346532 047205351546 051212356565 053223364606 054225365612 065226371624 071243411627 072244412631 073245413632 074246423654 114251431662 115252432664 116255445703 122
26、261446712 125263452723 131265454731 132266455732 134271462734 143274464743 145306465754 21 13. DTMF Table Dual Tone Multi- Frequency (DTMF) Table High- Group Frequencies 1209 Hz1336 Hz1477 Hz1633 Hz 697 Hz1ABC 2 DEF 3 A 770 HzGHI 4 JKL 5 MNO 6 B 852 HzPRS 7 TUV 8 XYZ 9 C Low- Group Frequencies 941 H
27、z*OPER 0 #D Dual Tone Multi- Frequency, or DTMF is a method for instructing a telephone switching system of the telephone number to be dialed. The DTMF dialing system was developed by AT&T in the 1960s and was deployed within the AT&T telephone network as a way for customers to direct calls using in
28、- band signaling. This was marketed by AT&T under the registered trade name Touch- Tone. The DTMF system uses eight different frequency signals transmitted in pairs to represent sixteen different numbers, symbols and letters. This table shows how the frequencies are organized. The frequencies used w
29、ere chosen to prevent any harmonics from being incorrectly detected by the receiver as some other DTMF frequency. The transmitter of a DTMF signal simultaneously sends one frequency from the high- group and one freqency from the low- group. This pair of signals represents the digit or symbol shown a
30、t the intersection of row and column in the table. For example, sending 1209Hz and 770Hz indicates that the 4 digit is being sent. 22 14. DTMF Memory Locations Table DTMF Memory Locations ccNumberName 00 01 02 03 04 05 06 07 08 09 23 15. DTMF Pause Table valDuration 0100 ms 1250 ms 2500 ms 3750 ms 4
31、1000 ms 51500 ms 62000 ms 24 16. DTMF Speed valSpeed 0Slow 1Fast 25 17. Dual Mode Table valMode 0Single 1Dual 26 18. Fine Tuning Step Size Table valStep Size 033 Hz 1100 Hz 2500 Hz 31000 Hz 27 19. Frequency Table FieldValueDescriptionSplit Use freq11 digitsSee Frequency Value Tableyes step0- 9See St
32、ep tableyes shift/offset0, 1, 20 = none or split, 1 = positive, 2 = negativeno rev0, 10 = Reverse off, 1 = Reverse on.no tone0, 10 = Tone off, 1 = tone onno CTCSS0, 10 = CTCSS off, 1 = CTCSS onno DCS0, 10 = DCS off, 1 = DCS onno tone freq1- 39See Tone/CTCSS Frequency Codes Tableno CTCSS freq1- 39See
33、 Tone/CTCSS Frequency Codes Tableno DCS code023 - 754See DCS Code Tableno offset freq9 digits9 digits in Hzno mode0 - 5See Mode Tableno lockout0, 10 = no, 1 = yesno 28 20. Frequency Value Table freq 5 digit valuennnnn frequency in MHz 11 digit valuennnnnnnnnnn frequency in Hertz If the frequency is
34、a five (5) digit value, then the frequency is in MHz. If the frequency is an 11 digit value, then the frequency is in Hertz. For example, 00137 is 137.000 MHz, where 00163275000 is 163.275 MHz. 29 21. Ham Band Table bandHam Band 02m 11.25m 270cm 30 22. ID Table id TH- F6 TH- F7 31 23. Language Table
35、 langLanguage 0English 1Japanese (Katakana) 32 24. Lock Table valState 0Unlocked 1Locked 33 25. Logic Table valState 0Off 1On 34 26. Memory Channel Table nameStep Size 000 - 399400 memory channels L0 L910 lower scan limit channels U0 U910 upper scan limit channels I0 I910 information channels PR1, P
36、R22 priority channels n/a3 call channels (one for each of the three bands) n/a3 A- band VFO settings n/a11 B- band VFO settings n/a10 DTMF memories 35 27. Memory Group Table 12345678 01234567 spacespacespacespacespacespacespacespace Each column contains the valid character for the respective positio
37、ns. For example, position number five (5) may contain either a four (4) character or an ASCII space character. If the four character is present, the fourth group is linked. If the fifth position contains an ASCII space, the fourth group is not a member of this link. 36 28. Memory Recall Table valMet
38、hod 0All bands 1Current band 37 29. Modulation Mode Table modeModulation 0FM 1WFM 2AM 3LSB 4USB 5CW 38 30. Name/Frequency Mode Table valMode 0Name 1Frequency 39 31. Packet Speed Table valSpeed 01200 bps 19600 bps 40 32. Power Level Table pwrOutput 0H 1L 2EL 41 33. Return Code Table Return CodeDescri
39、ption NRadio recognized command, but it was used incorrectly or the invalid parameters were specified. ?Radio does not recognize the command commandCommand accepted by radio. May be followed by additional values or parameters. 42 34. Scan Resume Table valMethod 0Time 1Carrier 2Seek 43 35. Serial Por
40、t Parameters Table NameValue speed9600 Baud bits8 paritynone stop bits1 44 36. Squelch Table val 00No Squelch 01| 02| 03| 04| 05Highest Squelch The squelch values range form 00 (no squelch) to 05 (highest squelch). The higher the level, the stronger the signals must be to un- mute the speaker and al
41、low the signal to be received. 45 37. State Table valState 0Disabled 1Enabled 46 38. Step Size Table NumberStep Size 05.0 kHz 16.25 kHz 210.0 kHz 312.5 kHz 415.0 kHz 520.0 kHz 625.0 kHz 730.0 kHz 850.0 kHz 9100.0 kHz 47 39. System Reset Table NumberStep Size 0No 1VFO 2Menu 3Full 48 40. Tone/CTCSS Fr
42、equency Codes Table #Tone#Tone#Tone#Tone 0167.01297.423141.334206.5 0269.313100.024146.235210.7 0371.914103.525151.436218.1 0474.415107.226156.737225.7 0577.016110.927162.238229.1 0679.717114.828167.939233.6 0782.518118.829173.840241.8 0885.419123.030179.941250.3 0988.520127.331186.242254.1 1091.521
43、131.832192.8 1194.822136.533203.5 49 41. VFO Mode Table modeMode 0VFO 1MR 2CALL 50 42. VOX Delay Table valTime 0250 ms 1500 ms 2750 ms 31000 ms 41500 ms 52000 ms 63000 ms 51 43. VOX Gain Table val 00Least Sensitive 01| 02| 03| 04Default 05| 06| 07| 08| 09Most Sensitive The VOX Gain value varies from
44、 00 (least sensitive) to 09 (most sensistive). The level should be set to allow the transceiver to reliably switch to transmit mode each time the operator speaks without allowing background noise to trigger the transceiver. 52 Commands 53 Command Summary CommandDescriptionMenu Item ANTBar Antenna26
45、APOAutomatic Power Off (APO)18 AROAuto Repeater Offset05 ATTAttenuatorn/a ASCAuto Simplex Checkn/a BALVolume Balancen/a BATBattery Type30 BCBand Controln/a BELTone Alertn/a BEPBeep Function19 BYBusyn/a CKEYCall Key23 CNTContrast16 CRCall Channel Readn/a CWCall Channel Writen/a DATPPacket Speed28 DLD
46、ualn/a DLKDTMF Lock14 DMGet/Set DTMF Memory Number Location10 DMNGet/Set DTMF Memory Name Location10 DWDownn/a ELKTune Enable07 FLFrequency Limitsn/a FQCurrent Frequency and Step Sizen/a FSTFine Tuning Step Sizen/a IDIdentity of Radion/a LANGet/Set Default Language27 LKLockn/a LMPLampn/a MCMemory Ch
47、annel Frequency and Step Sizen/a MDModulation Moden/a MESGet/Set Power on Message15 54 CommandDescriptionMenu Item MGLMemory Group Link02 MNAMemory Namen/a MNFMemory Name Frequencyn/a MRMemory Channel Readn/a MRMMemory Recall Method03 MWMemory Writen/a NARFM Narrow29 NSFTBeat Shift25 PCPower Control
48、n/a PTDTMF Pause13 PVProgram VFO Limits04 RBNSet Bandn/a RXReceiven/a SCRScan Resume01 SQSquelchn/a SRReset31 SVBattery Saver17 TH1750 Hold24 TXSTransmit Inhibit08 TXHDTMF Hold12 TSPDTMF Speed11 TTTransmit Tonen/a TYDRadio Typen/a TXTransmitn/a UPUpn/a VMCMode of the VFO bandn/a VOXVOX Transmitn/a V
49、RVFO Readn/a VWVFO Writen/a VXBVOX on Busy20 VXDVOX Delay22 VXGVOX Gain21 55 Command Description Format MnemonicShort Description Description: Long description of command function. Function: Description of what command does to transceiver. Send: Format of command sent to transceiver. Parameters for each command are enclosed in . Return: Format of the response from the transceiver. Where: A description of the parameters for the command. Notes: Any additional information. Example: Examples illustrating command