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 #I:
Set Main VFO-A to 14.25000
MHz;
0
First 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.
Cll Here 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.
O 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-MNr place (and another in the
tens-of-MHz if b l o w 10 MHz).
O Breaking 14.250.00 MHz into its BCD compo-
nent, we arrive at:
O Completing the command byte sequence, we
would send, in sequence, 50H, 03t-1, OQM, 81 H,
09H, to effect the Tx clarifier offset.
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 operatisnal 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 reai-
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-1 00OMP operating environment.
The following four commands cause the FT-
IOOQMP to download various operational and in-
ternally stored settings via the CAT port:
Status Update (1OH)
-
causes the transceiver
0 Inserting the 4-byte BCD-coded frequency (00,
to return all or portions of its RAM table (up to
50, 42, OI), the resulting 5-byte block should
1,863 bytes).
now look like this (again, in hex format):
Status Flags Request (FAH)
-
obtains only the
first 6 bytes (the Status Flags), plus 2 extra
"Model ID" bytes (1 O H and OOH).
O Send these five bytes to the transceiver, in the
order shown in the table above - from left-to-
right:
00 50 42 81 QBM
Example #2:
Activate a
RX
Clarifier Offset
of
+3.5 kHz.
O Clarifier settings are controlled from opcode
09H. The first four parameter bytes determine
the type of offset, direction, and frequency dis-
placement.
OAccording to the example, the first byte would
be 50 (500 Hz), the second 03 ( 3 0 0 0 ~ ~ ) ~
fol-
lowed by 00H (for +offset), 81 H (TX CLAR on)
and then opcode 09M. Remember that the 1st
and 2nd bytes are in BCD format.
Read Meter (F7H)
-
returns the meter deflec-
tion (0 -- FFH) repeated in four bytes, fol-
lowed by one "filler" byte (F7f-I).
Pacing Command (OEW)
-
Each byte of re-
turned data may be delayed by an interval
determined by this command (0 to 255 ms in
I -ms steps). This delay is initially zero until the
Pacing command is sent (see note below).
page 74

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents