Skip to content

Instantly share code, notes, and snippets.

@kareiva
Created February 11, 2017 18:56
Show Gist options
  • Save kareiva/7b0087926bdb1e055b39b6befca15a0e to your computer and use it in GitHub Desktop.
Save kareiva/7b0087926bdb1e055b39b6befca15a0e to your computer and use it in GitHub Desktop.
TS-590S rig definition file for use with fldigi
<!-- Rig definition file for use with fldigi
Date : 25 July 2012
-->
<RIGDEF>
<RIG>Kenwood TS-590S</RIG>
<PROGRAMMER>
Dave Freese, W1HKJ;
Data Mode Bandwidth Control added by Robert Garcia, K5DTE
</PROGRAMMER>
<STATUS></STATUS>
<!-- Title for the RigCAT dialog box that is used for rig control in fldigi
-->
<TITLE>Rig CAT - TS-590S</TITLE>
<!-- default settings for comms setup
-->
<TIMEOUT>50</TIMEOUT>
<RETRIES>4</RETRIES>
<WRITE_DELAY>25</WRITE_DELAY>
<BAUDRATE>9600</BAUDRATE>
<RTSCTS>true</RTSCTS>
<DTRPLUS>true</DTRPLUS>
<RTSPLUS>false</RTSPLUS>
<DTRPTT>false</DTRPTT>
<RTSPTT>false</RTSPTT>
<ECHO>false</ECHO>
<STOPBITS>1</STOPBITS>
<CMDPTT>true</CMDPTT>
<MODES>
<ELEMENT>
<SYMBOL>LSB</SYMBOL>
<BYTE>31</BYTE>
</ELEMENT>
<ELEMENT>
<SYMBOL>USB</SYMBOL>
<BYTE>32</BYTE>
</ELEMENT>
<ELEMENT>
<SYMBOL>CW</SYMBOL>
<BYTE>33</BYTE>
</ELEMENT>
<ELEMENT>
<SYMBOL>FM</SYMBOL>
<BYTE>34</BYTE>
</ELEMENT>
<ELEMENT>
<SYMBOL>AM</SYMBOL>
<BYTE>35</BYTE>
</ELEMENT>
<ELEMENT>
<SYMBOL>FSK</SYMBOL>
<BYTE>36</BYTE>
</ELEMENT>
<ELEMENT>
<SYMBOL>CW-R</SYMBOL>
<BYTE>37</BYTE>
</ELEMENT>
<ELEMENT>
<SYMBOL>FSK-R</SYMBOL>
<BYTE>39</BYTE>
</ELEMENT>
</MODES>
<!-- lsb mode strings should match those given in the modes symbol specifier -->
<LSBMODES>
<STRING>LSB</STRING>
<STRING>FSK</STRING>
</LSBMODES>
<!-- frequency & mode data are contained in the IF; response
IFaaaaaaaaaaaXXXXbbbbbbcdeeefghjklmmn;
12345678901234567890123456789012345678
where:
aaaaaaaaaaa => decimal value of vfo frequency
bbbbb => rit/xit frequency
c => rit off/on
d => xit off/on
e => memory Bank & channel Number
f => tx/rx
g => mode
h => function fr & ft
j => scan off/on
k => split off /on
l => tone off /on
m => tone number
n => shift status
X => unused characters
Test output from Minicom to IF; command
IF00014070000 -00300 000200;
0002000 is vfoA in usb
0001000 is vfoA in LSB
0003000 CW
0004000 FM
0005000 AM
0002100 VFOB in USB
0002001 VFOA in USB SPILT
0012000 PTT on in USB
-->
<BANDWIDTHS>
<ELEMENT>
<SYMBOL>50</SYMBOL>
<STRING>00</STRING>
</ELEMENT>
<ELEMENT>
<SYMBOL>80</SYMBOL>
<STRING>01</STRING>
</ELEMENT>
<ELEMENT>
<SYMBOL>100</SYMBOL>
<STRING>02</STRING>
</ELEMENT>
<ELEMENT>
<SYMBOL>150</SYMBOL>
<STRING>03</STRING>
</ELEMENT>
<ELEMENT>
<SYMBOL>200</SYMBOL>
<STRING>04</STRING>
</ELEMENT>
<ELEMENT>
<SYMBOL>250</SYMBOL>
<STRING>05</STRING>
</ELEMENT>
<ELEMENT>
<SYMBOL>300</SYMBOL>
<STRING>06</STRING>
</ELEMENT>
<ELEMENT>
<SYMBOL>400</SYMBOL>
<STRING>07</STRING>
</ELEMENT>
<ELEMENT>
<SYMBOL>500</SYMBOL>
<STRING>08</STRING>
</ELEMENT>
<ELEMENT>
<SYMBOL>600</SYMBOL>
<STRING>09</STRING>
</ELEMENT>
<ELEMENT>
<SYMBOL>1000</SYMBOL>
<STRING>10</STRING>
</ELEMENT>
<ELEMENT>
<SYMBOL>1500</SYMBOL>
<STRING>11</STRING>
</ELEMENT>
<ELEMENT>
<SYMBOL>2000</SYMBOL>
<STRING>12</STRING>
</ELEMENT>
<ELEMENT>
<SYMBOL>2500</SYMBOL>
<STRING>13</STRING>
</ELEMENT>
</BANDWIDTHS>
<REPLY>
<SYMBOL>MODE</SYMBOL>
<SIZE>38</SIZE>
<STRING>IF</STRING>
<FILL>27</FILL>
<DATA>
<DTYPE>BYTE</DTYPE>
<SIZE>1</SIZE>
</DATA>
<FILL>7</FILL>
<STRING>;</STRING>
</REPLY>
<REPLY>
<SYMBOL>FREQ</SYMBOL>
<SIZE>38</SIZE>
<STRING>IF</STRING>
<DATA>
<DTYPE>DECIMAL</DTYPE>
<SIZE>11</SIZE>
<MAX>99999999999</MAX>
<MIN>00001500000</MIN>
<RESOL>1</RESOL>
</DATA>
<FILL>24</FILL>
<STRING>;</STRING>
</REPLY>
<REPLY>
<SYMBOL>BW</SYMBOL>
<SIZE>5</SIZE>
<STRING>SL</STRING>
<DATA>
<DTYPE>STRING</DTYPE>
<SIZE>2</SIZE>
</DATA>
<STRING>;</STRING>
</REPLY>
<COMMAND>
<SYMBOL>SETFREQ</SYMBOL>
<SIZE>14</SIZE>
<STRING>FA</STRING>
<DATA>
<DTYPE>DECIMAL</DTYPE>
<SIZE>11</SIZE>
<MAX>99999999999</MAX>
<MIN>00001500000</MIN>
<RESOL>1</RESOL>
</DATA>
<STRING>;</STRING>
</COMMAND>
<COMMAND>
<SYMBOL>GETFREQ</SYMBOL>
<SIZE>3</SIZE>
<STRING>IF;</STRING>
<INFO>FREQ</INFO>
</COMMAND>
<COMMAND>
<SYMBOL>SETMODE</SYMBOL>
<SIZE>4</SIZE>
<STRING>MD</STRING>
<DATA>
<DTYPE>BYTE</DTYPE>
<SIZE>1</SIZE>
</DATA>
<STRING>;</STRING>
</COMMAND>
<COMMAND>
<SYMBOL>GETMODE</SYMBOL>
<SIZE>3</SIZE>
<STRING>IF;</STRING>
<INFO>MODE</INFO>
</COMMAND>
<COMMAND>
<SYMBOL>SETBW</SYMBOL>
<SIZE>5</SIZE>
<STRING>SL</STRING>
<DATA>
<DTYPE>STRING</DTYPE>
<SIZE>2</SIZE>
</DATA>
<STRING>;</STRING>
</COMMAND>
<COMMAND>
<SYMBOL>GETBW</SYMBOL>
<SIZE>3</SIZE>
<STRING>SL;</STRING>
<INFO>BW</INFO>
</COMMAND>
<COMMAND>
<SYMBOL>PTTON</SYMBOL>
<SIZE>4</SIZE>
<STRING>TX1;</STRING>
</COMMAND>
<COMMAND>
<SYMBOL>PTTOFF</SYMBOL>
<SIZE>3</SIZE>
<STRING>RX;</STRING>
</COMMAND>
</RIGDEF>
@kareiva
Copy link
Author

kareiva commented Feb 11, 2017

The following FLDIGI settings worked on my system:

screenshot from 2017-02-11 21-24-51

RIG

  • HARDWARE PTT: Check the “PTT tone on right audio channel”.
  • RigCAT: Check the “Use RigCAT” box.
    • Rig description file: TS-590S.xml
    • Device: /dev/ttyUSB0
    • Baud rate: 115200
    • Stopbits: 1
    • Check TRS/CTS flow control
    • Check CAT command for PTT
    • Check DTR +12 v
    • “Initialize” if changes are made.

AUDIO – DEVICES:

Verify the following:

  • Check PortAudio
  • Select USB Audio CODEC for “Capture”
  • Select USB Audio CODEC for “Playback”

AUDIO – RIGHT CHANNEL:

Verify the following:

  • Check “Reverse Left/Right audio channels”

Source: https://ubuntuforums.org/showthread.php?t=2069443

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment