TS590 pc commande, Krótkofalarskie(2)

[ Pobierz całość w formacie PDF ]
PC CONTROL COMMAND
REFERENCE FOR THE
TS-590S TRANSCEIVER
© October/01/2010
PC CONTROL COMMAND REFERENCE GUIDE
ABOUT THIS REFERENCE GUIDE
All descriptions in this reference guide are for the
user’s convenience.
Kenwood
does not support or
warrantee this documentation in any way.
CONTROL OPERATION
Most computers handle data in the form of “bits” and
“bytes”. A bit is the smallest piece of information a
computer can handle. A byte is composed of eight
bits. This is the most convenient form for most
computer data. This data may be sent in the form
of either serial or parallel data strings. The parallel
method is faster but more complicated, while the
serial method is slower and requires less complicated
equipment. The serial form is, therefore, a less
expensive alternative.
Serial data transmission uses time-division methods
over a single line. Using a single line also offers the
advantage of reducing the number of errors due to
line noise.
Theoretically, only three lines are required to control
the transceiver via the computer:
• Transmit data
• Receive data
• Ground
From a practical standpoint however, it is also
necessary to incorporate some means of controlling
when this data transfer will occur. The computer and
transceiver cannot be allowed to send data at the
same time! The required control is achieved by using
the RTS and CTS lines.
For example, the transceiver is placed into the
transmit mode whenever the character string “TX;”
is sent from the computer. The character string
“TX;” is called a computer control command; it tells
the transceiver what to do. There are numerous
commands available for control of the transceiver.
These commands may be incorporated into a
computer program written in any high level language.
Programming methods vary from computer to
computer; refer to the instruction manuals provided
with the terminal program and computer.
CONNECTING TO A PC
You can connect the TS-590S transceiver to a PC
COM port using a traditional RS-232C connector, or to
a USB port using a USB 2.0 (AB type) cable.
Through the transceiver menu, select a baud rate for
communications between the PC and the transceiver.

Using a RS-232C Straight Cable
Directly connect the RS-232C straight cable
between the COM port of the PC and the COM
terminal of the transceiver.

Using a USB Cable
When using a USB cable, you must first pre-
install a virtual COM port driver on the PC. Then,
connect the USB cable A-connector to the USB
port of the PC and the B-connector the USB
terminal of the transceiver.
Note:
Operation is not guaranteed when connecting through
a USB hub.
– –
 PC CONTROL COMMAND REFERENCE GUIDE
COMPUTER CONTROL COMMANDS
A computer control command is composed of
a 2 letter alphabetical command name, a set of
parameters, and the terminator that signals the end of
the command.
Example: Command to set VFO A to 7 MHz

Command
A command consists of 2 characters. You may
use either lower or upper case characters. The
commands available for this transceiver are listed
in the PC Control Command Tables, beginning on
page 3.

Parameters
FA 00007000000 ;
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 PC Control Command Tables {page 3} to
configure the appropriate parameters.
Terminator
Parameters
Alphabetical command
When configuring parameters, be careful not to
make the following mistakes.
Commands can be classified as shown below:
Set command
(sets a particular
condition)
Correct parameter example: “IS+000;”
IS000; Not enough parameters specified
(No direction given for the IF shift)
IS+00; Not enough digits
(Only three frequency digits given)
IS_+_000; Unnecessary characters (spaces)
between parameters
IS+0000; 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 Fh) and the
terminator (;).
Input command
(input to the
transceiver)
Read command
(reads an answer)
Computer
control
commands
Output command
(from the
transceiver)
Answer command
(transmits a
condition)
For example, note the following in the case of the
above FA command (Frequency of VFO A):

To set the frequency to 7 MHz, the following
command is sent from the computer to the
transceiver:

Terminator
“FA00007000000;”
(Set command)
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.

To read the frequency of VFO A, the following
command is sent from the computer to the
transceiver:
“FA;”
(Read command)

Error Messages

When the Read command above has been
sent, the following command is returned to the
computer:
In addition to the Answer command, the
transceiver can send the error messages listed
below.
“FA00007000000;”
(Answer command)
Note:

Error
Message
Reason for Error
Do not use the control characters 00 to Fh since they are
either ignored or cause a “?” answer.
• Command syntax was incorrect.
• Command was not executed
due to the current status of the
transceiver (even though the
command syntax was correct).
Note:
Occasionally, this message may not
appear due to microprocessor transients in
the transceiver.

Program execution may be delayed while turning the
Tuning
control rapidly.

Receive data is not processed if the frequency is entered
from the keypad.
?;
A communication error occurred, such
as an overrun or framing error during
a serial data transmission.
E;
Receive data was sent but processing
was not completed.
O;
– 2 –
 PC CONTROL COMMAND REFERENCE GUIDE
PC CONTROL COMMAND TABLES
AC
Sets or reads the internal antenna tuner status.
Parameters:
P
0: RX-AT THRU
: RX-AT IN
P2
0: TX-AT THRU
: TX-AT IN
P3
0: Stop Tuning (Set)/ Tuning is stopped (Answer)
: Start Tuning (Set)/ Tuning is active (Answer)
2
3
4
5
6
7
8
9
0
Set
A
C
P
P2
P3
;
2
3
4
5
6
7
8
9
0
Read
A
C
;
2
3
4
5
6
7
8
9
0
Answer
A
C
P
P2
P3
;
• The setting cannot be performed for RX IN/THRU
• AT Tuning will not begin when using the TX THRU status.
• To begin tuning, you must use command “AC”.
AG
Sets or reads the AF gain.
Parameters:
P
0: Always 0
P2
000 (minimum) ~ 255 (maximum)
2
3
4
5
6
7
8
9
0
Set
A
G
P
P2
P2
P2
;
2
3
4
5
6
7
8
9
0
Read
A
G
P
;
2
3
4
5
6
7
8
9
0
Answer
A
G
P
P2
P2
P2
;
AI
Parameters:
P
0: AI OFF
2: AI ON
Sets or reads the Auto Information (AI) function ON/ OFF.
2
3
4
5
6
7
8
9
0
Set
A
I
P
;
• When AI is ON, the respective response command is output
when the parameter is changed by the command with the
response command.
• AI turns OFF when the transceiver power is turned OFF.
2
3
4
5
6
7
8
9
0
Read
A
I
;
2
3
4
5
6
7
8
9
0
Answer
A
I
P
;
AN
Selects the antenna connector ANT/ ANT2.
Parameters:
P
0: ANT
: ANT2
9: No change
P2
0: RX ANT is not used
: RX ANT is used
9: No change
P3
0: Drive Out OFF
: Drive Out ON
9: No change
2
3
4
5
6
7
8
9
0
Set
A
N
P
P2
P3
;
2
3
4
5
6
7
8
9
0
Read
A
N
;
2
3
4
5
6
7
8
9
0
Answer
A
N
P
P2
P3
;
• When setting the command, enter only the parameters you are
changing. For parameters you are not changing, enter “9”.
• For a response command, parameter P, P2, and P3 cannot
be “9”.
– 3 –
 PC CONTROL COMMAND REFERENCE GUIDE
AS
Sets or reads the Auto Mode function parameters.
Parameters:
P
0: Always 0
P2
00 ~ 3: Channel number
P3
-digit Frequency in Hz (unused digits must be 0)
P4 (Mode (refer to the MD command)
: LSB
2: USB
3: CW
4: FM
5: AM
6: FSK
7: CWR (CW Reverse)
9: FSKR (FSK Reverse)
P5 (Data mode (refer to the DA command))
0: No Data mode
: Data mode
(example: USB-DATA: P4=2 / P5=)
2
3
4
5
6
7
8
9
0
A
S
P
P2
P2
P3
P3
P3
P3
P3
Set
2
3
4
5
6
7
8
9
20
P3
P3
P3
P3
P3
P3
P4
P5
;
2
3
4
5
6
7
8
9
0
Read
A
S
P
P2
P2
;
2
3
4
5
6
7
8
9
0
A
S
P
P2
P2
P3
P3
P3
P3
P3
Answer
2
3
4
5
6
7
8
9
20
P3
P3
P3
P3
P3
P3
P4
P5
;
Conditions when configuring:
• You cannot set the channel to a frequency lower than the
frequency of the previous channel.
• When the channel is set to a frequency higher than the next
channel, all subsequent channel frequencies that are lower
than the set frequency are changed to the frequency you just
set.
• To reset all channels to their initial conditions, set them to to
9.5 MHz, LSB mode (DATA-OFF).
BC
Sets or reads the Beat Cancel function status.
Parameters:
P
0: Beat Cancel OFF
: Beat Cancel ON
2: Beat Cancel 2 ON
2
3
4
5
6
7
8
9
0
Set
B
C
P
;
2
3
4
5
6
7
8
9
0
Read
B
C
;
2
3
4
5
6
7
8
9
0
Answer
B
C
P
;
BD / BU
Sets a frequency band.
Parameters:
P (Band number)
00: .8 MHz band
0: 3.5 MHz band
02: 7 MHz band
03: 0 MHz band
04: 4 MHz band
05: 8 MHz band
06: 2 MHz band
07: 24 MHz band
08: 28 MHz band
09: 50 MHz band
0: GENE
2
3
4
5
6
7
8
9
0
Set
B
D / U
P
P
;
• Unlike previous models, this command no longer functions as
a conventional Band Down/ Band Up.
• While the section setting Memory Channel is displayed, you
can use BD; to send the start frequency and BU; to send the
end frequency.
BP
Adjusts the Notch Frequency of the Manual Notch Filter.
Parameters:
P
000 (minimum) ~ 27 (maximum)
2
3
4
5
6
7
8
9
0
Set
B
P
P
P
P
;
2
3
4
5
6
7
8
9
0
Read
B
P
;
2
3
4
5
6
7
8
9
0
Answer
B
P
P
P
P
;
– 4 –
  [ Pobierz całość w formacie PDF ]
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • cs-sysunia.htw.pl