home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / hamradio / kenwood1.zip / TS940.DOC < prev   
Text File  |  1990-09-10  |  4KB  |  105 lines

  1. Subject: TS940 control program (TS940.ASC)
  2.  
  3. From: WK2S at WB2COY packet radio BBS in Poughkeepsie, NY
  4.  
  5. Date: September 10, 1990
  6.  
  7.  
  8. TS940.ASC is a BASIC language program for controlling a Kenwood
  9. TS-940S and various other Kenwood transceivers (TS440, TS711, TS811 and
  10. maybe some others.)
  11.  
  12. For use with the TS-940S, you need to install an IF-10B interface
  13. unit in the 940, and you need an IF-232C level converter between
  14. your radio and your computer.
  15.  
  16.  
  17.        TS-940S
  18.       +----------+                             IBM PC
  19.       |   IF-10B | <---------> IF-232C <-----> serial
  20.       +----------+                             port
  21.  
  22. The program is run as any other BASIC program on your PC.  Serial
  23. communications port 1 is used by the program;  if you use port 2,
  24. change the port number in line 20.
  25.  
  26. Program functions
  27. -----------------
  28.  
  29.   The program displays a representation of the TS-940 tuning dial
  30.   and shows the frequency and mode in the upper left corner.  The
  31.   status of the RIT and XIT is displayed in the middle of the top
  32.   line along with the offset value.
  33.  
  34.   F1  key - sets VFO A (enter the desired frequency in MHz)
  35.   F2  key - sets VFO B
  36.  
  37.   F3  key - refreshes the tuning dial display (this is often necessary
  38.             when switching between the LIST and tuning dial display.)
  39.  
  40.   F5  key - loads a file of frequencies which you can set into the
  41.             current VFO (see F9 LIST function).
  42.  
  43.   F9  key - display a LIST of frequencies from a frequency file.
  44.             When the list is displayed, use the Up and Down arrow keys
  45.             to position the cursor (reverse lettering) and press Enter
  46.             to load the highlighted frequency into the current VFO.
  47.  
  48.             The Esc key is used to return you to the frequency dial
  49.             display.
  50.  
  51.   F10 key - saves the current frequency in the LIST of frequencies
  52.             that can be selected by the F9 key.  When you press F10,
  53.             you are prompted for a "Description ===>" that you can fill
  54.             in to remind you of why you've saved a particular frequency.
  55.  
  56.  
  57. Frequency LIST file
  58. -------------------
  59.  
  60.   You can create a file containing a list of frequencies.  The F5 key
  61.   allows you to load the file, and the F9 key displays the list
  62.   from which you can select a desired frequency.
  63.  
  64.   Each line in the file should begin with the frequency (in MHz) followed
  65.   by one (or more) spaces and an optional comment.  For example,
  66.  
  67.           10.000  WWV in Colorado
  68.  
  69.   A sample frequency file, FREQ.SWL, is supplied in this package.
  70.  
  71.  
  72. Program description
  73. -------------------
  74.  
  75.   The program is somewhat useful "as is"; however, I encourage you to
  76.   modify it to suit your needs.
  77.  
  78.   Line 100 - tells BASIC that the subroutine at line 5000 should be
  79.   called for each character received from your radio.
  80.  
  81.   Line 5000 - is the beginning of the subroutine that get control for
  82.   each character from the TS-940.  The TS-940 sends lines of data to
  83.   your program.  Each line is ended by a semi-colon (;).  This subroutine
  84.   looks for a semicolon and sets a variable, L, when the semi-colon is
  85.   found.
  86.  
  87.   Line 1000 - is the beginning of the programming loop where the
  88.   program spends most of its time.
  89.  
  90.     Line 1005 sends the 'AI;' command to the TS-940; this command tells
  91.     the radio to send the computer a status line whenever the frequency
  92.     or mode of the radio changes.
  93.  
  94.     When the end of a line from the TS-940 is detected (L=1 in line 1100),
  95.     the subroutines at 6000 and 9000 are called.
  96.  
  97.   Line 6000 - is the beginning of the subroutine that extracts information
  98.   from the data received from the TS-940
  99.  
  100.   Line 9000 - displays the data received from the TS-940 and the
  101.   tuning dial.
  102.  
  103.  
  104.  
  105.