Kenwood TS-570S Marine Radio User Manual


 
71
APPENDIX
COMPUTER CONTROL COMMANDS
A computer control command is composed of an
alphabetical command, various parameters, and the
terminator that signals the end of the control command.
EXAMPLE: Command to set VFO A to 7 MHz
Commands can be classified as shown below:
For example, note the following in the case of the FA
command (Frequency of VFO A):
•To set the frequency to 7 MHz, the following
command is sent from the computer to the
transceiver:
“FA00007000000;” (Set command)
•To read the frequency of VFO A, the following
command is sent from the computer to the
transceiver:
“FA;” (Read command)
When the Read command above has been sent, the
following command is returned to the computer:
“FA00007000000;” (Answer command)
Note:
Do not use the control characters 00 to 1Fh since they are either
ignored or cause a “?” answer.
Program execution may be delayed while turning the
Tuning
control rapidly.
Receive data is not processed if the frequency is entered from
the keypad.
Alphabetical Commands
A command consists of 2 alphabetical characters.
You may use either lower or upper case characters.
The commands available for this transceiver are
listed in the Alphabetical Command Table {page 72}.
Parameters
Parameters are used to specify information
necessary to implement the desired command. The
parameters to be used for each command are
predetermined. The number of digits assigned to
each parameter is also predetermined. Refer to the
Parameter Table {page 73} and the Computer
Control Command Tables {page 75} to configure the
appropriate parameters.
When configuring parameters, be careful not to
make the following mistakes.
(correct parameter: “IS+1000”)
IS1000; Not enough parameters specified
(No direction given for the IF shift)
IS+100; Not enough digits
(Only three frequency digits given)
IS + 1000; Unnecessary characters between
parameters
IS+10000; Too many digits
(Five frequency digits given)
Note:
If a particular parameter is not applicable to this
transceiver, the parameter digits should be filled using any
character except the ASCII control codes (00 to 1Fh) and the
terminator (;).
Terminator
To signal the end of a command, it is necessary to
use a semicolon (;). The digit where this special
character must appear differs depending on the
command used.
Error Messages
In addition to the Answer command, the transceiver
can send the following error messages.
FA 00007000000 ;
Alphabetical command
Parameters
Terminator
Input
command
(Input to the
transceiver)
Output
command
(From the
transceiver)
Set command
(Sets a
particular condition)
Read command
(Reads an answer)
Answer command
(Transmits a condition)
Computer
control
commands
Error
Message
Reason for Error
• Command syntax was incorrect.
• Command was not executed due to
the current status of the transceiver
(even though the command syntax
was correct).
A communication error occurred such
as an overrun or framing error during a
serial data transmission.
Receive data was sent but processing
was not completed.
?;
E;
O;
Note: Occasionally this message may not
appear due to microprocessor transients in the
transceiver.