
5
Command Examples
Macros
Macros – strings containing one or more control commands – can be used to automate K3/KX3 front panel switch
sequences. Table 2 lists some examples. See Creating and Using Macros (page 6) for complete instructions.
Table 2 Sample Macros. These can be altered or combined as needed (see the Command Reference section).
CW DX split starting point: A>B twice, enter
SPLIT, move VFO B up 2 kHz, RIT/XIT off
SWT13;SWT13;FT1;UPB5;RT0;XT0;
1
Boost 100-Hz TX EQ band by 8 dB; others “flat”
TE+00+08+00+00+00+00+00+00;
Diversity mode, main/sub preamps on, 200-Hz
bandwidth, no IF shift
DV1;PA1;PA$1;BW0020;IS 9999;
Turn off split/RIT/XIT; unlink VFOs; open squelch
30 m, AM mode, VFO A to 10.0 MHz, 3 kHz AF
bandwidth (requires 6 kHz IF crystal filter)
FA00010000000;MD5;FA00010000000;
BW0300;
2
Switch to AM radio station at 1550 kHz; 4 kHz BW,
attn. on, preamp off
FA00001550000;MD5;FA00001550000;
BW0400;IS 9999;RA01;PA0;
Set the MAIN:LCD BRT menu parameter to 6
Load frequency memory #32 into VFOs A and B
Send “BT” at 100 W, 10 W, and 1 W, then restore
power to 100 W (“=” embeds a BT prosign)
PC100;KYW =;PC010;KYW =;
PC001;KYW =;PC100;
Set power to 10 W and enter TUNE mode
Turn on an external amplifier and set K3 drive to 65
W (see CONFIG:DIGOUT1, Owner’s Manual)
Send “5NN” at 40 WPM, “TEST ” at 30 WPM
KS040;KYW5NN ;KS025;KYWTEST ;
Set main and sub AF GAIN to zero
Set monitor volume to zero (present mode)
Stores VFO A & B in per-band quick-memory M4
and starts scan (> 2 second hold starts “live” scan);
VFO B frequency must be > VFO A
SWT15;SWT39;SWT23;SWT39;SWH41;
4
Send frequency info to a device attached to the
serial port, such as an antenna controller or ATU
1
SWT13 is a switch-emulation command that has the same effect as tapping A>B. The KX3 has different SWT codes. FT1
enters split mode. The number 5 in UPB5 is not a value in kHz, but an index into the table of step sizes (in this case 2 kHz); see
the DN command in the command reference for full details. RT0 and XT0 turn off RIT and XIT.
2
The first FA command in this macro may cause a band change. MD (mode) is sent after it, so the mode change will apply to
the new band. The second FA command is only required if auto-offset-on-mode-change is in effect. (In CONFIG: CW WGHT,
tapping 5 alternates between VFO NOR and VFO OFS. In the latter case, the VFO frequency is adjusted when switching
between CW and any other mode.)
3
MN accesses menu entries. MP can then be used (in some cases) to read or set the parameter value. In the LCD BRT macro,
MP005 sets LCD BRT to 6 . You can determine a menu entry’s parameter range by manually setting the parameter to the
lowest/highest values, typing “MP;” each time in the command test box at the top of the Command Tester screen.
4
This example uses per-band memory M4 (SWT39), but any of M1-M4 could be used, or quick memories 0-9 (see SWT/SWH
command). If scanning is started with a macro, the last switch emulation command in the macro must be SWH41 (SCAN).
5
IF is a GET command (general transceiver info, including VFO A’s frequency and mode). When the K3 encounters a GET
command in a macro, it sends the response to any device attached to the serial port, just as if a computer had requested it.
Multiple GET commands could be placed in a macro if necessary; examples include FA and FB (VFO A and B frequencies).
Commentaires sur ces manuels