page 87
MARK-V FT-1000MP Operating Manual
CAT System Computer Control
C
ONSTRUCTING
AND
S
ENDING
CAT C
OMMANDS
Example #1
: Set Main VFO-A to 14.25000 MHz;
r
First determine the opcode for the desired instruc-
tion by referring to the
CAT
Commands Table. A
good idea would be to store these opcodes within
the program, so they can be looked up when the
user requests the corresponding command.
r
Here the instruction is “Set Main VFO Frequency,”
so the opcode (last byte of the block) is 0AH.
Note
- “H” s following each byte value indicate hexa-
decimal (base 16) values.
r
Build the four argument byte values from the de-
sired frequency by breaking it into 2-digit blocks
(BCD “packed decimal” format). Note that a lead-
ing zero is always required in the hundreds-of-MHz
place (and another in the tens-of-MHz if below 10
MHz).
r
Breaking 14.250.00 MHz into its BCD component,
we arrive at:
r
Inserting the 4-byte BCD-coded frequency (00, 50,
42, 01), the resulting 5-byte block should now look
like this (again, in hex format):
r
Send these five bytes to the transceiver, in the or-
der shown in the table above - from left-to-right: 00
50 42 01 0AH.
Example #2
: Activate a RX Clarifier Offset of +3.5 kHz.
r
Clarifier settings are controlled from opcode 09H.
The first four parameter bytes determine the type
of offset, direction, and frequency displacement.
r
According to the example, the first byte would be
50 (500 Hz), the second 03 (3000Hz), followed by
00H (for +offset), 81H (TX CLAR on) and then
opcode 09H. Remember that the 1st and 2nd bytes
are in BCD format.
r
Completing the command byte sequence, we would
send, in sequence, 50H, 03H, 00H, 81H, 09H, to
effect the Tx Clarifier offset.
You should be getting a feel for the
CAT
command
structuring sequence, let's move to the next step; read-
ing transceiver operational data.
10’s
Hz
0
100’s
Hz
0
1’s
kHz
0
10’s
kHz
5
100’s
kHz
2
1’s
MHz
4
10’s
MHz
1
100’s
MHz
0
00
Byte 1
50
Byte 2
42
Byte 3
01
Byte 4
Byte 1
00
Byte 2
50
Byte 3
42
Byte 4
01
Byte 5
0AH
DATA/ARGUMENT BYTES
OPCODE
Byte 1
50H
Byte 2
03H
Byte 3
00H
Byte 4
81H
Byte 5
09H
DATA/ARGUMENT BYTES
OPCODE