beautypg.com

Remote control of potentiometers, Meta-commands: ai and k2 – Elecraft KIO2 User Manual

Page 4

background image

4

Remote Control of Potentiometers

Keyer speed, power output, and RIT/XIT offset are controlled by their potentiometers or by the computer,
whichever was changed last. The remote-control range of the speed and power pots is the same as for manual
control, while the remote-controlled RIT/XIT offset pot range is +/- 9.99 kHz in 10 Hz steps.

The AF GAIN and RF GAIN controls cannot be emulated, since the signals involved are controlled directly by
potentiometers, not by the microcontroller. As a partial substitute for variable RF gain, the preamp and/or attenuator
can be turned on or off under computer control, providing +14, +4, 0, and -10 dB relative to both off.

Meta-commands: AI and K2

The AI and K2 commands do not affect the transceiver's configuration. Instead, these meta commands change the
way other commands behave. During program development, both AI and K2 can be left at their default values. As
the program progresses, you may wish to use these commands to gain access to more advanced features.

The AI and K2 commands can be sent as often as you wish. You can even use them to bracket one or more selected
commands if you don't want to permanently change the mode. For example: K22; FW; K20; selects command
mode K22 just for the benefit of the FW command, then returns to mode K20. (The extended FW response returns
XFIL number and AFIL mode.)

AI (Auto-info mode): The AI meta-command controls how and when the K2 responds to commands:

AI0, No Auto-info: This is the default. No radio information will be automatically reported. (You can still request
specific information using GET commands.)

AI1, Auto-Info Mode 1: The K2 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). The IF responses are suppressed during VFO movement. Note: putting the K2 into
auto-info mode 1 (by sending AI1;) causes an initial IF response.

AI2, Auto-Info Mode 2: The K2 sends an appropriate response (FA, FB, IF, GT, etc.) whenever any front-panel
event occurs. This applies to all of the events mentioned for mode AI1, as well as all potentiometer changes except
AF GAIN and RF GAIN, and all switch presses

2

. In some cases responses are grouped; e.g., pressing switches will

report the present state of several parameters, including the one related to the new event.

AI3, Combination: This is similar to mode AI2 and is provided only for compatibility with existing programs.

K2 (K2 command mode): The K2 meta-command modifies the data format of selected commands, as follows:

K20, Normal mode: This is the default. In this mode, command "extensions" are disabled, such as control of the
audio filter by the FW command. This may simplify program development, and also provides greater compatibility
with existing software.

K21, Normal/rtty_off: Same as K20, except that the MD and IF commands report RTTY and RTTY-reverse modes
as LSB and USB, respectively. This may be useful if your program doesn't support the K2's RTTY mode.

K22, Extended mode: Enables all command extensions. This is the mode we recommend for use with new
application programs or programs that will be modified to function better with the K2.

K23, Extended/rtty_off: Enables all extensions, but like mode K21, alters the nature of the MD and IF commands.

2

The only switch combination that causes an auto-info response is AGC OFF (

P R E / A T T + A G C

), and only if AI mode 2 or

3 is in effect, as well as K2 mode 2 or mode 3.

This manual is related to the following products: