《Tascam_rs-232c_protocol_cd-500_e_ver101 电路图 维修手册.pdf》由会员分享,可在线阅读,更多相关《Tascam_rs-232c_protocol_cd-500_e_ver101 电路图 维修手册.pdf(25页珍藏版)》请在收音机爱好者资料库上搜索。
1、 TASCAM CD-500/CD-500B CONTROL I/O Terminals RS-232C Protocol Specifications TEAC Corporation RadioFans.CN 收音机爱 好者资料库 1. Overview The CD-500/CD-500B (“controlled device”) can be controlled from an external device (“external controller”), such as a computer, through a serial RS-232C connection. 2. Sp
2、ecifications 2.1. Electrical Specifications Standard JIS X-5101 (equivalent to the former JIS-C-6361 and EIA RS-232C standards) Note that this is not compatible with the RS-422 used in professional VTRs. Impedance at receiver When measured with an applied voltage between -3 V and +3 V or between -15
3、 V and +15 V, the DC resistance is between 3 kohms and 7 kohms. Total load capacitance is 2500 pF or less. Open circuit voltage at transmitter 25V or less Open circuit voltage at receiver 2V or less Signal voltage When the open circuit voltage at the receiver is 0 V, the signal voltage is between -5
4、 V and +5 V or between -15 V and +15V against a load impedance between 3 kohms and 7 kohms. Signal discrimination Logic “1”: -3V or less Logic “0”: +3V or more 2.2. Communication format Circuit type 3-wire, Half-duplex Transmission type Digital binary serial Data signal rate (baud rate) 9600/19200/3
5、8400 bits/sec Data bits 8 bits Parity bits None Stop bits 1 bit *Data signal rate can be set from the menu of the controlled device. Data bits, parity bits, and stop bits are fixed. RadioFans.CN 收音机爱 好者资料库 2.3. Connector pin-out Connector D-sub 9pin female (Inch screw thread) Terminal pin-out and in
6、put/output signals Pin No. In/Out Signal name Description 1 - NC Not connected 2 In Rx DATA Data received at this pin (*1) 3 Out Tx DATA Data transmitted from this pin 4 - (Reserved) Reserved 5 - GND Signal ground pin 6 - (Reserved) Reserved 7 Out RTS Short-circuit to Pin No. 8. 8 In CTS Short-circu
7、it to Pin No. 7. 9 - NC Not connected *1: Make sure that a voltage applied to Pin No. 2 for Rx DATA conforms to the RS-232C standard. *2: Pins No. 7 and 8 are short-circuited to receive or transmit RTS/CTS signals. 2 3 5 Controlled device (CD-500/CD-500B) GND TXD RXD RXD TXD GND External controller
8、7 8 RadioFans.CN 收音机爱 好者资料库 RS-232C Protocol Specifications Rev. 1.01RS-232C Protocol Specifications Rev. 1.01 CD-500/500B CD-500/500B - 4 - 3. Command Format 3.1. Command Format Overview The command format is as follows. Byte 1 Byte 2 Byte 3 Byte 4 Byte 5Byte 6Byte 7Byte 8 Byte n LF ID Command Data
9、 1Data 2Data 3Data 4 CR A command uses a 2-byte ASCII format, starting with Line Field (LF), which is followed by machine ID, and ending with Carriage Return (CR). For information about machine ID, see the section 3-2 Machine ID. A command is followed by a byte string, which consists of data ranging
10、 from 0 bytes (if the command includes no data) to 98 bytes, maximum. For detailed information about data, see each of the sections explaining commands. Note that capital letters are used for “A to F” for commands that use 0 to 9 and A to F as data values. Command examples Example 1: Sending the PLA
11、Y command to the controlled device with the machine ID=0 When the controlled device is in the stop or ready state, the PLAY command starts playing the controlled device. The PLAY command is 12 and sent in the following format. ID Command ASCII LF 0 1 2 CR HEX 0Ah 30h31h 32h 0Dh Example 2: Performing
12、 a direct search for the track 12 on the controlled device with the machine ID=0 To do a direct search for the track 12, DIRECT TRACK SEARCH PRESET command 23 is sent. Data bytes consist of 2-byte ASCII characters. A track number is specified in the DIRECT TRACK SEARCH PRESET command as shown below.
13、 Data 1 tens digit of the track number to be specified Data 2 ones digit of the track number to be specified Data 3 thousands digit of the track number to be specified Data 4 hundreds digit of the track number to be specified Based on the above rule, the send command is described as follows. 3.2. Ma
14、chine ID The Machine ID is fixed at 0. A command with the machine ID other than 0 is ignored. ID Command Data: 12th track ASCII LF 0 2 3 1 2 0 0 CR HEX 0Ah 30h32h 33h 31h32h30h30h0Dh RS-232C Protocol Specifications Rev. 1.01RS-232C Protocol Specifications Rev. 1.01 CD-500/500B CD-500/500B - 5 - 3.3.
15、 Command Sequence In most cases, the controlled device does not send an ACK command in response to a transport control command or data preset command that is sent from an external controller. The controlled device sends a return command in response to a data sense command that requests the controlle
16、d device to return the controlled devices preset data values. If the controlled device switches from one state to another - from stop state to playback state, for example, or if an error occurs, the controlled device sends a command to notify the external controller about the state transition. Examp
17、les of command sequences are shown below. Make sure that commands are sent at a minimum of 20-millisecond intervals. Example 1: Using a transport control of the controlled device (e.g. playback) When entering the playback state after receiving the playback command, the controlled device sends the CH
18、ANGE STATUS command. The controlled device does not send an ACK command in response to this command. Command External controller Controlled device Status of the controlled device STOP PLAY - Sets the pitch control data to -1.0% Example 3: Requesting currently set data (e.g. pitch control data) When
19、receiving the PITCH CONTROL DATA PRESET (Sense) command, the controlled device sends the set pitch control data. Command External controller Controlled device Status of the controlled device PITCH CONTROL DATA PRESET (Sense) - ERROR CODE 1-01 List of error codes ERROR Internal error code Description RS-232C error code ERR01 1 TOC read error 1-10 ERR09 9 Flash ROM error 1-09 ERR10 10 SDRAM check error 1-10 ERR13 13 System error 1-13 - 25 -