Sony MDS-B6P MP3 Player User Manual


 
Appendix
Appendix A-7
Command transmission format
The command transmission format of the set is as
shown below.
All codes conform to the ASCII format. (Use
uppercase letters for A to F.) Add the line feed (L. F.)
and carriage return (C. R.) at the top and end of
command respectively. Also, the number of data “N”
is given in the ASCII code.
L. F. N cmd-1 cmd-2 data-1
N
data-2 C. R.
Note
The MDS-B5 does not support a command that gives
notice of data receive error.
Examples of command
Example 1: If PLAY command is sent
The playback is automatically starts when the PLAY
command is sent in the STOP or PAUSE status. The
code of this command is “011H” as given in the
command list starting from page A-11.
The “0” is added at the top of each command, which
means that if a command containing alphabets such as
“0FFH” is used, the “F” indicates hexadecimal “F” but
it is not an alphabet “F” of ASCII codes. Therefore,
this “0” may be ignored in actual code conversion.
This “011H” is sent in the specified command
transmission format, as shown below.
N=2 because total number of data is 2
00AH 032H 031H 031H 00DH
vvvvv
Line
Feed
N=2 1 1
Carridge
Return
“011H”
Example 2: If you specify the track number
123
For this purpose, two commands “TRACK No.
LOCATE POINT PRESET” and “TRACK No.
LOCATE” must be output.
1 The code of “TRACK No. LOCATE POINT
PRESET” is “023H” according to “List of
Commands” (see page A-10).
Converted into
ASCII code.
2 The following data is attached with this command.
DATA1 (10, 1) (*000-255, decimal number)
DATA2 (**, 100)
This specifies the track number to be played back (up
to 255 tracks in one disc can be set).
“10”: Second digit of the track number to be
specified
“1”: First digit of the track to be specified
“**”: Fourth digit of the track to be specified
(always set to zero)
“100”: Third digit of the track to be specified
Accordingly, the commands to specify the track
number 123 is “023H” and “the contents of DATA” as
shown below.
N=6 since the number of data is 6
00AH 036H 032H 033H 032H 033H 030H 031H 00DH
vvvvvvvvv
Line
Feed
N=6
“023H”
232301
Carridge
Return
3 The code of “TRACK No. LOCATE” is “01BH”
according to “List of Commands” (see page A-10).
This “01BH” is output in the specified command
transmission format, as shown below.
N=2 since the number of data is 2
00AH 032H 031H 042H 00DH
vvvvv
Line
Feed
N=2 1 B
Carridge
Return
“01BH”
4 Under this condition, if the AUTO PAUSE
function is turned off, The MDS-B5 locates and
plays the track number 123 immediately. When
the AUTO PAUSE function is turned on, The
MDS-B5 locates the track and pauses at the
beginning of the track.
Contents of the DATA=
track number 123
Third digit
Converted into
ASCII code
Converted into ASCII code
First digit
Second digit
Fourth digit