《TS-480HX_SAT_PC_control_user.pdf》由会员分享,可在线阅读,更多相关《TS-480HX_SAT_PC_control_user.pdf(26页珍藏版)》请在收音机爱好者资料库上搜索。
1、 2003/11/28 09 08 07 06 05 04 03 02 01 00 PC CONTROL COMMAND REFERENCE FOR THE TS-480HX/ SAT TRANSCEIVER 1 PC CONTROL COMMAND ABOUT THIS REFERENCE All descriptions in this PC CONTROL COMMAND reference are for the users convenience only. KENWOOD will not support or warrantee this documentation in any
2、 way. HARDWARE DESCRIPTION The TS-480 transceiver uses a full-duplex, asynchronous, serial interface for communicating through the male 9-pin D-sub connector. Each data is constructed with 1 start bit, 8 data bits, and 1 stop bit (4800 bps must be configured as 2 stop bits). No parity is used. The p
3、inout and the pin functions of the COM connector on the transceiver are shown below: Front view 12345 9876 COM 1 2 3 4 5 6 7 8 9 Transmit data Receive data Signal ground Receive enable Transmit enable Output Input Input Output COM Pin No. COM Pin Name (Ref.: Computer) Function (Ref.: Transceiver) I/
4、O NC RXD TXD NC GND NC RTS CTS NC RXD:Transmit data is serial data transferred from the transceiver to the computer. TXD:Receive data is serial data transferred from the computer to the transceiver. GND:Signal ground pin RTS:This signal is applied to the transceiver. It is used to inhibit transmit d
5、ata from the transceiver when the computer is not ready to receive data. Transmit data is inhibited when the level is low. CTS:This signal is applied from the transceiver. It is used to inhibit transmit data from the computer when the transceiver is not ready to receive data. Transmit data is stoppe
6、d when the level is low. CONTROL OPERATION Most computers handle data in the form of “bits” and “bytes”. A bit is the smallest piece of information that a computer can handle. A byte is composed of eight bits. This is the most convenient form for most computer data. This data may be sent in the form
7、 of either serial or parallel data strings. The parallel method is faster but more complicated, while the serial method is slower and requires less complicated equipment. The serial form is, therefore, a less expensive alternative. Serial data transmission uses time-division methods over a single li
8、ne. Using a single line also offers the advantage of reducing the number of errors due to line noise. Only 3 lines are required theoretically for control of the transceiver via the computer: Transmit data Receive data Ground From a practical standpoint, it is also necessary to incorporate some means
9、 of controlling when this data transfer will occur. The computer and transceiver cannot be allowed to send data at the same time! The required control is achieved by using the RTS and CTS lines. To interface between the TS-480 transceiver and a PC, use a commercially available cable with a DB-9 fema
10、le connector at each end. Each connector pin must be connected to the same pin number at the other end (a straight cable). To control the transceiver from a PC, utilize the general purpose terminal program to send commands to the tranceiver. The transceiver responds the command accordingly. For exam
11、ple, the transceiver is placed into the transmit mode whenever the character string “TX;” is sent from the computer. The character string “TX;” is called a PC control command. You can further develop or create a script of the commands using a macro function of the terminal program. Kenwood also prov
12、ides the remote control program, ARCP-480 at our Web site. You can download the program for free and try it out on your PC. Access amateur.html and follow the instructions. 2 PC CONTROL COMMAND Alphabetical Commands A command consists of 2 alphabetical characters. You may use either lower or upper c
13、ase characters. The commands available for this transceiver are listed in the PC Control Command Tables from page 3. Parameters Parameters are used to specify information necessary to implement the desired command. The parameters to be used for each command are predetermined. The number of digits as
14、signed to each parameter is also predetermined. Refer to the Computer Control Commands and the PC Control Command Tables to configure the appropriate parameters. When configuring parameters, be careful not to make the following mistakes. (correct parameter: “IS+1000”) IS1000;Not enough parameters sp
15、ecified (No direction given for the IF shift) IS+100;Not enough digits (Only three frequency digits given) IS+1000; Unnecessary characters between parameters IS+10000;Too many digits (Five frequency digits given) Note: If a particular parameter is not applicable to this transceiver, the parameter di
16、gits should be filled using any character except the ASCII control codes (00 to 1Fh) and the terminator (;). Terminator To signal the end of a command, it is necessary to use a semicolon (;). The digit where this special character must appear differs depending on the command used. Error Messages In
17、addition to the Answer command, the transceiver can send the following error messages. Error Message Reason for Error Command syntax was incorrect. Command was not executed due to the current status of the transceiver (even though the command syntax was correct). A communication error occurred such
18、as an overrun or framing error during a serial data transmission. Receive data was sent but processing was not completed. ?; E; O; Note: Occasionally this message may not appear due to microprocessor transients in the transceiver. COMPUTER CONTROL COMMANDS A computer control command is composed of a
19、n alphabetical command, various parameters, and the terminator that signals the end of the control command. EXAMPLE: Command to set VFO A to 7 MHz Alphabetical command ; Terminator 00007000000FA Parameters Commands can be classified as shown below: Input command (Input to the transceiver) Output com
20、mand (From the transceiver) Set command (Sets a particular condition) Read command (Reads an answer) Answer command (Transmits a condition) Computer control commands For example, note the following in the case of the FA command (Frequency of VFO A): To set the frequency to 7 MHz, the following comma
21、nd is sent from the computer to the transceiver: “FA00007000000;”(Set command) To read the frequency of VFO A, the following command is sent from the computer to the transceiver: “FA;”(Read command) When the Read command above has been sent, the following command is returned to the computer: “FA0000
22、7000000;”(Answer command) Note: Do not use the control characters 00 to 1Fh since they are either ignored or cause a “?” answer. Program execution may be delayed while turning the Tuning control rapidly. 3 PC CONTROL COMMAND CA . sutat srenutannetnal anretn iehtsdaerros teS: sretemaraP 1P URHTTA-XR:
23、0 NITA-XR:1 2P URHTTA-XT:0 NITA-XT:1 3P ) rewsnA(deppot ss ign i nuT/ ) teS(gn i nutpotS:0 ) rewsnA(ev i t cas ign i nuT/ ) teS(gn i nutt ratS:1 teS 12345678901 AC1P2P3P; daeR 12345678901 AC; rewsnA 12345678901 AC1P2P3P; GA .n i agFAehtsdaerros teS: sretemaraP 1P .084-STehtrof0syawlA:0 2P ) . xam(55
24、2) .n im(000 teS 12345678901 AG1P2P2P2P; daeR 12345678901 AG1P; rewsnA 12345678901 AG1P2P2P2P; IA .FFO/NOno i t cnuf) IA(no i tamrofnIotuAehtsdaerros teS: sretemaraP 1P FFOIA:0 NOs itamrofIAd l oy l nO:1 NOs itamrofIAdednet xey l nO:2 NOeras tamrofhtoB:3 rev i ecsnar teht,det ce l ess itamrofIAdedne
25、t xeehtnehW . sretemarapehtsdnesy l l ac i tamotua eht,egnahcsretemarapFIehtdnaNOs iIAd l oehtnehW . sdnoces5.1yrevednammocFIehtsdnesrev i ecsnar t retemarapIAeht,FFOdenruts irev i ecsnar tehtnehW .0semoceb teS 12345678901 AI1P; daeR 12345678901 AI; rewsnA 12345678901 AI1P; NA .2TNA/1TNArot cennocan
26、netnaehts t ce l eS: sretemaraP 1P 1TNAs t ce l eS:1 2TNAs t ce l eS:2 teS 12345678901 AN1P; daeR 12345678901 AN; rewsnA 12345678901 AN1P; SA . sretemarapno i t cnufedoMotuAehtsdaerros teS: sretemaraP 1P .084-STehtrof0syawlA:0 2P )s tn i op23(dnabzHM05FH:1300 3P .0ebt sum)s( t i g i ddesunU. ) t i g
27、 i d-11(zHn iycneuqerF 4P devreseR:0 BSL:1 BSU:2 WC:3 MF:4 MA:5 KSF:6 )esreveRWC(RWC:7 devreseR:8 )esreveRKSF(RSF:9 teS 12345678901 AS1P2P2P3P3P3P3P3P 11213141516171819102 3P3P3P3P3P3P4P; daeR 12345678901 AS1P2P2P; rewsnA 12345678901 AS1P2P2P3P3P3P3P3P 11213141516171819102 3P3P3P3P3P3P4P; PC CONTROL
28、 COMMAND TABLES 4 PC CONTROL COMMAND UB .dnabycneuqer fehtpusevoM: sretemaraP enoN teS 12345678901 BU; daeR 12345678901 rewsnA 12345678901 YB . sutat sl ang i sysubehtsdaeR: sretemaraP 1P sutat srev i ecsnarT ysubtoN:0 ysuB:1 2P )084-STehtrofe l bac i l ppatoN(sutat srev i ecer -buS .084-STrof0syawl
29、A:0 teS 12345678901 daeR 12345678901 BY; rewsnA 12345678901 BY1P2P; AC . sutat sno i t cnuftaeb-oreZotuAWCehtsdaerdnas teS: sretemaraP 1P ev i t catoN/no i t cnuftaeb-oreZotuAWCs l ecnaC:0 ev i t cA/no i t cnuftaeb-oreZotuAWCsetav i t cA:1 teS 12345678901 CA1P; daeR 12345678901 CA; rewsnA 1234567890
30、1 CA1P; CB . sutat sno i t cnufre l l ecnaCtaeBehtsdaerros teS: sretemaraP 1P FFOre l l ecnaCtaeB:0 NO)1CB(1re l l ecnaCtaeB:1 NO)2CB(2re l l ecnaCtaeB:2 teS 12345678901 BC1P; daeR 12345678901 BC; rewsnA 12345678901 BC1P; DB .dnabycneuqer fehtnwodsevoM: sretemaraP enoN teS 12345678901 BD; daeR 12345
31、678901 rewsnA 12345678901 5 PC CONTROL COMMAND HC ITLUMehtgn i su,pupet s1ycneuqner fOFVtner rucehtevoM . l or tnoc : sretemaraP 1P pupet s1l or tnocITLUMehtevoM:0 nwodpet s1l or tnocITLUMehtevoM:1 nwoD/pUzHMehtsed i r revodnammocHC,edomOFVnI . rev i ecsnar t084-STehtfoedom teS 12345678901 CH1P; dae
32、R 12345678901 rewsnA 12345678901 NC . rebmunenotSSCTCehtsdaerdnas teS: sretemaraP 1P 1400 ehtrofl aunamno i t cur t sn i084-STehtfo33egapotrefeR . se i cneuqer fdnasrebmunenotSSCTC teS 12345678901 CN1P1P; daeR 12345678901 CN; rewsnA 12345678901 CN1P1P; TC . sutat sno i t cnufSSCTCehtsdaerdnas teS: s
33、retemaraP 1P FFOno i t cnufSSCTC:0 NOno i t cnufSSCTC:1 teS 12345678901 CT1P; daeR 12345678901 CT; rewsnA 12345678901 CT1P; LD . sutat sno i t cnuf)LND(ret imi Les i oNl at i g iDehtsdaerdnas teS: sretemaraP 1P FFOno i t cnufLND:0 NOno i t cnufLND:1 2P 1l eveLLND:00 2l eveLLND:10 3l eveLLND:20 teS 1
34、2345678901 DL1P2P2P; daeR 12345678901 DL; rewsnA 12345678901 DL1P2P2P; ND . yekNWDenohporc imehtseta l umE: sretemaraP 1P 9900 deterpretn is idnammoceht,de i f i cepss iretemarap1Ponf I .nwodpet s1sa dnammoceht,edomyromeMkc i uQdnaedomyromeMnI nwodl ennahcyromeMasadetaer ts iretemarapatuoht iw ycneu
35、qer fehtsadetaer ts it i, sretemarapht iW.dnammoc .dnammocnwod teS 12345678901 DN1P1P; daeR 12345678901 rewsnA 12345678901 6 PC CONTROL COMMAND XE .uneMno i snet xEehtsdaerros teS: sretemaraP 1P .oNuneM:060000 2P 084-STehtrof00syawlA:00 3P 084-STehtrof0syawlA:0 4P 084-STehtrof0syawlA:0 5P )htgne le
36、l ba i raV(sret carahcfogn i r t sA .084-STehtroft i g i d-1y l l amroN . sretemarapt i g i d-2esu2584dna53,23.oNuneM :e l pmaxednammoC ssenthg i rbya l ps iD . )FFOno i tan imu l l iya l ps iD(;00000000XE . )3l eve lssenthg i rbya l ps iD(;30000000XE teS 12345678901 EX1P1P1P2P2P3P4P5P 1121314151617
37、1819102 5P; daeR 12345678901 EX1P1P1P2P2P3P4P; rewsnA 12345678901 EX1P1P1P2P2P3P4P5P 11213141516171819102 5P; 7 PC CONTROL COMMAND uneM . oN no i t cnuF 5Pre t ema rapdnammocXE 0123456789revO 000ssenthg i rbya l ps iDFFO1234 100no i tan imu l l iyeKFFONO 200no i tarepoedoMotuAFFONO 300etartnemt su j
38、 dal or tnocgn i nuT0520050001)zH( 400 MFn i l or tnocgn i nuTht iwgn i nuT edom FFONO 500 se i cneuqer fOFVf fosdnuoR l or tnocITLUMehtgn i suybdegnahc FFONO 600 ehtrofez i spet sycneuqer fzHk9 ehtnoedomMAn i l or tnocITLUM dnabt sacdaorbMA FFONO 700 yromem)FFO(dex i fro)NO(e l banuT se i cneuqer f
39、l ennahc FFONO 800dewo l sy l l a i t rapnacsmargorPFFONO 900 ehtrofegnarycneuqer fnwodwo lS nacsmargorP 001002003004005)zH( 010d l ohnacsmargorPFFONO 110dohtememusernacSotoc 210l eve l tuptuopeeBFFO123456789 310emu l ovenoted i sXTFFO123456789 410emu l ovkcabya l pegassem1-SGVFFO123456789 510emu l
40、ovtnemecnuonna1-SGVFFO1234567 610deepstnemecnuonna1-SGVFFO1234 710no i tpecerBSSrofret l i fFIWCesUFFONO 810rez i l auqeXRPSDFFO1bH2bHPF1bb2bbcU 910rez i l auqeXTPSDFFO1bH2bHPF1bb2bbcU 020 roBSSrofhtd iwdnabret l i fXTPSD MA 0.24.2 120gn i nutrewopno i ss imsnar ten iFFFONO 220rem i t tuo-emiTFFO350
41、10203)setun im( 320ya l ps i dycneuqer fret revsnarTFFONO 420 roftnemt su j darewoptuptuO ret revsnarT FFONO 520 ehtsete l pmocTAnehwd l ohXT gn i nut FFONO 620gn i v i ecere l i hwTAen i l -nIFFONO 720TAl anret xeehtrofdohteml or tnoC1tA2tA 820 FHrofya l edl or tnocre i f i l pmaraen i L dnab FFO12
42、3 920 05rofya l edl or tnocre i f i l pmaraen i L dnabzHM FFO123 030gn i drocertnat snoCFFONO 130kcabya l pehttaepeRFFONO 230 ehtgn i taeperrofemi tl avretnI kcabya l p 0123456789 06 )s1fospet sn i ( 330kcabya l prevoy t i ro i rpgn i yeKFFONO 430ycneuqer fenoted i sXT/hc t i pXRWC004054005055006056
43、007057008058 0001 )05fospet sn i ( 530o i tarthg i ewhsad, todgn i yekWCOTUA5.26.27.28.29.20.31.32.33.3 0.4 )1.0fospet sn i ( 630o i tarthg i ewotuagn i yekWCesreveRFFONO 730no i t cnufyekguBFFONO 8 PC CONTROL COMMAND uneM . oN no i t cnuF 5Pre t ema rapdnammocXE 0123456789revO 830no i t i sope l dd
44、aphsaddnatodpawSFFONO 930edomBSSn iXTWCotuAFFONO 040 gn i gnahcrofno i t cer rocycneuqerF WCotBSS FFONO 140t f i hsKSF071002524058)zH( 240y t i ra l opgn i yekKSFFFONO 340ycneuqer fenotKSF57215212)zH( 440MFrofn i agc iM123 540 ataDrofhtd iwdnabret l iF sno i tac i nummoc FFONO 640 ataDrof l eve l tu
45、pn iFA sno i tac i nummoc 0123456789 740 ataDrof l eve l tuptuoFA sno i tac i nummoc 0123456789 840yekFPl enapl or tnoCetomeR ) t i g i d-2(9900 . sno i t cnufdnasrebmunehtrof l aunamno i t cur t sn i084-STehtfo46egapotrefeR 940yek1FPenohporc iM 050yek2FPenohporc iM 150yek3FPenohporc iM 250yek4FPeno
46、hporc iM 350 / ret samn iref snar tycneuqer ft i l pS no i tarepoeva l s FFONO 450 t i l pSder ref snar tehtet i rwott imreP sOFVtegratehtotse i cneuqer f FFONO 550t i b i hn iXTFFONO 650deepsno i tac i nummoct ropMOC00840069002910048300675002511)spb( 750y t i ra l opSTDFFONO 850)XT(tuokco lysuBFFON
47、O 950no i t cnuf) f fOrewoPotuA(OPAFFO06021081)setun im( 060 ehtnotupn io i duaehtht iwt imsnarT l an imretATAD FFONO 9 PC CONTROL COMMAND RF . rev i ecerehtfoedomHC.MroOFVehtsdaerros t ce l eS: sretemaraP 1P AOFV:0 BOFV:1 HC.M:2 .d i l avn isemocebdnammocTFeht,2=1PnehW teS 12345678901 FR1P; daeR 12
48、345678901 FR; rewsnA 12345678901 FR1P; SF . sutat sno i t cnufgn i nuTen iFehtsdaerros t ce l eS: sretemaraP 1P FFOno i t cnufgn i nuTen iF:0 NOno i t cnufgn i nuTen iF:1 teS 12345678901 FS1P; daeR 12345678901 FS; rewsnA 12345678901 FS1P; AF . ycneuqer fAOFVehts tesdnasdaeR: sretemaraP 1P . ) t i g
49、i d-11(zHn iycneuqer fehty f i cepS s t i g i dkna l behT. zHM591.41rof00059141000,e l pmaxeroF .0ebt sum teS 12345678901 FA1P1P1P1P1P1P1P1P 11213141516171819102 1P1P1P; daeR 12345678901 FA; rewsnA 12345678901 FA1P1P1P1P1P1P1P1P 11213141516171819102 1P1P1P; BF . ycneuqer fBOFVehts tesdnasdaeR: sretemaraP 1P . ) t i g i d-11(zHn iycneuqer fehty f i cepS s t i g i dkna l behT. zHM591.41rof00059141000,e l pmaxeroF .0ebt sum teS 12345678901 FB1P1P1P1P1P1P1P1P 11213141516171819102 1P1P1P; daeR 12345678901 FB; rewsnA 12345678901 FB1P1P1P1P1P1P1P1P 11213141516171819102 1P1P1P