DENON DN-700CB DN-700CB_Serial_Command_Protocol_Guide_v1.2.pdf

Serial Command Protocol Guide
English

Table of Contents

Support .................................................................................................................................. 3
General Overview .................................................................................................................. 3
Connecting the Host to DN-700CB ...................................................................................... 3
Types of Serial Communication ............................................................................................ 4
Structure of the Codes .......................................................................................................... 5
Rules on Transmitting Command Codes ............................................................................. 5
RS-232C Specifications ........................................................................................................ 8
Trademarks & Licenses ......................................................................................................... 8
2

Introduction

Thank you for purchasing the DN-700CB. At Denon Professional, performance and reliability mean as much to us as they do to you. That’s why we design our equipment with only one thing in mind—to make your performance the best it can be.

Support

For the latest information about this product (documentation, technical specifications, system requirements, compatibility information, etc.) and product registration, visit denonpro.com.
For additional product support, visit denonpro.com/support.

General Overview

With RS-232C serial remote control, a “host” machine such as a PC can be used to operate your DN­700CB. Throughout this document, the equipment used to control DN-700CB will be called the Host.
To learn more about the different types of serial communication and the code structure it requires, see the Communication Protocol section that starts on the next page. To the view the complete list of serial command codes, see the Control Command Codes and Status Request Command
Codes/Status Information Codes sections later in this manual.

Connecting the Host to DN-700CB

For serial remote control, you must first connect the host to your DN-700CB. Use an RS-232C Straight Cable (9-Pin D-Sub Male) to connect the RS-232C input on the rear panel of your DN-700CB to the corresponding input on the host.
Personal Computer
RS-232C Straight Cable
DN-700CB Rear Panel
3

Communication Protocol

Types of Serial Communication

Three types of serial communication can be transmitted between the host and DN-700CB:
1. Control commands sent to DN-700CB from the host
DN-700CB Host
You can use control commands to make DN­700CB perform a desired function (such as playing or skipping a track).
When DN-700CB receives a control command from the host, DN-700CB executes the command.
2. Status request commands sent to DN-700CB from the host
You can use a status request command to determine the current state of one of DN-700CB’s components (such as whether there is a disc in the CD slot, how many tracks are in the current tracklist, etc.).
When DN-700CB receives a status request command from the host, DN-700CB answers the host with the requested status information.
Control Command
DN-700CB Host
Status Request Command
Status
Information
3. Status information automatically sent to the host when a change is made from DN-700CB
When a change to DN-700CB is made from the device itself, DN-700CB automatically sends status information to the host.
4
DN-700CB Host
Status
Information
r

Structure of the Codes

Serial communication between the host and DN-700CB uses ASCII Code from 0x20 to 0x7F.
All control command codes, status request command codes, and status information codes require three components that form a “packet.” In order, the components are the start character + ID, the command, and the end character (0x0D):
1. Start Character + ID: @ (0x40) + 0 (0x30)
2. Command: some letters and/or numbers that stand for a controllable feature of DN-700CB
3. End Character: \r (0x0D)
The required start character/ID and end character are the same in all codes, whereas the command portion varies with each code.
For example, the full control command code that the host would use to power on DN-700CB would be @0PW00\r:
Start Character
+ ID
Command
@0 PW00 \r
End Characte

Rules on Transmitting Command Codes

When DN-700CB receives a control command or status request command from the host, DN- 700CB should respond within 300 ms.
When DN-700CB successfully executes a command that it receives from the host, DN-700CB sends an ACK signal (0x06) to the host (as well as the status information code in the case of a status request command).
If DN-700CB receives an unknown command from the host or if a received command fails for some other reason, DN-700CB will send a NACK signal (0x15) to the host.
When sending consecutive commands from the host, do not send the second command until DN- 700CB has answered the first with the ACK (0x06) or NACK (0x15) signal. If the second command is sent before the ACK (0x06) or NACK (0x15) signal is received, DN-700CB will send the “Busy” status information code (@0BDERBUSY) to the host.
If DN-700CB does not receive a command that the host sent within 300 ms, the host will automatically send the same command up to two additional times. If DN-700CB still does not receive the command after the second automatic attempt, the process will timeout, and the host will send the end character to DN-700CB.
Do not send a second status request command from the host until DN-700CB has responded to the first.
When sending a command to DN-700CB from the host, make sure that no longer than 5 ms passes between entering each character in the command code.
Wait at least one second after sending the Power On command before sending the next command.
When status information is automatically sent to the host after a change to DN-700CB is made from
the device itself, the host will send an ACK (0x06) signal to DN-700CB. If DN-700CB does not receive the ACK signal within 300 ms, it will automatically send the status information to the host again. If DN-700CB then fails to receive the ACK (0x06) signal again, the process will timeout.
5

Control Command Codes

Control Commands (Host DN-700CB)
CATEGORY CONTENTS CODE DESCRIPTION
Power
Track Playback
Track Selection
Power On @0PW00 Powers on DN-700CB
Power Off @0PW01 Powers off DN-700CB
Play @02353 Plays the current track
Pause @02348 Pauses the current track
Stop @02354 Stops the current track
Turn Mute On @0mt00 Mutes audio for the current track
Turn Mute Off @0mt01 Unmutes audio for the current track
Restart/Previous Track @02333
Next Track @02332 Skips to the next track in the tracklist
Select Track Number @0Trnnnn
Restarts the current track or skips to the previous track in the tracklist
Selects the track corresponding to the entered number, where nnnn (number) = 0001 - 9999
Track Searching
Number Buttons
Time Display
Rewind @0PCSLSR Rewinds the current track
Fast Forward @0PCSLSF Fast forwards the current track
Selects the track corresponding to the entered
Enter Number @0PCTKEYn
Display Elapsed @0PCTMDEL
Display Total Elapsed @0PCTMDTL
Display Total Remaining @0PCTMDTR
number, where n (number) = 0 - 9; Selects and plays the track if Hot Start is activated
Sets the Display screen to show the amount of time that has passed in the currently selected track
Sets the Display screen to show the amount of time that has passed in the current tracklist
Sets the Display screen to show the amount of time remaining in the current tracklist
6
x

Status Request Command Codes/Status Information Codes

Status Request
Commands
(Host DN-700CB)
REQUEST CODE ANSWER CODE
Power Status
CD Status
Track Status
Track Number
Tracklist Size
@0?PW
@0?CD
@0?ST
@0?Tr
@0?Tt
On ACK The power is on
Off No answer The power is off
No Disc @0CDNC There is no disc in the CD slot
Disc In @0CDCI There is a disc in the CD slot
Playing @0STPL The current track is playing
Paused @0STPP The current track is paused
Rewinding @0STDVSR The current track is rewinding
Fast Forwarding @0STDVSF The current track is fast forwarding
Number of the current track
Total number of tracks
Status Information
(DN-700CB Host)
@0Trnnnn
@0Ttnnnn
DESCRIPTION
The current track’s number within the tracklist, where nnnn (number) = 0000 ­9999; nnnn = UNKN if the track number is undetectable
The total number of tracks in the current tracklist, where nnnn (number) = 0000 ­9999; nnnn = UNKN if the total number of tracks is undetectable
Track Title
Track Artist
Album Title
Track Time
Elapsed Track Time
Remaining Track Time
@0?ti
@0?at
@0?al
@0?tl
@0?ET
@0?RM
Title of the current track
Artist on the current track
Album for the current track
Time position of the current track
Time elapsed in the track
Time remaining in the track
@0tixxx
@0atxxx
@0alxxx
@0tlMMMSS
@0EThhhmmss
@0RMhhhmmss
The title of the current track, where up to 64 characters of the title
The name of the artist on current track, where xxx = up to 64 characters of the artist name
The name of the album that the current track is on, where xxx = up to 64 characters of the album name
The time position of the current track, where MMM (minutes) = 000 - 999 and SS (seconds) = 00 - 59
The amount of time that has elapsed in the current track, where hhh (hours) = 000
- 999, mm (minutes) = 00 - 59, and ss (seconds) = 00 - 59
The amount of time remaining before the current track ends, where hhh (hours) = 000 - 999, mm (minutes) = 00 -59, and ss (seconds) = 00 - 59
xx =
7

Appendix

RS-232C Specifications

Connector
Mode
Transfer Rate
Data Length
Parity
Start Bit
Stop Bit
Flow Control
Pin Arrangement Pin Number Signal Name
9-Pin D-sub Female
Full Duplex
9600, 38400, or 115200 bps
8 bits
None
1 bit
1 bit
None
1 Ground
6 NC
2 TxD
7 RTS*
3 RxD
8 NC
4 NC
9 NC
5 S. Ground
*
5 V / 500 mA power supply can be used for RTS.

Trademarks & Licenses

Denon is a trademark of D&M Holdings Inc., registered in the U.S. and other countries. Denon Professional products are produced by inMusic Brands, Inc., Cumberland, RI 02864, USA.
All other product names, company names, trademarks, or trade names are those of their respective owners.
8
denonpro.com
Manual Version 1.2
Loading...