Pc Control Command Reference for the Ts-890S Transceiver
Total Page:16
File Type:pdf, Size:1020Kb
TS-890S PC CONTROL COMMAND Reference Guide January/30/2019 PC CONTROL COMMAND REFERENCE GUIDE ABOUT THIS REFERENCE GUIDE COM/ USB-B (VIRTUAL COM) CONNECTOR All descriptions in this reference guide are for the Entry Specifications user’s convenience. JVC KENWOOD Corporation Protocol UART (RS-232C) does not support nor warrant the applicability of this Baud Rate Selectable from 4800*/ 9600/ 19200/ 38400/ documentation in any way. 57600/ 115200 bps Start Bit 1 CONNECTING TO A PC Data Bit 8 You can connect the TS-890S transceiver to a PC Stop Bit 1 (2 is available only when using 4800 bps) COM port using a RS-232C connector, to a USB port Parity Bit None using a USB 2.0 (AB type) cable, or to a LAN port Flow Control Hardware flow control is possible If using the COM port or USB, through the transceiver *: 4800 bps cannot be used with the USB-B connector. menu, select a baud rate for communications between the PC and the transceiver. LAN CONNECTOR ■ Using a RS-232C Straight Cable Entry Specifications Directly connect the RS-232C straight cable Protocol TCP/IP between the COM port of the PC and the COM terminal of the transceiver. Character Encoding Mode UTF-8 ■ Using a USB Cable CHARACTER CODING When using a USB cable, you must first pre-install Character coding is based on the ASCII code. a virtual COM port driver on the PC. Then, connect However, the letters assigned to 80h ~ FFh are the USB cable A connector to the USB port of the replaced as follows by Menu 9-01 (Keyboard PC and the B connector the USB terminal of the Language): transceiver. Download the driver from the following URL. Menu 9-01 Setting Character Coding https://www.kenwood.com/i/products/info/amateur/software_download.html Japanese ISO-2022-JP Note: No warranty for the operation is granted when Other than Japanese ISO-8859-1 connecting through a USB hub. AI (AUTO INFORMATION) FUNCTION ■ Using a LAN Cable When connecting the TS-890S and a PC using The AI (Auto Information) function automatically outputs a hub, connect them with a straight cable. When contents of commands whenever various states of the connecting the TS-890S directly to a PC, connect transceiver changes. them with a cross cable. For example, the frequency information of the VFO A is automatically output to the PC with the FA command LAN COMMUNICATION PROCEDURES when you change the operating frequency of the VFO 1 Through the LAN menu of the transceiver, set A. It is not necessary to first send a read command from the IP addresses and your administrator ID and the PC. Besides the frequency of the VFO A, almost all password. changes of state of the transceiver are automatically 2 Set the TCP/IP using the PC. output with each command. 3 Send the ##CN command from the PC to connect Using this function, you can see the state of the with the transceiver. transceiver on a PC in real time. This is useful when 4 When a connection response comes from the making an application using log management software. transceiver, send the ##ID command to transmit Turn this function on using the AI command (the initial your administrator ID and password. state is OFF). 5 If the transmitted ID and password are authenticated with those set up in the transceiver, the connection is completed. Note: If there are no communications for 10 seconds, the TCP/IP connection with the transceiver is terminated. – 1 – PC CONTROL COMMAND REFERENCE GUIDE PC CONTROL COMMANDS ■ Command Note: PC control commands will not be available when “PSQ/ A command consists of 2 to 5 alphanumeric PKS Pin Assignment (COM Connector)” from the Advanced Menu characters. You may use either lower or upper is set to “On”. case characters. The commands available for this A PC control command is composed of a 2 to 5-letter transceiver are listed in the PC Control Command alphanumerical command-name, a set of parameters, Tables, beginning on page 3. and the terminator that signals the end of the command. ■ Parameters Parameters are used to specify information Example: Command to set the VFO A to 7 MHz necessary to implement the desired command. The parameters to be used for each command are FA 00007000000 ; predetermined. The number of digits assigned to each parameter is also predetermined. Refer Terminator to the PC Control Command Tables {page 3} to configure the appropriate parameters. Parameters ■ Terminator Alphanumerical command To signal the end of a command, it is necessary to use a semicolon (;). The digit where this special Commands can be classified as shown below: character must appear differs depending on the command used. Set command (sets a particular ■ Error Messages Input command condition) In addition to the Answer command, the transceiver (input to the will send the error messages listed below. transceiver) Read command Error PC control (reads an answer) Reason for Error commands Message • Command syntax was incorrect. Output command Answer command (from the (transmits a • Command was not executed due to the current status of the transceiver transceiver) condition) (even though the command syntax ?; For example, note the following in the case of the above was correct). FA command (Frequency of the VFO A): Note: Occasionally, this message may not appear due to microprocessor transients in the • To set the frequency to 7 MHz, the following transceiver. command is sent from the PC to the transceiver: “FA00007000000;” (Set command) A communication error occurred, such • To read the frequency of VFO A, the following E; as an overrun or framing error during command is sent from the PC to the transceiver: a serial data transmission. “FA;” (Read command) A receive buffer overrun error O; • When the Read command above has been sent, occurred. the following command is returned to the PC: “FA00007000000;” (Answer command) – 2 – PC CONTROL COMMAND REFERENCE GUIDE PC CONTROL COMMAND TABLES Antenna Tuner Parameters: AC P1 (RX AT circuit) 1 2 3 4 5 6 7 8 9 10 0: OFF Set A C P1 P2 P3 ; 1: ON 1 2 3 4 5 6 7 8 9 10 This parameter is invalid during the Setting command. Always enter 1. Read A C ; P2 (TX AT circuit) 1 2 3 4 5 6 7 8 9 10 0: OFF Answer 1: ON A C P1 P2 P3 ; P3 0: Stop Tuning/ Tuning is inactive 1: Start Tuning/ Tuning is active • The RX AT circuit sets, use the EX command. • To start tuning, use command “AC111;”. AF Level Parameters: AG P1 1 2 3 4 5 6 7 8 9 10 000 ~ 255 Set A G P1 P1 P1 ; 1 2 3 4 5 6 7 8 9 10 Read A G ; 1 2 3 4 5 6 7 8 9 10 Answer A G P1 P1 P1 ; Auto Information Parameters: AI P1 1 2 3 4 5 6 7 8 9 10 0: AI OFF Set A I P1 ; 1: Not used 1 2 3 4 5 6 7 8 9 10 2: AI ON (Not back up the ON state) Read 3: Not used A I ; 4: AI ON (Back up the ON state) 1 2 3 4 5 6 7 8 9 10 Answer • When AI is ON, the respective response command is sent when A I P1 ; the parameter is changed by the command with the response command. • When AI is ON by setting P1 parameter to 2 and the transceiver is turned to OFF, AI is also turned to OFF. • The backup state is initialized (AI OFF) by full reset, standard reset, or VFO reset. • The AI function can be set separately for USB connector, COM connector, or LAN connector. Auto Mode Parameters: AM P1 1 2 3 4 5 6 7 8 9 10 0: Auto Mode OFF Set A M P1 ; 1: Auto Mode ON 1 2 3 4 5 6 7 8 9 10 Read A M ; 1 2 3 4 5 6 7 8 9 10 Answer A M P1 ; – 3 – PC CONTROL COMMAND REFERENCE GUIDE Antenna Selection Parameters: AN P1 (Antenna selection) 1 2 3 4 5 6 7 8 9 10 1: ANT1 Set A N P1 P2 P3 P4 ; 2: ANT2 1 2 3 4 5 6 7 8 9 10 9: No change (setting command only) Read P2 (Receiving antenna usage state) A N ; 0: RX ANT is not used 1 2 3 4 5 6 7 8 9 10 1: RX ANT is used Answer 9: No change (setting command only) A N P1 P2 P3 P4 ; P3 (Drive out selection) 0: Drive out OFF 1: Drive out ON 9: No change (setting command only) P4 (Antenna output for external receiver) 0: Antenna output OFF 1: Antenna output ON 9: No change • When setting the command, enter only the parameters you are changing. For parameters you are not changing, enter “9”. • For a response command, parameter P1~ P4 cannot be “9”. Audio Peak Filter ON/OFF Parameters: AP0 P1 1 2 3 4 5 6 7 8 9 10 1: APF OFF Set A P 0 P1 ; 2: APF ON 1 2 3 4 5 6 7 8 9 10 Read A P 0 ; 1 2 3 4 5 6 7 8 9 10 Answer A P 0 P1 ; Audio Peak Filter Shift Parameters: AP1 P1 1 2 3 4 5 6 7 8 9 10 00 ~ 80 Set A P 1 P1 P1 ; 99: Initial value setting (center) (setting command only) 1 2 3 4 5 6 7 8 9 10 40 is the center (CW pitch frequency).