Download Print this page
ELECRAFT K3 Programmer's Reference Manual

ELECRAFT K3 Programmer's Reference Manual

Hide thumbs Also See for K3:

Advertisement

E
LECRAFT
Command Set Overview
The K3 firmware provides a wide range of remote control commands. A brief description of each command
appears in Table 1, and full details can be found in the Command Reference section.
Table 1 K3 Control Commands. Note: Commands marked with an asterisk (*) are
new commands, not available on the Elecraft K2.
Name
Description
! , @ *
Direct DSP control
AG *
AF gain
AI
Auto-info mode
AN
Antenna selection
BG
Bargraph level
BR *
Baud rate set
DB *
VFO B disp. read/write
DL *
Development use only
DM *
Development use only
DN
VFO (or menu) down
DS
VFO A display read/write
FA
VFO A frequency
FB
VFO B frequency
FN *
Func. encoder control
FR
Receive VFO selection
FT
Transmit VFO selection
Some commands emulate front-panel controls, so they can be used to quickly write applications that have a K3
"look and feel." The SWT/SWH commands emulate switch TAP or HOLD. MN directly accesses menu functions.
The DS command reads the VFO A display, including the decimal points, annunciators, and flash/no-flash state of
each annunciator. DB reads the VFO B display, which is fully alphanumeric.
Most of the remaining commands directly read or modify radio parameters, such as the VFO A and B frequencies,
operating mode, keyer speed, power level, and filter bandwidth.
There is often an overlap in command functionality between emulation and parametric commands. For example,
you can select the next operating mode using SW to virtually "tap" the MODE switch, or you directly set a
specific mode using MD. Another case involves the BG and SM commands. BG reads the bargraph level in either
receive or transmit mode, so it can retrieve the S-meter level, RF output level, or ALC level, depending on the
context. The SM command reads only the S-meter level.
Using a Terminal Program
K3 commands are human readable (text), which means you can experiment with them using a terminal program.
When setting up the terminal program, turn on local echo and local line feed so you can see what you've sent to the
K3. Type commands using lower case so you can easily distinguish K3 responses, which will be in upper case. You
can enter carriage returns before or after commands to create white space. The K3 doesn't provide any text editing
support, so if you make a mistake, don't hit backspace--just type a semicolon (;) and start over.
K3 P
ROGRAMMER'S
Rev. A, October 10, 2007
Name
Description
FW
Filter bandwidth and #
GT
AGC speed and on/off
ID
Radio identification
IF
General information
K2
K2 command mode
K3 *
K3 command mode
KS
Keyer speed
KY
Keyboard CW
LD *
Development use only
LK
VFO lock
MD
Operating mode
MN *
Menu access
NB
Noise blanker mode
PA
RX preamp on/off
PC
Power output level
PS *
Power-on/off control
1
R
EFERENCE
Name
Description
RA
RX attenuator on/off
RC
RIT/XIT offset clear
RD
RIT down
RG *
RF gain
RT
RIT on/off
RU
RIT up
RV *
Development use only
RX
Receive mode
SM
S-meter
SQ
Squelch level
SWT/H *
Switch emulation
UP
VFO (or menu) up
TQ
Transmit query
TT *
Text-to-Terminal
TX
Transmit mode (SSB)
XT
XIT on/off

Advertisement

loading
Need help?

Need help?

Do you have a question about the K3 and is the answer not in the manual?

Questions and answers

Summary of Contents for ELECRAFT K3

  • Page 1 When setting up the terminal program, turn on local echo and local line feed so you can see what you've sent to the K3. Type commands using lower case so you can easily distinguish K3 responses, which will be in upper case. You can enter carriage returns before or after commands to create white space.
  • Page 2: Command Format

    Nearly every SET command that supplies a data field has a corresponding GET command, which is just the two- letter command with no data. The data format of the response (RSP) message from the K3 is usually identical to the format of the SET data.
  • Page 3 GET commands.) AI1, Auto-Info Mode 1: The K3 sends an IF (info) response within 1 second when any frequency or mode-related event occurs, either manually (at the radio itself) or via computer commands. These events include: band change, mode change, VFO movement, RIT/XIT offset change or clear, and several additional switches (A/B, REV, A=B, SPLIT, CW REV, RIT, XIT).
  • Page 4 BR * (Serial I/O Baud Rate; SET only) SET format: BRn; where <n> is 0 (4800 b),1 (9600 b), 2 (19200 b), or 3 (38400 b). Note: The K3 firmware download utility automatically sets the K3 to 38400 baud for downloads, then restores the baud rate to the user’s selection (made using the K3’s CONFIG:RS232 menu entry).
  • Page 5 GET format: DS; (no data). Returns everything needed to reproduce the information shown on the VFO A display. The format of K3's response message is: DSttttttttaf; where <tttttttt> is the LCD text and decimal point data, <a> is annunciator data, and <f> is annunciator flash data. These fields are detailed below.
  • Page 6 If the specified frequency is in a different amateur band than the present one, the K3 will change to the new band, and will automatically report the new values of parameters that may have changed . If the specified frequency is over 30 MHz and is within a valid transverter band (as specified by the operator using the K3's TRN 1-3 menu entries), the K3 will switch to that transverter band.
  • Page 7 1 if the transceiver is in split mode, 0 otherwise basic RSP format: always 0 extended RSP format: 1 if the present IF response is due to a K3 band change and 0 otherwise The fixed-value fields (space, 0, and 1) are provided for syntactic compatibility with existing software.
  • Page 8 To exit the menu, send “MN255;”. To change the parameter, use “UP;” and “DN;”. There’s no need to specify MAIN vs. CONFIG; this is determined by the K3 when the menu entry is selected. Also, MAIN and CONFIG are not flashed at the K3 when menu items are accessed remotely.
  • Page 9 Extended RSP format: PCnnnx; where nnn is power, and x is 0 (low power range) or 1 (high power range). Notes: 1. High power range applies only to K3/100, and only if the PA menu entry is on and a high-current supply is connected.
  • Page 10 SET/RSP format: SQnnn; where nnn is 000-250. For compatibility with existing software, the SQ parameter uses different units than the K3's SLC H (squelch level) menu entry. However, the resolution of the squelch setting is still the same, i.e. it is limited to bargraph levels. To set the equivalent of SLC H OFF, 1, 2, 3, …, use SQ000, SQ025, SQ050, SQ075, ….
  • Page 11: Change History

    TX (Transmit Mode; SET only) SET format: TX; (no data). Used to initiate transmit (in SSB and RTTY modes only) by pulling PTT low. Use the RX command to cancel TX. RX/TX status read is available in the IF response. XT (XIT Control;...