Yaesu FT-1000MP Operating Manual page 76

Hide thumbs Also See for FT-1000MP:
Table of Contents

Advertisement

CAT System Computer Control
Constructing and Sending
CAT Commands
Example
#1: Set Main VFO-A to 14.25000
MHz;
OFirst determine the opcode for the desired in-
struction 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 corre-
sponding command.
OlHere the instruction
is "Set Main VFO
Fre-
quency", so the opcode (last byte of the block)
is OAH. Note - "H's following each byte value
indicate hexadecimal (base 16) values.
Build the four argument byte values from the
desired frequency by breaking it into 2-digit
blocks (BCD "packed decimal" format). Note
that a leading zero is always required in the
hundreds-of-MHz place (and another in the
tens-of-MHz if below 10 MHz).
O Breaking 14.250.00 MHz into its BCD compo-
nent, we arrive at:
C1 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):
Send these five bytes to the transceiver, in the
order shown in the table above — from left-to-
right:
0050 42 01 OAH
Example #2: Activate a RX Clarifier Offset of
+3.5 kHz.
Clarifier settings are controlled from opcode
O9H. The first four parameter bytes determine
the type of offset, direction, and frequency dis-
placement.
©) According to the example, the first byte would
be 50 (500 Hz), the second 03 (3000Hz), fol-
lowed by OOH (for +offset), 81H (TX CLAR on)
and then opcode 09H. Remember that the 1st
and 2nd bytes are in BCD format.
Completing the command byte sequence, we
would send, in sequence,
50H, 03H, OOH, 81H,
O9H, to effect the Tx clarifier offset.
DATA/ARGUMENT BYTES
You should be getting a feel for the CAT com-
mand structuring sequence, let's move to the next
step; reading transceiver operational data.
Downloading FT-1000MP Data
On command, the FT-1000MP will download
some or all (1,863 bytes) of its operational data.
This data block contains all current transceiver
settings. In addition, the current meter indication
(Tx or Rx) is read, digitized and returned as well.
This provides a wealth of information in near real-
time that can be processed by your program or
the running application for control purposes or
display readouts. By regular or intermittent re-
quests for this data, the program (and you) can be
kept continuously up-to-date on the status of the
FT-1000MP operating environment.
The following four commands cause the FT-
1000MP to download various operational and in-
ternally stored settings via the CAT port:
Status Update (10H) - causes the transceiver
to return all or portions of its RAM table (up to
1,863 bytes).
Status Flags Request (FAH)- obtains only the
first 6 bytes (the Status Flags), plus 2 extra
"Model ID" bytes (10H and 00H).
Read Meter (F7H) - returns the meter deflec-
tion (0 —
FFH) repeated in four bytes, fol-
lowed by one "filler' byte (F7H).
Pacing Command (OEH) - Each byte of re-
turned data may be delayed by an interval
determined by this command (0 to 255 ms in
1-ms steps). This delay is initially zero until the
Pacing command is sent (see note below).

Advertisement

Table of Contents
loading

Table of Contents