Data Protocol
Serial data is passed via the
panel of the transceiver at 4800 bps. When data is
being transferred, the
panel display is illuminated momentarily, disappear-
ing when the data flow is terminated. All commands
sent from the computer to the transceiver consist of
five-byte blocs, with up to 200 ms between each byte.
The last byte in each block is the instruction opcode ,
while the first four bytes of each block are arguments
(either parameters for that instruction, or dummy val-
ues required to pad the block out to five bytes).
Byte 1
Byte 2
Argument
Argument
CAT 5 -B YTE COMMA ND STR UCTIU RE
Each byte sent consists of one start bit, 8 data bits,
no parity bit, and two stop bits:
Start
0
1
2
Bit
CAT DATA BY TE FORMAT
There are nineteen instruction opcodes for the FT-
920, listed in the chart on page 86. Most of these
duplicate front panel operations, while some replicate
Menu functions. Note that most commands require
one or more parameters to be set; however, regard-
less of the number of parameters present, every
Command Block sent must consist of five bytes.
Accordingly, any
struct the five-byte block by selecting the appropriate
instruction opcode, organizing the parameters, if any,
and providing unused "dummy" argument bytes to
pad the block to its required five-byte length (the
dummy bytes can contain any value). The resulting
five bytes are then sent, opcode last , from the com-
puter to the FT-920 CPU via the computer's serial
port and the transceiver's
88
jack on the rear
indicator on the front
Byte 3
Byte 4
Byte 5
Instruction
Argument
Argument
OPCODE
St
o
p
3
4
5
6
7
Bit
control program must con-
jack.
Constructing and Sending
Example #1:
Set VFO-A to 14.250.00 MHz
H Per the CAT Command Table, the opcode for "Set
VFO-A Frequency" is "0AH." Note that the "H"
following each byte value indicate hexadecimal
(base 16) values. Placing the opcode into the fifth
data bit position, we then enter the frequency into
the first four data bit positions:
10's
100's
Hz
Hz
0
0
00
B yt e 1
The four argument byte values are constructed
from the decimal value by breaking the frequency
into 2-digit blocks (in BCD "packed decimal" for-
mat). Leading zeroes are required in the hun-
dreds-of-MHz place as well as the tens-of-MHz
place (when below 10 MHz).
H We now insert the four-byte BCD-coded frequency
St
o
p
(00, 50, 42, 01) into the five-byte block along with
Bit
the parameter byte, resulting in a complete com-
mand string in hex format:
B yt e 1
00
Send these five bytes to the transceiver, in the
order shown in the table above, left to right:
Example #2:
Store the above frequency (14.250 MHz) into Memory
Channel #1-48
H Memory operation is exercised by Opcode 03H.
In base 16 (hexadecimal), Memory Channel #48
is channel 30. And, pursuant to Note #2 associ-
ated with Opcode 03H, parameter P2 (Memory
Set) must be set to value "00." Therefore, the cor-
responding five-byte command/parameter block
would be
B yt e 1
00
In sum, commands are sent in the following general
format:
B yt e 1
P 4
Commands
1's
10's
100's
1's
10's
kHz
kHz
kHz
MHz
MHz
0
5
2
4
50
42
B yt e 2
B yt e 3
B yt e 2
B yt e 3
B yt e 4
50
42
01
Data /A rgument Bytes
.
B yt e 2
B yt e 3
B yt e 4
00
00
30
Data /A rgument Bytes
B yt e 2
B yt e 3
B yt e 4
P 3
P 2
P 1
FT-920 Operating Manual
100's
MHz
1
0
01
B yt e 4
B yt e 5
0AH
Opcod e
B yt e 5
03H
Opcod e
B yt e 5
Opcode
Need help?
Do you have a question about the FT-920 and is the answer not in the manual?