1.2 TRANSFER FORMAT OF SERIAL DATA .................................................................................................................. 3
1.3 COMMAND FORMAT AND ANSWER FORMAT......................................................................................................... 4
1.4 PROTOCOL FOR DATA TRANSMISSION AND RECEPTION ..................................................................................... 4
1.4.2 Communication errors .................................................................................................................................... 5
1.6 LIST OF COMMAND CODES .................................................................................................................................. 10
1.7 LIST OF ANSWER CODES ..................................................................................................................................... 11
1.8 LIST OF STATUS CODES....................................................................................................................................... 11
1.9.1 Power ON....................................................................................................................................................... 12
1.9.2 Power OFF .....................................................................................................................................................13
1.9.3 Request System Status ................................................................................................................................ 14
1.9.4 Play .................................................................................................................................................................. 16
1.9.10 Top Menu .................................................................................................................................................... 23
1.9.16 Direct Select................................................................................................................................................29
1.9.22 Request CPU Version................................................................................................................................ 35
This unit shall be based on commands each of which consists of a data row ( some commands
are without a PC ) composed of command codes ( CC ) and parameter codes ( PC ) . The
trans-mitting station shall be designed to send block check characters ( BCC ) following ETX,
with the data row enclosed in STX ( text start : 02h ) and ETX ( text termination : 03h ) .
The receiving station shall regard receipt of BCC as the completion of command reception when
it has received STX.
STX (Start of TeXt) : 02h
CC (Command Code) : Command code
PC (Parameter Code) : Defined for each command
( contents and number of parameters )
ETX (End of TeXt) : 03h
BCC (Block Check Character) :
CC + PC0 + PC1 + PC2 + --------------- + PCn + ETX = XYh
(Each of X and Y is 4 bit long ) X , Y=0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
BCCH ( high-level byte ) = X as converted to an ASCII code
BCCL ( low-level byte ) = Y as converted to an ASCII
code
STX (Start of TeXt) : 02h
RC (Reply Code) : Reply code (=Command code)
AC (Answer Code) : Answer code
PC (Parameter Code) : Defined for each command
( contents and number of parameters )
ETX (End of TeXt) : 03h
BCC (Block Check Character) :
RC +AC + PC0 + PC1 + PC2 + ------------- + PCn + ETX = XYh
(Each of X and Y is 4 bit long) X ,
Y=0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
BCCH ( high-level byte ) = X as converted to an ASCII code
BCCL ( low-level byte ) = Y as converted to an ASCII
code
Protocol for data transmission and reception
1.4
This unit is based on half-duplex communication. The unit shall therefore transmit commands
and receive answers according to the following procedure.
1.4.1
1)
2)
3)
Basic procedure
The host shall select commands for this unit and transmit them to this unit. Command
interval time is MIN 40µsec.
Having issued a command, the host shall receive an answer from this unit, then issue
the next command.
The host shall analyze the RC, AC, and PC as answers given and decide whether the
Copyright 2005 DENON Co.,Ltd.
Page 5
Ver 2.01
Date : Nov.29.2005 5 page of 46
command has been normally executed.
The host shall give an answer to a command that gives operational instructions, then
4)
issue a status request command, and decide whether this unit has finished operating with
regard to the command that gives operational instructions.
The time from the start of command transmission to the end of command transmission
5)
should be max 40 msec.
The time from the completion of command transmission to the start of answer-back is
6)
MAX.60 m
This unit cannot receive any commands for about 5 seconds after the power switch is
7)
turnied on.
5sec.
1.4.2
1)
2)
3)
4)
5)
Communication errors
Having received a command, which results in a communication error ( overrun, framing,
or parity error ) , this unit shall give NAK ( 15h ) . ( MAX 80ms from the start of
command transmission )
If the host has received NAK from this unit, it shall retransmit the command that it has
transmitted immediately beforehand.
Having received an answer, which results in a communication error ( overrun, framing,
or parity error ) , the host shall respond with NAK.
If it has received NAK from the host, this unit shall retransmit the answer it has
transmitted immediately beforehand. ( MAX 40ms)
When there is no answer from the unit within 80 m
command.
6s, the host shall retransmit the
Copyright 2005 DENON Co.,Ltd.
Page 6
Ver 2.01
Date : Nov.29.2005 2 page of 46
Contents
1 SERIAL COMMUNICATION INTERFACE ................................................................................................3
1.2 TRANSFER FORMAT OF SERIAL DATA .................................................................................................................. 3
1.3 COMMAND FORMAT AND ANSWER FORMAT......................................................................................................... 4
1.4 PROTOCOL FOR DATA TRANSMISSION AND RECEPTION ..................................................................................... 4
1.4.2 Communication errors .................................................................................................................................... 5
1.6 LIST OF COMMAND CODES .................................................................................................................................. 10
1.7 LIST OF ANSWER CODES ..................................................................................................................................... 11
1.8 LIST OF STATUS CODES....................................................................................................................................... 11
1.9.1 Power ON ....................................................................................................................................................... 12
1.9.2 Power OFF ..................................................................................................................................................... 13
1.9.3 Request System Status ................................................................................................................................ 14
1.9.4 Play .................................................................................................................................................................. 16
1.9.10 Top Menu .................................................................................................................................................... 23
1.9.16 Direct Select................................................................................................................................................29
1.9.22 Request CPU Version................................................................................................................................ 35
3) When a command with an answer parameter is normally received ( unit ) and an
answer is abnormally received ( host )
Command Transmitted
MAX
40ms
HOST UNIT
STX
CC
PC0
PC1
PC2
PCn
ETX
BCC
Error Check OK
MAX
5s
Error Check NG
STX
RC
AC
PC0
PC1
PCn
ETX
BCC
NAK
STX
RC
AC
PC0
PC1
Answer Transmitted
MAX
6 0ms
Answer
Retransmitted
Copyright 2005 DENON Co.,Ltd.
Page 9
Ver 2.01
Date : Nov.29.2005 9 page of 46
4) When a command with an answer parameter is normally received ( unit ) and an
answer is normally received with ETB ( host )
Command Transmitted
MAX
40ms
HOST UNIT
STX
CC
PC0
PC1
PC2
PCn
ETX
BCC
STX
RC
AC
PC0
PC1
Error Check OK
MAX
5s
Answer Transmitted
Error Check OK
PCn
ETB
BCC
Copyright 2005 DENON Co.,Ltd.
Page 10
Ver 2.01
Date : Nov.29.2005 10 page of 46
List of command codes
1.6
Here is a list of command code types.
2Xh: POWER control command
3Xh: Command related to the acquisition of player information ( such as status and
name )
4Xh~5Xh: Operation instruction command to the player
No. Command Code (ASCII) Operation
1 Power ON 20h ([SP]) Power-on request from the standby state
2 Power OFF 21h (!) Power-off request
3 Request System Status 30h (0)
4 Request CPU Version 31h (1) Acquires the CPU version.
5 Request Error Status 32h (2) Acquires the error code when an error is occurred.
6 Request Disc Status 33h (3)
9 Pause 44h (D) Playback in process.
10 Scan Play 45h (E) Scanning in process.
11 Slow Search Play 46h (F) Slow scanning in process.
12 Setup 47h (G) Setup mode
13 Play Back Control 48h (H) Play Back Control scannig in process
14 DVD Resume Stop 49h (I) Resume stop condition
15 DVD Menu 4Ah (J) DVD menu playback in process
Digital Interface Receive
16
Mode (DAC MODE)
4Bh (K) Under DAC Mode
Copyright 2005 DENON Co.,Ltd.
Page 12
Ver 2.01
Date : Nov.29.2005 12 page of 46
1.9 Command specification
When this unit is set to be compatible with all commands and fails to accept a command
·
( due to a communication error, for example ) , it returns NAK ( 15h ) as an answer.
9 Status code
10 Play mode code ( *7 )
11 Group or Title number information (10 digits)
12 Group or Title number information (1 digits)
13 Track or Chapter number information (100 digits)
14 Track or Chapter number information (10 digits)
15 Track or Chapter number information (1 digits)
16 Time mode ( *8 )
17 Elapsed time (hour, 10 digits)
18 Elapsed time (hour, 1 digits)
19 Elapsed time (minutes, 10 digits)
20 Elapsed time (minutes, 1 digits)
21 Elapsed time (second, 10 digits)
22 Elapsed time (second, 1 digits)
23 ETX ( 03h )
24 BCCH ( high-level )
25 BCCL ( low-level )
(*1) Disc type code (*2) Audio format code (*3) Audio channel code (*4) Dialog
code
Code Disc Type Code Audio Format Code Audio Channel Code Dialog
31h (1) DVD VIDEO 31h (1) DOLBY DIGITAL 31h (1) 1 ch 31h (1) JPN
32h (2) DVD AUDIO 32h (2) DTS 32h (2) 2 ch 32h (2) ENG
33h (3) VCD 33h (3) MPEG 33h (3) 2.1 ch 33h (3) FRA
34h (4) CD-DA 34h (4) LPCM 34h (4) 3 ch 34h (4) DEU
35h (5) ROM 35h (5) PPCM 35h (5) 3.1 ch 35h (5) ITA
36h (6) UNKNOWN 36h (6) UNKNOWN 36h (6) 4 ch 36h (6) ESP
37h (7) SACD
38h (8) DVD-VR
37h (7) DSD
37h (7) 4.1 ch
38h (8) 5 ch
39h (9) 5.1 ch
3Ah (: ) 6 ch
3Bh (;) L /R (CD/VCD/MP3) 3Bh( ; ) UNKNOWN
3Ch (<) R (CD/CD/MP3)
3Dh (=) L (CD/VCD/MP3)
3Eh (>)UNKNOWN
37h (7) NLD
38h (8) CHI
39h (9) RUS
3Ah( : )KOR
Copyright 2005 DENON Co.,Ltd.
Page 15
Ver 2.01
Date : Nov.29.2005 15 page of 46
(*5) Subtitle code (*6) Angle code (*7) Play mode code (*8) Time Mode code
Code Subtitle Code Angle Code Play Mode Code Time Mode
31h (1) JPN 31h (1) 1 31h (1) NORMAL 31h (1) SINGLE ELAPSED
32h (2) ENG 32h (2) 2 32h (2) PROGRAM 32h (2) SINGLE REMAIN
33h (3) FRA 33h (3) 3 33h (3) RANDOM 33h (3) TOTAL ELAPSED
34h (4) DEU 34h (4) 4 34h (4) TOTAL REMAIN
35h (5) ITA 35h (5) 5 35h (5) CHAPTER ELAPSED
36h (6) ESP 36h (6) 6 36h (6) CHAPTER REMAIN
37h (7) NLD
38h (8) CHI
39h (9) RUS
3Ah ( : ) KOR
3Bh ( ; ) UNKNOWN
37h (7) 7
38h (8) 8
39h (9) 9
37h (7) TITLE ELAPSED
38h (8) TITLE REMAIN
39h (9) TRACK ELAPSED
3Ah (: ) TRACK REMAIN
3Bh ( ; ) GROUP ELAPESD
3Ch (<) GROUP REMAIN
Special conditions
2)
When the disc does not set to DVD mechanism and disc loading process does not
·
finish, group number, title number, track number, and chapter number are set (' 0
' ) .
When the disc does not set to DVD mechanism and disc loading process does not
·
finish, elapsed time information are set ( ' 0 ' ) .
When power condition is “STANDBY”, can accept “REQUEST SYSTEM STATUS”,
·
“POWER ON KEY”, “REQUEST CPU VERSION”, and “REQUEST ERROR STATUS”.
Incase of another command, returns “COMMAND FORMAT ERROR ( ' 1 ' ) “ in the
“ANSWER CODE”
0 STX ( 02h )
1 Reply code ( ' C ')
2 Answer code
3 Group number or title numbsr (10digit)
4 Group number or title numbsr (1digit)
5 Chapter or track number (100digit)
6 Chapter or track number (10digit)
7 Chapter or track number (1digit)
8 ETX ( 03h )
9 BCCH ( high-level )
10 BCCL ( low-level )
Special conditions
2)
This command is valid only , when mode status data is Play (E) or Pause (F) .
·
The unit can skip to a maximum track with Forward (+) and to a minimum track
·
with Reverse (–) and when it goes to more than those track, the Order Track None
(2) answer code is issued.
31h (1) SLOW X 1 /8 (FWD)
32h (2) SLOW X 1 /6 (FWD)
33h (3) SLOW X 1 /4 (FWD)
34h (4) SLOW X 1 /2 (FWD)
35h (5) SLOW X 1 /8 (RVS)
36h (6) SLOW X 1 /6 (RVS)
37h (7) SLOW X 1 /4 (RVS)
38h (8) SLOW X 1 /2 (RVS)
39h (9) FF X 64
3Ah ( : ) FF X 32
3Bh ( ; ) FF X 16
3Ch (<) FF X 8
3Dh (=) FF X 6
3Eh (>) FF X 4
3Fh (?) FF X 2
40h (@) FR X 64
41h (A) FR X 32
42h (B) FR X 16
43h (C) FR X 8
44h (D) FR X 6
45h (E) FR X 4
46h (F) FR X 2
47h (G) NORMAL
Special conditions
2)
This command is valid only when the mode status is Play (E) or Pause (F) .
·
To make the search speed what you want , it needs to send some this command.
·
Example : Now it 's plaing . If you make the search speed to FF X 6 , it needs to
send this command 3 times.
The operation matrix is shown as next page.
When status code is 4Bh (DIR mode) , this command is not accepted.
0 STX ( 02h )
1 Reply code ( ' L ')
2 Answer code
3 Group number or title number (10 digit)
4 Group number or title number (1 digit)
5 Chapter number or track number (100 digit)
6 Chapter number or track number (10 digit)
7 Chapter number or track number (1 digit)
8 ETX ( 03h )
9 BCCH ( high-level )
10 BCCH ( low-level )
Special condition
2)
When status code is 4Bh (DIR mode) , this command is not accepted.
·
Copyright 2005 DENON Co.,Ltd.
Page 30
Ver 2.01
Date : Nov.29.2005 30 page of 46
1.9.17 Cursor
This moves highlight area of initial setting screen.
0 STX (02h)
1 Reply code ( ' 1 ' )
2 Answer code
3 System µ-con version number (1000 digit)
4 System µ-con version number (100 digit)
5 System µ-con version number (10 digit)
6 System µ-con version number (1 digit)
7 Drive µ-con version number (1000 digit)
8 Drive µ-con version number (100 digit)
9 Drive µ-con version number (10 digit)
10 Drive µ-con version number (1 digit)
11 Panel µ-con version number (1000 digit)
12 Panel µ-con version number (100 digit)
13 Panel µ-con version number (10 digit)
14 Panel µ-con version number (1 digit)
15 ETX ( 03h )
16 BCCH ( high-level )
17 BCCH ( low-level )
Special condition
2)
This command is valids only when system status is except 'System Initialize (1) '.
·
Copyright 2005 DENON Co.,Ltd.
Page 36
Ver 2.01
Date : Nov.29.2005 36 page of 46
1.9.23 Request Error status
This gets error status. If error occurs, it becomes stop mode.
byte \ bit 7 6 5 4 3 2 1 0
0 STX ( 02h )
1 Command code ( ' 2 ' )
2 Reserve (00h)
3 Reserve (00h)
4 Reserve (00h)
5 Reserve (00h)
6 ETX ( 03h )
7 BCCH ( high-level )
8 BCCH ( low-level )
Answers returned
1)
byte \ bit 7 6 5 4 3 2 1 0
0 STX (02h)
1 Reply code ( ' 2 ' )
2 Answer code
3 1 st error code
4 2 nd error code
5 ETX ( 03h )
6 BCCH ( high-level )
7 BCCH ( low-level )
Special condition
2)
If error does not occur, set ' 0 ' to byte3 and byte4.
·
Special condition
3)
Error code is the following.
·
After error occurs, it receives only 'OPEN /CLOSE KEY '.
·
Error code
No.
1 0x20 0x00 Loading error
2 0x21 0x00 Loading switch error
3 0x22 0x00 Forcus servo error
4 0x23 0x00 Tracking servo error
5 0x24 0x00 Can 't adjust offset value for servo circuit
6 0x25 0x00 Can 't adjust gain value for servo circuit
7 0x26 0x00
8 0x27 0x00 During spinup, data of disc does not read
9 0x28 0x00 During play, data of disc does not read
10 0x29 0x00
11 0x2A 0x00 Subcode data does not read
12 0x2C 0x00 Command error occurs
13 0x2D 0x00
Error code
1 st 2 nd
Detail
Focusing failed in playing or searching or pauseing
Cannot read within a preset time period in TOC
reading.
Focusing failed in scanning
Copyright 2005 DENON Co.,Ltd.
Page 37
Ver 2.01
Date : Nov.29.2005 37 page of 46
1.9.24 Request Disc status
This obtains the information on the disk number reproduced now and each disk.