Teac CD-RW901SL Specification

TASCAM CD-RW901
CONTROL I/O connector
RS-232C Protocol Specification
Ver.1.00
August 2006
TASCAM CD-RW901 RS-232C Protocol Specification
1 TEAC Corporation
1. Overview
The CD-RW901's REMOTE connector can be used to control the CD-RW901 from a computer or other external device. In this document, the CD-RW901 is referred to as the "controlled device," and the external device that controls it is referred to as the "external controller."
2. Specifications
2.1. Electrical specifications
Conforms to standard JIS X-5101 (equivalent to former JIS C-6361 and EIA RS-232C) (Not compatible with the RS-422A used in professional VTR units) Impedance at receiver When measured with an applied voltage of between ±3 and 15V, the DC
resistance is between 3K and 7KΩ. Total load capacitance is less than 2500pF Open circuit voltage at transmitter Less than 25V Open circuit voltage at receiver Less than 2V Signal voltage When the open circuit voltage at the receiver is 0V, the signal voltage is
between ±5V and ±15V for a load impedance of between 3K and 7KΩ. Signal discrimination Logical “1” Less than -3V Logical “0” More than +3V
2.2. Communication format
Circuit type 3-wire, half-duplex Transmission type Digital binary serial Data speed (baud rate) 4800/9600/19200/38400 bit/sec Character length 7/8 bit Parity bit Odd/Even/None Stop bit 1/2 bit (Data speed, character length, parity bit, and stop bit settings are made on the CD-RW901.)
2.3. Connector pin-out
Connector D-sub 9-pin female (metric thread)
Terminal pin-out and input/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 Out (Reserved) Reserved 5 - GND Ground 6 In (Reserved) Reserved 7 Out RTS Request To Send (output "request to transmit") *2 8 In CTS Clear To Send (input "ready to receive") *2
9 - NC Not connected *1 A voltage that satisfies the RS-232C specification must be applied to Rx Data. *2 RTS/CTS is loopback-connected within the controlled device. If using RTS/CTS control, consider the design of the external controller.
TASCAM CD-RW901 RS-232C Protocol Specification
2 TEAC Corporation
2
3
5
RXD TXD
RTS CTS GND
RXD TXD
RTS CTS GND
7
8
Controlled device (CD-RW901) External controller
TASCAM CD-RW901 RS-232C Protocol Specification
3 TEAC Corporation
3. Command format
3.1. Command format overview The command format is as follows.
Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Byte n
LF ID Command Data 1 Data 2 Data 3 Data 4 CR
Commands begin with a "line feed (LF)," end with a "carriage return (CR)," and are based on the ASCII format. The type following the LF is the machine ID. The machine ID is described later. Commands are expressed by two ASCII bytes. The byte string following the command expresses the data, and is between 0 bytes (for a command that has no data) and a maximum of 98 bytes. For details on the data, refer to the detailed explanation for each command. For commands that use 0--9 and A--F as data values, uppercase characters are used for A--F.
Example commands Example 1: Transmitting a PLAY command to a controlled device of ID=0
When the controlled device is in Stop or Ready mode, this command will initiate playback on the controlled device. The PLAY command is [12], and is transmitted as follows.
ID Command
ASCII LF 0 1 2 CR
HEX 0Ah 30h 31h 32h 0Dh
Example 2: Telling a controlled device of ID=0 to perform a direct search for track 123
The command "DIRECT TRACK SEARCH PRESET [23]" is transmitted to perform this action. The data bytes consist of ASCII in two-byte units. For the "DIRECT TRACK SEARCH PRESET" command, the track number is specified as follows.
Data 1 Tens digit of the specified track number Data 2 Ones digit of the specified track number Data 3 Thousands digit of the specified track number Data 4 Hundreds digit of the specified track number
Thus, the transmitted command will be as follows.
ID Command Datatrack 123
ASCII LF 0 2 3 2 3 0 1 CR
HEX 0Ah 30h 32h 33h 32h 33h 30h 31h 0Dh
Example 3: Writing a title to track 23 of a controlled device whose ID=0
The command "TEXT PRESET [29]" is transmitted to perform this action. This command allows up to eighty single-byte characters to be transmitted. For example, the command to write a title "Test" would be as follows.
ID Command Track 23 Title Tes t
ASCII LF 0 2 9 2 3 0 1 T e s t CR
HEX 0Ah 30h 32h 39h 32h 33h 30h 30h 54h 65h 73h 74h 0Dh
3.2. Machine ID The CD-RW901 uses Machine ID=0 to receive commands and transmit returns. Commands and returns using Machine ID=0 also exist, and these operations are described within this document. If a command with an ID other than Machine ID=0 is received, that command is ignored.
TASCAM CD-RW901 RS-232C Protocol Specification
4 TEAC Corporation
If an unsupported command is received, the CD-RW901 will transmit ILLEGAL [F2].
TASCAM CD-RW901 RS-232C Protocol Specification
5 TEAC Corporation
3.3. List of commands
A list of commands is given below.
Control/Preset/Sense Command Return Command 0F INFORMATION REQUEST 8F INFORMATION RETURN
10 STOP 12 PLAY 13 RECORD 14 READY 16 SHUTTLE
18 TRAY 1A TRACK/INDEX SKIP 1D CALL
20 AUTO CUE LEVEL PRESET A0 AUTO CUE LEVEL RETURN
21 AUTO TRACK LEVEL PRESET A1 AUTO TRACK LEVEL RETURN
23 DIRECT TRACK SEARCH PRESET
25 PITCH DATA PRESET A5 PITCH DATA RETURN
26 AUTO TRACK TIME PRESET A6 AUTO TRACK TIME RETURN
28 SYNC REC LEVEL PRESET A8 SYNC REC LEVEL RETURN
29 TEXT PRESET A9 TEXT PRESET ACKNOWLEDGE 2C TIME SEARCH PRESET 2D KEY CONTROL DATA PRESET AD KEY CONTROL DATA RETURN 2E FADE IN/OUT TIME PRESET AE FADE IN/OUT TIME RETURN 2F DIGITAL VOLUME DATA PRESET AF DIGITAL VOLUME DATA RETURN
30 AUTO CUE SELECT B0 AUTO CUE SELECT RETURN
31 AUTO TRACK SELECT B1 AUTO TRACK RETURN
32 EOM TRACK TIME SELECT B2 EOM TRACK TIME RETURN
33 EOM DISC TIME SELECT B3 EOM DISC TIME RETURN
35 PITCH CONTROL SELECT B5 PITCH CONTROL SELECT RETURN
36 AUTO READY SELECT B6 AUTO READY SELECT RETURN
37 REPEAT SELECT B7 REPEAT SELECT RETURN
38 SYNC REC SELECT B8 SYNC REC SELECT RETURN 3A INCR PLAY SELECT BA INCR PLAY SELECT RETURN 3D KEY CONTROL SELECT BD KEY CONTROL SELECT RETURN 4C REMOTE/LOCAL SELECT CC REMOTE/LOCAL SELECT RETURN 4E PLAY MODE SENSE CE PLAY MODE RETURN
50 MECHA STATUS SENSE D0 MECHA STATUS RETURN
53 ISRC SENSE D3 ISRC RETURN
55 TRACK No. SENSE D5 TRACK No. STATUS RETURN
56 DISC STATUS SENSE D6 DISC STATUS RETURN
57 CURRENT TRACK INFORMATION
SENSE
D7 CURRENT TRACK INFORMATION
RETURN 58 CURRENT TRACK TIME SENSE D8 CURRENT TRACK TIME RETURN 59 TEXT SENSE D9 TEXT RETURN
5D TOTAL TRACK No./TOTAL TIME SENSE DD TOTAL TRACK No./TOTAL TIME
RETURN
5E PGM TOTAL TRACK No./TOTAL TIME
SENSE
DE PGM TOTAL TRACK No./TOTAL TIME
RETURN
5F KEYBOARD TYPE SENSE DF KEYBOARD TYPE RETURN
TASCAM MD-CD1 RS-232C Protocol Specification
6 TEAC Corporation
F0 ERROR SENSE REQUEST F1 CAUTION SENSE REQUEST F2 ILLEGAL STATUS F4 POWER ON STATUS
F6 CHANGE STATUS 78 ERROR SENSE F8 ERROR SENSE RETURN 79 CAUTION SENSE F9 CAUTION SENSE RETURN
TASCAM MD-CD1 RS-232C Protocol Specification
7 TEAC Corporation
3.4. Command sequence
In most cases the controlled device will not send an ACK in response to transport control or data preset commands sent from the external controller. The controlled device will send back a return command in response to data sense commands that request a data value specified on the controlled device. When the status of the controlled device changes, such as from Stop to Play mode, or when an error etc. occurs, the controlled device will send a command indicating this to the external controller. Examples of the command sequence are given below. You must leave an interval of at least 20 ms between commands.
Example 1: Controlling the transport of the controlled device
This example describes the Play operation. When the controlled device receives the PLAY command and enters Play mode, it will transmit a CHANGED STATUS command. ACK is not transmitted for the PLAY command.
Command
External controller Controlled device
State of controlled device
Stopped PLAY -> <- CHANGED STATUS Transmit when starting Play
Example 2: Presetting data
This example describes setting the AUTO CUE LEVEL. When the controlled device receives the AUTO CUE LEVEL PRESET (Preset) command, it will set its AUTO CUE LEVEL. ACK is not transmitted for this command.
Command
External controller Controlled device
State of controlled device
AUTO CUE LEVEL PRESET (Preset -54dB)
->
AUTO CUE LEVEL set to
-54dB
Example 3: Obtaining specified data
This example describes obtaining the currently-set AUTO CUE LEVEL. When the controlled device receives the AUTO CUE LEVEL PRESET (Sense) command, it will return the currently-set AUTO CUE LEVEL.
Command
External controller Controlled device
State of controlled device
AUTO CUE LEVEL PRESET (Sense)
->
<-
AUTO CUE LEVEL RETURN
Example 4: Checking the status of the controlled device, and performing the next operation
When the operating status of the controlled device changes, it will transmit CHANGED STATUS. By using CHANGED STATUS as a trigger for sending MECHA STATUS SENSE, the new operating status can be determined. This example shows how to check the record-ready status of the controlled device and then initiate recording..
Command
External controller Controlled device
State of controlled device
Stopped RECORD (Record Ready) ->
TASCAM MD-CD1 RS-232C Protocol Specification
8 TEAC Corporation
<-
CHANGED STATUS Transmitted when entering
record-ready status
MECHA STATUS SENSE ->
<-
MECHA STATUS RETURN
Returns record-ready status
RECORD (Record) ->
<-
CHANGES STATUS Transmitted when entering
record status
3.5. Command details
The commands, data, and machine IDs described here are characters (ASCII). A command is two character bytes, a machine ID is one character byte, and each item of data is an individual character byte. The CD-RW901 can use the following track numbers and group numbers. However if a number not existing on the disc is specified, it will be considered an invalid command.
Track number (audio CD) maximum 99 Track number (MP3 CD) maximum 999
INFORMATION REQUEST
Requests the controlled device to return information such as the software version. Command 0F Machine ID 0 Data none Return INFORMATION RETURN [8F]
STOP
Puts the controlled device in STOP mode, and defeats input monitor mode. Command 10 Machine ID 0 Data none Return none
PLAY
Puts the controlled device in PLAY mode, or in RECORD mode if it is in record-ready mode. Command 12 Machine ID 0 Data none Return none
RECORD
Puts the controlled device in RECORD-READY mode. If it is currently recording, assigns a track. If the state is currently No Disc, puts the controlled device in Input Monitor mode. Command 13 Machine ID 0 Data 2 bytes
Data 1 Data 2 Description Remarks
0 1 Record Ready Puts the device in record-ready mode. 0 2 Track Mark Assigns a track during recording. 0 3 Input Monitor Puts the device in Input Monitor mode while stopped.
If data other than the above is received, the CD-RW901 will transmit ILLEGAL [F2].
Return none
TASCAM MD-CD1 RS-232C Protocol Specification
9 TEAC Corporation
READY
Puts the controlled device in PLAY-READY mode or RECORD-READY mode. Command 14 Machine ID 0 Data 2 bytes
Data 1 Data 2 Description Remarks
0 0 invalid The command will be ignored in the case of this data.
ILLEGAL will not be transmitted.
0 1 Ready On
If data other than the above is received, the CD-RW901 will transmit ILLEGAL [F2].
Return none
TASCAM MD-CD1 RS-232C Protocol Specification
10 TEAC Corporation
SHUTTLE
Puts the controlled device in SHUTTLE mode. SHUTTLE mode will be maintained until a command such as STOP, PLAY, or READY is received. Command 16 Machine ID 0 Data 2 bytes
Data 1 Data 2 Description Remarks
0 0 Shuttle
Forward
Shuttles in the forward direction.
0 1 Shuttle
Reverse
Shuttles in the backward direction.
If data other than the above is received, the CD-RW901 will transmit ILLEGAL [F2].
Return none
TRAY
Opens or closes the tray of the controlled device. Command 18 Machine ID 0 Data none Return none
SKIP
Causes the controlled device to skip tracks. After skipping, the device will maintain the mode in which it was when the operation began. Command 1A Machine ID 0 Data 2 bytes
Data 1 Data 2 Description Remarks
0 0 Track Skip Next Skips to the next track. 0 1 Track Skip
Previous
If the current position is at the beginning of a track, skips to the beginning of the previous track. If the current position is not at the beginning of a track, skips
to the beginning of the current track.. 1 0 Index Skip Next Skips to the next index. 1 1 Index Skip
Previous
If the current position is index 2 or higher, skips to the
beginning of the previous index.
If data other than the above is received, the CD-RW901 will transmit ILLEGAL [F2].
Return none
CALL
Causes the controlled device to locate to the call point and enter playback-ready mode. Command 1D Machine ID 0 Data none Return none
TASCAM MD-CD1 RS-232C Protocol Specification
11 TEAC Corporation
AUTO CUE LEVEL PRESET
Sets the Auto Cue Level of the controlled device. A return command is returned only if Sense [FF] is specified. The Auto Cue Mode setting is made using the command "AUTO CUE SELECT [30]." Command 20 Machine ID 0 Data 2 bytes
Data 1 Data 2 Description Remarks
0 0 Preset –24dB 0 1 Preset –30dB 0 2 Preset –36dB 0 3 Preset –42dB 0 4 Preset –48dB 0 5 Preset –54dB 0 6 Preset –60dB 0 7 Preset –66dB 0 8 Preset –72dB F F Sense Requests that the current preset level be returned.
If data other than the above is received, the CD-RW901 will transmit ILLEGAL [F2].
Return AUTO CUE LEVEL RETURN [A0]
AUTO TRACK LEVEL PRESET
Sets the Auto Track Level of the controlled device. A return command is returned only if Sense [FF] is specified. The Auto Track Mode setting is made using the command "AUTO TRACK SELECT [31]." Command 21 Machine ID 0 Data 2 bytes
Data 1 Data 2 Description Remarks
0 0 Preset –24dB 0 1 Preset –30dB 0 2 Preset –36dB 0 3 Preset –42dB 0 4 Preset –48dB 0 5 Preset –54dB 0 6 Preset –60dB 0 7 Preset –66dB 0 8 Preset –72dB F F Sense Requests that the current preset level be returned.
If data other than the above is returned, the CD-RW901 will transmit ILLEGAL [F2].
Return AUTO TRACK LEVEL RETURN [A1]
Loading...
+ 28 hidden pages