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 commands

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

Page 4
Image 4
Tascam CD-01U specifications Command Format Overview, Machine ID