Tascam CD-01 U User Manual

TASCAM CD-01U/CD-01U PRO RS-232C Protocol Specifications
TASCAM CD-01U/CD-01UPRO
CONTROL I/O Terminals
RS-232C Protocol Specifications
Ver. 1.02
July 2005
TEAC
1 TEAC Corporation
TASCAM CD-01U/CD-01U PRO RS-232C Protocol Specifications
The CD-01U/CD-01U PRO (here referred to as “controlled device”) functions can be controlled using a serial RS-232C connection from an external device, such as a computer. Such a device is referred to here 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
Impedance at receiver When measured with an applied voltage of between +/-3 V and
Open circuit voltage at transmitter < 25V Open circuit voltage at receiver < 2V
Signal voltage When the open circuit voltage at the receiver is 0 V, the signal
Signal discrimination Logical “1” = < -3V
standards) Note that this is not compatible with the RS-422 used in professional VTR units.
+/-15 V, the DC resistance is between 3 kohm and 7 kohm. Total load capacitance of < 2500 pF
voltage is between +/-5 V and +/-15 V against a load impedance of between 3 kohm and 7 kohm.
Logical “0” = > +3V
2.2. Communication format
Circuit type 3-wire, Half-duplex Transmission type Digital binary serial Data speed (baud rate) 9600/19200/38400 bit/sec Word length 8-bit Parity bit None Stop bit 1 bit (* Word length, parity bit, and stop bit of CD-01U are fixed.)
2.3. Connector pin-out
Connector D-sub 9pin female (Inch screw 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 - (Reserved) Reserved 5 - GND Signal ground pin 6 - (Reserved) Reserved 7 - (Reserved) Reserved 8 - (Reserved) Reserved
9 - NC Not connected *1: Impress voltage complied with RS-232C standard to Rx Data. *2: CD-01U doesn’t have RTS/CTS terminals for loop-back in this connector. Make sure the
specifications of external controller and if necessary, please have the loop-back circuit outside of the CD-01U.
2 TEAC Corporation
TASCAM CD-01U/CD-01U PRO RS-232C Protocol Specifications
RXD
RXD
2
TXD
TXD
3
GND GND
5
CD-01U/CD-01U PRO External controller
3 TEAC Corporation
TASCAM CD-01U/CD-01U PRO RS-232C Protocol Specifications
3. Command Format
3.1. Command Format Overview
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
The codes described here are transmitted in ASCII format (e.g. a command described as “23” is transmitted as ASCII ’2’ followed by ASCII ’3’). Uppercase letters are used for letters ’A’ through ’F’. All commands must be prefixed by a line-feed (LF) character [0Ah] followed by a Machine ID. All commands are terminated by a carriage return (CR) character [0Dh].
Sample command s
Sample 1: PLAY command (Machine ID=0)
When the controlled device is in STOP/READY mode, this command starts playback. The PLAY command is [12], and it is transmitted using the following sequence:
ID Command
ASCII LF 0 1 2 CR
HEX 0Ah 30h 31h 32h 0Dh
Sample 2:Direct search for track 12 (Machine ID=0)
In order to perform this operation, “DIRECT TRACK SEARCH PRESET [23]” command is used. The track number is also sent as a parameter (data). This is sent in four bytes, as shown below:
ID Command Data: 12th track
ASCII LF 0 2 3 1 2 0 0 CR
HEX 0Ah 30h 31h 32h 31h 32h 30h 30h 0Dh
The four data bytes represent, in order, the following digits of the track number: the “tens” digit (1), the “units” digit (2), the “thousands” digit (0), and the “hundreds” digit (0).
3.2. Machine ID
Machine ID of this device is fixed to [0]. A command with other Machine ID than [0] is ignored.
4 TEAC Corporation
TASCAM CD-01U/CD-01U PRO RS-232C Protocol Specifications
3.3. List of Commands
Control/Preset/Sense Command Return Command
88 TIME DATA 0F INFORMATION REQUEST 8F INFORMATION RETURN 10 STOP
12 PLAY 14 READY 15 JOG 16 SHUTTLE 18 EJECT
1A TRACK SKIP 1D CALL
20 AUTO CUE LEVEL PRESET A0 AUTO CUE LEVEL RETURN 23 DIRECT TRACK SEARCH PRESET 25 PITCH CONTROL DATA PRESET A5 PITCH CONTROL DATA RETURN
2C TIME SEARCH PRESET
2E FADE IN/OUT TIME PRESET AE FADE IN/OUT TIME RETURN 30 AUTO CUE SELECT B0 AUTO CUE SELECT RETURN 32 EOM TRACK TIME PRESET B2 EOM TRACK TIME RETURN 34 TIMER RESUME PLAY SELECT B4 TIMER RESUME PLAY SELECT 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
3A INCR PLAY SELECT BA INCR PLAY SELECT RETURN
3E FADE IN/OUT SELECT BE FADE IN/OUT SELECT RETURN 3F TIME DATA SEND SELECT BF TIME DATA SEND SELECT RTURN
4D PLAY MODE SELECT
4E PLAY MODE SENSE CE PLAY MODE RTURN 50 MECHA STATUS SENSE D0 MECHA STATUS RETURN 53 ISRC SENSE D3 ISRC RETURN 55 TRACK No. SENSE D5 TRACK No. 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
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
F0 ERROR SENSE REQUEST
F2 ILLEGAL STATUS
F4 POWER ON STATUS
F6 CHANGE STATUS 78 ERROR SENSE F8 ERROR SENSE RETURN
5 TEAC Corporation
TASCAM CD-01U/CD-01U PRO RS-232C Protocol Specifications
Version up history
Ver. 1.00: Released version. Ver. 1.02: Following commands to be added.
PITCH CONTROL DATA PRESET [25] FADE IN/OUT TIME PRESET [2E] EOM TRACK TIME PRESET [32] TIMER RESUME PLAY SELECT [34] FADE IN/OUT SELECT [3E] TIME DATA SEND SELECT [3F] PLAY MODE SENSE [4E] ISRC SENSE [53] CURRENT TRACK TIME SENSE [58] TOTAL TRACK No. / TOTAL TIME SENSE [5D] PITCH CONTROL DATA RETURN [A5] FADE IN/OUT TIME RETURN [AE] EOM TRACK TIME RETURN [B2] TIMER RESUME PLAY SELECT RETURN [B4] FADE IN/OUT SELECT RETURN [BE] TIME DATA SEND SELECT RETURN [BF] PLAY MODE RETURN [CE] ISRC RETURN [D3] CURRENT TRACK TIME RETURN [D8] TOTAL TRACK No. / TOTAL TIME RETURN [DD]
6 TEAC Corporation
TASCAM CD-01U/CD-01U PRO RS-232C Protocol Specifications
3.4. Command Sequence
The CD-01U/CD-01U PRO does not have the “ACK” command for the each transport control command and data preset command. When a request command is transmitted from external controller to the controlled device, the controlled device sends an appropriate return command. When the mechanism status of the controlled device is changed (i.e. from stop to play ), or an error occurs, the controlled device sends a command to notify such change to the external controller. Some samples of command sequence are described below:
Note that an interval of at least 20 ms must be left between commands.
Sample 1: Transport control (i.e. PLAY)
The controlled device is in STOP mode. Send the transport control (PLAY) command from the external controller to the controlled device. The controlled device starts playback and sends the CHANGE STATUS return command.
Command
External controller Controlled device
PLAY -> Starts playback
CHANGED STATUS Sent the CHANGE STATUS
<-
Sample 2: To preset a data (i.e. PITCH CONTROL DATA PRESET)
Send the PITCH CONTROL DATA PRESET command with pitch control value from the external controller to the controlled device. The controlled device sets the pitch control data.
Command
External controller Controlled device
PITCH CONTROL DATA PRESET (i. e. –1.0%)
Sample 3: To request the status or a data currently set (i.e. PITCH CONTROL DATA)
Send the PITCH CONTROL DATA PRESET command with request data [FF] from the external controller to the controlled device. If the controlled device has the pitch control data, the controlled device returns the PITCH CONTROL DATA RETURN with pitch control value.
External controller Controlled device
PITCH CONTROL DATA PRESET (with FF)
->
Command
->
<-
PITCH CONTROL DATA RETURN
Status of the controlled
STOP
return command
Status of the controlled
Sets pitch control data to -1.0%.
Status of the controlled
device
device
device
7 TEAC Corporation
TASCAM CD-01U/CD-01U PRO RS-232C Protocol Specifications
4. Command Detail
Commands, data, and machine IDs which are described here are represented in characters (ASCII). A command is a 2-byte character, a Machine ID is a 1-byte character, and each data is a 1-byte character.
4-1. INFORMATION REQUEST
Requests the internal software version number of the controlled device.
Command 0F Data None Return INFORMATION RETURN [8F]
4-2. STOP
Puts the controlled device into STOP mode.
Command 10 Data None Return None
4-3. PLAY
Puts the controlled device into PLAY mode.
Command 12 Data None Return None
4-4. READY
Puts the controlled device into READY mode.
Command 14 Data 2 bytes Return None
Data 1 Data 2 Description Remarks
0 0 Ready Off 0 1 Ready On
· If the specified data is other than described above, the controlled device sends ILLEGAL [F2].
4-5. JOG
Turns the JOG mode on and off, and performs frame accurate search.
Command 15 Data 2 bytes Return None
Data 1 Data 2 Description Remarks
0 0 Jog Off Turns the Jog mode off 0 1 Jog On Turns the Jog mode on 1 0 Jog Forward Frame accurate search in forward direction 1 1 Jog Reverse Frame accurate search in backward direction
· If the specified data is other than described above, the controlled device sends ILLEGAL [F2].
8 TEAC Corporation
Loading...
+ 18 hidden pages