83APPENDICES ●CONTROL OPERATIONMost computers handle data in the form of “bits” and“bytes”. A bit is the smallest piece of information thatthe computer can handle. A byte is composed of eightbits. This is the most convenient form for mostcomputer data. This data may be sent in the form ofeither serial or parallel data strings. The parallel methodis faster but more complicated, while the serial methodis slower and requires less complicated equipment. Theserial form is, therefore, a less expensive alternative.Serial data transmission uses time-division methodsover a single line. Using a single line also offers theadvantage of reducing the number of errors due to linenoise.Only 3 lines are required theoretically for control of thetransceiver via the computer:• Transmit data• Receive data• GroundFrom a practical standpoint, it is also necessary toincorporate some means of controlling when this datatransfer will occur. The computer and transceivercannot be allowed to send data at the same time! Therequired control is achieved by using the RTS and CTSlines.For example, the transceiver is placed into the transmitmode whenever the character string “TX;” is sent fromthe computer. The character string “TX;” is called acommand. It tells the transceiver to do something.There are numerous commands available for control ofthe transceiver. These commands may be incorporatedinto a computer program written in any high levellanguage. Programming methods vary from computerto computer; therefore, refer to the instruction manualsprovided with the terminal program and computer.COMMANDSA command is composed of 2 alphabetical characters,various parameters, and the terminator to signal the endof the command.EXAMPLE: Command to set VFO A to 7 MHzCOMMAND DESCRIPTIONA command may consist of either lower or upper casealphabetical characters.APPENDIX D: COM CONNECTORPROTOCOLHARDWARE DESCRIPTIONThe TS-870S uses a full-duplex, asynchronous, serialinterface for communicating through the male 9-pinRS-232C COM connector. Bytes are constructed with1 start bit, 8 data bits, and 1 stop bit (4800 bps can beconfigured for 1 or 2 stop bits). No parity is used. Thepinout and the pin functions of the COM connector areas shown below:COM CONNECTORRXD: The transmit data is the serial data transferredfrom the transceiver to the computer. The output usesnegative logic.TXD: The receive data is the serial data transferredfrom the computer to the transceiver. The input usesnegative logic.GND: This is the signal ground pin.RTS: This signal is applied to the transceiver. It is usedto inhibit transmit data from the transceiver when thecomputer is not ready to receive the data. The inputuses positive logic. Inhibit is requested when the levelis low.CTS: This signal is applied from the transceiver. It isused to inhibit transmit data from the computer whenthe transceiver is not ready to receive the data. Theoutput uses positive logic. Transmit data is stoppedwhen the level is low.FA 00007000000 ;CommandParametersTerminator123456789—Transmit dataReceive data—Signal ground—Receive enableTransmit enable——OutputInput——InputOutput—COMPin No.COM Pin Name(Ref.: Computer)Function(Reference: TS-870S) I/ONCRXDTXDNCGNDNCRTSCTSNCTS-870S Rear panel view123459 8 7 6