BDP-LX91
BDP-09FD
Communication Interface
User's Manual
We recommend using the latest software.
Version 1.00
19 Dec. 2008
Pioneer Corporation
Confidential Pioneer
1
Contents
1 Introduction ..................................................................... 4
2 Serial control ................................................................... 4
2.1 Interface Specifications................................................... 4
2.2 Connection to a Computer................................................... 4
2.3 Commands and Status........................................................ 5
3 Commands ......................................................................... 6
3.1 Power on Processing.......................................................... 6
3.2 Command Structure............................................................ 6
3.2.1 Command mnemonics......................................................... 6
3.2.2 Arguments ............................................................... 6
3.2.3 Command string buffer ................................................... 6
3.2.4 Command string termination .............................................. 7
3.2.5 Command processing ...................................................... 7
3.2.6 "Completed" message ..................................................... 7
3.2.7 Error messages .......................................................... 7
3.2.8 Exception processing .................................................... 7
3.2.9 Request status .......................................................... 7
3.3 Error Messages............................................................... 8
3.4 List of Commands............................................................. 9
3.5 Command Details............................................................. 11
Confidential Pioneer
3
1 Introduction
This unit is a BD player allowing playback of BDs, DVDs and CDs.
In addition to the basic operations on the main unit and using the remote control, the player is also
equipped with an RS-232C-compatible serial control interface allowing connection to a computer.
This manual explains procedures and cautions related to controlling the player using this interface. For
instructions on using the buttons on the remote control and front panel, refer to the operating
instructions included with the player.
2 Serial control
2.1 Interface Specifications
2.1.1 Signal level
RS-232C level
2.1.2 Data format
Data length
Stop bit
Parity
: 8 bits
: 1 bit
: None
2.1.3 Signal transfer rate (baud rate)
The baud rate is fixed to 115200 (bps).
2.2 Connection to a Computer
The computer and player are connected with three wires, as shown on the diagram below.
TxD
Computer RxD
GND
RxD
TxD
GND
Player
The player accepts commands whenever the power is turned on.
Thus, when using with a standard RS-232C port on the computer, there is no need to connect any
Confidential Pioneer
4
control wires other than TxD and RxD.
With some computers, however, hardware processing of the CTS input is required for operation.
In this case a DTR output can be used. As long as signal transfer is possible, a positive potential is
output for DTR. Connect the DTR output to the computer's CTS input.
2.3 Commands and Status
Processing differs for the remote control button commands and other commands.
When the player receives a remote control button command, it sends the "Completed" message
(R<CR>) and conducts the same operation as the remote control button.
As the basic protocol for commands other than "remote control button" commands, the computer
issues the command to the player and the player returns the status.
Examples:
(1) "Stop playback"
99RJ<CR>
Computer
Player
→ (2) Playback stops.
← (3) "Completed"
R<CR>
(4) "Open disc tray"
OP <CR>
→ (5) Disc tray opens.
← (6) "Completed"
R<CR>
Once execution of the command is fully completed, the player sends the "Completed" message
(R<CR>).
If an error occurs, the player sends the error code, for example "04<CR>.
The function for returning the status automatically with respect to execution of commands is called
"Auto status".
The auto status function notifies the computer of the timing for issuing the next command.
If the computer does not use this function, the next command must be issued after fully considering
the command processing time.
There is also the "Request status" function for checking the player's status, making it possible to
learn player information and such disc information as the operating mode, time, etc.
The main request status functions are as shown below.
Confidential Pioneer
5
・
・
・
?P – To know the player's operating mode.
?A, ?R, ?C, ?T, ?I – To know the current time, chapter, title/track number, etc.
?L, ?E, ?Z – To know the player's information.
The status function is as follows:
Status report
├─ Auto status
|
|
├─ Completed message
└─ Error message
└─ Request status
3 Commands
3.1 Power on Processing
When the remote control button "Power" command is sent by RS-232C command while the power is
off, power on processing is performed.
Even if other commands are received simultaneously with the remote control button "Power"
command, only power on processing is performed.
When the remote control button "Play" command is received as well, power on processing is
performed and playback is started.
3.2 Command Structure
3.2.1 Command mnemonics
Commands use ASCII English letters and are expressed in two letters.
There is no distinction between capital and small letters.
Arguments are added to commands to specify chapter numbers or titles, etc.
3.2.2
Arguments
Arguments are expressed in ASCII decimal numbers, placed in front of the command.
If a command requiring an argument has no argument, an error is generated.
3.2.3
Command string buffer
When commands are received, a command string of up to 32 characters is buffered. Characters beyond
the 32nd character are ignored.
Confidential Pioneer
6
3.2.4
Command string termination
When the <CR> code is received, this terminates the command.
3.2.5
Command processing
Buffered commands are extracted in order and the operation is started.
Once execution of the command is fully completed, the "Completed" message (R<CR>) is sent.
If <SPACE> or <LF> (line feed) is included in the received command string, it is ignored.
If the command is unusable, the error message in 3.3.7 is sent.
If an error is generated, subsequent commands are not executed.
3.2.6
"Completed" message
"Completed" messages used with the auto status function are expressed "R".
3.2.7
Error messages
Error messages are expressed as "E" followed by a two-digit error code.
Example: E04<CR>
Error messages are returned when the issued command cannot be executed, obstructing continued
control.
3.2.8
Exception processing
If a different command is received while executing another command, execution of the previous
command is interrupted and the new command is executed.
3.2.9
Request status
Commands including a "?" indicate a request status. Information associated with the command is sent,
terminated with <CR> and returned.
If multiple request commands are issued within the command string, a status terminated by <CR> is
returned for each.
Example:
? R? C<CR>
→
01<CR>
05<CR>
Confidential Pioneer
7
3.3 Error Messages
If an error is generated while a command is being executed, an error code such as "E04<CR>" on the
table below is returned.
Only the most recent error code is stored, and is canceled when the power is turned off.
The initial value of the error code is "00".
Code
E04
Error type
Explanation
Attempt to execute a function that is not usable was
made
Feature not available
• Command mnemonics are wrong
• That mode cannot be used
E06
E12
Missing Argument
Search Error
Proper parameter has not been specified
Search address cannot be found
Fatal error has occurred
• Disc cannot be loaded
E99
Panic Error
• Player has stopped due to mechanical error
• Player has stopped because playback cannot
continue, etc.
Confidential Pioneer
8
Pioneer
3.4 List of Commands
Below is a list of RS-232C commands.
For details on individual commands, see 3.5 Command Details.
Playback-related commands(*1) are only valid for BDMV, BDAV, DVD-Video, DVD VR, CD-DA and DTS-CD discs.
(*1) Playback-related commands: Stop, Play, Pause, Still, Search & Play, Current Address Request, Time Code Request,
Title/Track Number Request, Chapter Number Request and Index Number Request
Operation-related commands(*2) do not operate when any screen other than a screen displayable in the play mode(*3)
is displayed.
(*2) Operation-related commands: Stop, Play, Pause, Still, Search & Play, Menu Call, Numeric Button,
Button Select, Enter Button and Slow
(*3) Screens displayable in the play mode: Now Playing screen, play mode screen, picture quality adjustment screen,
audio adjustment screen, etc.
An address can be specified for commands for which "Address" is indicated in the command mnemonic.
The specified address operates according to the address mode.
The types of applications and address modes that can be specified are shown below.
The initial value of the address mode is "TM(Time)".
BDMV
○
BDAV
○
DVD-Video
○
DVD VR
○
CD-DA
○
DTS-CD
○
TM (Time)
TI (Title)
○
○
○
○
○
○
○
○
×
×
×
×
CH (Chapter)
An argument can be specified for commands for which "Argument" is indicated in the command mnemonic.
For details about arguments, see the separate commands under 3.5 Command Details.
RS-232C Command
No. Command Name
Mnemonic
OP
CO
99RJ
(Argument)KL
Function
Opens the disc tray.
Closes the disc tray.
Stops playback.
Controls button and tray locking.
Returns all information on currently playing title/chapter number, etc.
Returns currently playing time.
Returns currently playing title/track number.
Returns currently playing chapter number.
Returns currently playing track number and index number.
Returns player's current operating status.
Returns the latest error code.
1
2
3
4
5
6
7
8
9
Open
Close
Stop
Key Lock
Current Address Request
Time Code Request
Title/Track Number Request ?R
?A
?T
Chapter Number Request
Index Number Request
?C
?I
10 Player Active Mode Request ?P
11 Error Code Request ?E
12 Firmware Version Request ?Z
13 Player Model Name Request ?L
Returns the firmware version.
Returns the player's model name, including destination code.
Sets slow motion playback.
14 Slow
(Argument)SW
Conducts the same operation as the remote control buttons. For
the correspondence between the remote control buttons and
arguments, see Remote Control Button Commands and
Arguments below.
15 Remote control Button
/(Argument)/RU
Confidential Pioneer
9
Pioneer
Remote Control Button Command
Commands and arguments are assigned to the buttons on the player's remote control unit.
In cases in which operation differs from that of the remote control button, the explanation is given under Function.
No. Command Name
Argument
A181AFBC
A181AFB6
A181AFBE
A181AF36
A181AFB5
Function
Turns the power on and off.
Opens and closes the disc tray.
Switches the audio.
Switches the subtitles.
Switches the BDMV or DVD-Video disc angle.
When this command is received while playing a BDMV disc
containing secondary video (Picture in Picture), the player
When this command is received while playing a BDMV disc
containing secondary audio, the player switches to the secondary
Displays/turns off the play mode screen.
Displays/turns off the picture quality adjustment screen.
Displays/turns off the Home Media Gallery.
Displays the top menu screen for the BDMV or DVD-Video disc.
Displays/turns off the Home Menu.
Displays the menu screen for the BDMV or DVD-Video disc.
Used to select items, change settings, move the cursor, etc.
* Not compatible with long-press operation, cannot be used for
moving among selected items, changing settings or moving the
cursor through long-press operation.
Used to execute the selected item, set the changed setting, etc.
Returns to the previous screen.
Displays/turns off the tools menu.
1
2
3
4
5
STANDBY/ON
OPEN/CLOSE
AUDIO
SUBTITLE
ANGLE
6
7
SECONDARY VIDEO
SECONDARY AUDIO
A181AFBF
A181AFBD
8
9
PLAY MODE
VIDEO ADJUST
A181AF7F
A181AF30
A181AFF7
A181AFB4
A181AFB0
A181AFB9
A184FFFF
A185FFFF
A187FFFF
A186FFFF
A181AFEF
A181AFF4
A181AFB3
A181AFA0
A181AFA1
A181AFA2
A181AFA3
A181AFA4
A181AFA5
A181AFA6
A181AFA7
A181AFA8
A181AFA9
10 HOME MEDIA GALLERY
11 TOP MENU
12 HOME MENU
13 MENU (POPUP MENU)
14 UP
15 DOWN
16 LEFT
17 RIGHT
18 ENTER
19 RETURN
20 TOOLS
21 0
22 1
23 2
24 3
25 4
26 5
27 6
28 7
29 8
30 9
Used to specify and play the title/chapter/track to be played, to
select items on menu screens, etc.
Used when a mistake has been made inputting a number, etc.
* Not compatible with long-press operation, so cannot be used for
Displays disc information.
Starts playback.
Stops playback.
31 CLEAR
A181AFE5
32 DISPLAY
33 PLAY
34 Stop
A181AFE3
A181AF39
A181AF38
Stops playback temporarily. Playback resumes when this
command is received again.
35 PAUSE
A181AF3A
Sets reverse scan when received during playback, step reverse
when received in the pause mode.
* Not compatible with long-press operation, so cannot be used for
reverse scanning or reverse slow play through long-press
Sets forward scan when received during playback, step forward
when received in the pause mode.
36 REV SCAN/SLOW/STEP
A181AFEA
37 FWD SCAN/SLOW/STEP
A181AFE9
* Not compatible with long-press operation, so cannot be used for
forward scanning or forward slow play through long-press
Cues to beginning of previous title/chapter/track/file.
* Not compatible with long-press operation, so cannot be used for
page switching on list screens through long-press operation.
Cues to beginning of next title/chapter/track/file.
* Not compatible with long-press operation, so cannot be used for
page switching on list screens through long-press operation.
Switches the resolution of the video signals output from the HDMI
OUT (MAIN/SUB) terminals or Component Video terminal.
38 PREVIOUS
39 NEXT
A181AF3E
A181AF3D
OUTPUT RESOLUTION
(UP)
40
A181AFFA
A181AFFC
OUTPUT RESOLUTION
(DOWN)
41
Switches the video output terminal to be viewed between the
HDMI OUT (MAIN) and HDMI OUT (SUB) or the ANALOG OUT,
COMPONENT VIDEO , S-VIDEO and VIDEO terminals.
Adjusts the player front panel display's brightness. When Off is
selected, the FL OFF indicator on the player's front panel lights.
Used to operate the BDMV menu screens.
42 VIDEO SELECT
A181AFB8
A181AFF9
43 FL DIMMER
44 BLUE
45 RED
46 GREEN
47 YELLOW
48 POWER ON
49 POWER OFF
A181AF66
A181AF64
A181AF65
A181AF67
A181AFBA
A181AFBB
Turns the power on.
Turns the power off.
Confidential Pioneer
10
Pioneer
3.5 Command Details
Below is a description of the functions of the RS-232C commands.
For status return timing, see Description of function and Execution examples under the individual commands.
If not clearly indicated in the function description, basically the status is returned directly after the command is received.
"Pause" refers to both pausing with the Still command and pausing with the Pause command, unless otherwise specified.
For the resume function, resume storage and cancellation are conducted even with operation by command,
unless otherwise specified.
When the PN, PL and remote control button "Power" and "Play" commands are received when the power is off,
the power turns on and the command operation is performed.
For commands with arguments specified, if anything other than the defined argument is specified, an error (E06) is returned,
unless otherwise specified.
For operation when the buttons are locked, see 3.5.4 Key Lock .
3.5.1 Open
◆ Command mnemonics
OP
◆ Description of function
When the tray status is "closing completed", "stop" or "play", the tray opens when the OP command is received
and the completed status (R) is returned once opening is completed.
If the OP command is received while a disc is loading, the tray opens once the processing below is completed,
and the completed status (R) is returned once opening is completed.
• Disc physical information loading completed
• "Disc physical information loading" refers to identifying whether or not there is a disc on the tray,
and if there is, the type of disc (BD, DVD or CD).
• Disc information loading completed
When the OP command is received while the tray status is "opening",
the opening operation continues and the completed status (R) is returned once opening is completed.
When the OP command is received while the tray status is "closing",
the tray opens once closing is completed, and the completed status (R) is returned once opening is completed.
If the OP command is received when the tray status is "opening completed", an error (E04) is returned.
◆ Execution examples
Command
OP <CR>
Status return
R<CR>
BD player operation
Tray opens.
Tray closing completion
3.5.2 Close
◆ Command mnemonics
CO
◆ Description of function
When the CO command is received while the tray status is "opening completed",
the tray is closed and the completed status (R) is returned once closing is completed.
When the CO command is received while the tray status is "opening",
the tray closes once opening is completed and the completed status (R) is returned once closing is completed.
When the CO command is received while the tray status is "closing",
the closing operation continues and the completed status (R) is returned once closing is completed.
If the CO command is received when the tray status is "closing completed", "stop", "play" or "disc loading",
an error (E04) is returned.
If an "irregular operation during tray opening/closing" is detected when the tray status is "closing",
an error (E99) is returned immediately after the first tray closing failure.
◆ Execution examples
Command
CO<CR>
Status return
R<CR>
BD player operation
Tray closes.
Tray closing completion
Confidential Pioneer
11
Pioneer
3.5.3 Stop
◆ Command mnemonics
99RJ
◆ Description of function
When the 99RJ command is received in the play, pause, forward/reverse scanning or forward/reverse slow mode,
playback is stopped and the completed status (R) is returned.
When the 99RJ command is received in the stop mode, the player remains in the stop mode and
the completed status (R) is returned.
Unlike the [Stop] button on the remote control, resume clearing is not performed,
even when the 99RJ command is received while in the stop mode.
Operation of the BD player is the same as when the remote control's [Stop] button is pressed in the play, pause,
forward/reverse scanning or forward/reverse slow mode.
◆ Execution examples
Command
Status return
R<CR>
BD player operation
During playback
Playback stops.
99RJ<CR>
3.5.4 Key Lock
◆ Command mnemonics
(Argument)KL
◆ Description of function
When the KL command is received, according to the argument, player and remote control button operation
input is locked or unlocked and the tray is locked or unlocked, then the completed status (R) is returned.
When the argument is set to "0", locking with the KL command is unlocked.
When the argument is set to "1", player and remote control button operation input is locked (buttons do not operate).
This is a function for locking operation by buttons, so operation by RS-232C command is possible.
When the argument is set to "2", the tray is locked. The tray does not open even when the OP command is received.
Tray locking can be set after completion of loading of a playable disc containing anything other the PC files.
If the OP command is received when the tray is locked, an error (E04) is returned.
If for some reason the disc on the tray cannot be played due to one of the reasons below while the tray is locked,
the tray locking is released.
• No disc
• Error disc (including non-supported discs)
If 1KL is received while the tray is opened, all the buttons are locked with the tray still opened.
Once the buttons are locked, the tray cannot be closed by button.
The following indicates the arguments and functions.
ArgumentFunction
0
1
2
Locking released.
All buttons locked.
Tray locked.
◆ Execution examples
Command
1KL<CR>
0KL<CR>
2KL<CR>
Status return
R<CR>
R<CR>
BD player operation
All buttons locked.
Locking released.
Tray locked.
R<CR>
* The tray locking and button locking functions are controlled exclusively.
If 2KL is received when the buttons are locked with the 1KL command, button locking is released and the tray is locked.
If 1KL is received when the tray is locked with the 2KL command, tray locking is released and the buttons are locked.
Confidential Pioneer
12
Pioneer
3.5.5 Current Address Request
◆ Command mnemonics
?A
◆ Description of function
When the ?A command is received, the information on the table below is returned.
An error (E04) is returned if the value cannot be acquired.
The following indicates the application and the information returned.
Application
BDMV, BDAV
Information returned
Title number (3 digits), chapter number (3 digits), time (6 digits)
DVD-Video, DVD VR Title number (3 digits), chapter number (3 digits), time (6 digits)
CD-DA, DTS-CD
Track number (2 digits), index number (2 digits), time (4 digits)
◆ Execution examples
Command
Status return
BD player operation
During CD-DA playback
(track 12, index 1,
3 minutes 35 seconds)
During DVD-Video playback
?A<CR>
?A<CR>
1201033545<CR>
001035001247<CR> (title 1, chapter 35,
12 minutes 47 seconds)
3.5.6 Time Code Request
◆ Command mnemonics
?T
◆ Description of function
When the ?T command is received, the current playing time is returned, in 3 or 4 digits for the minutes,
2 digits for the seconds.
An error (E04) is returned if the value cannot be acquired.
◆ Execution examples
Command
Status return
11742<CR>
BD player operation
During playback
(117 minutes 42 seconds)
?T<CR>
3.5.7 Title/Track Number Request
◆ Command mnemonics
?R
◆ Description of function
When the ?R command is received, the value of the title number (3 digits) is returned for
BDMV/BDAV/DVD-Video/DVD VR discs, the track number (2 digits) for CD-DA/DTS-CD discs.
An error (E04) is returned if the value cannot be acquired.
◆ Execution examples
Command
Status return
12<CR>
BD player operation
During CD-DA playback
(track 12)
?R<CR>
3.5.8 Chapter Number Request
◆ Command mnemonics
?C
◆ Description of function
When the ?C command is received, the value of the chapter number (3 digits) is returned for
BDMV/BDAV/DVD-Video/DVD VR discs.
Some discs do not include chapter numbers. In this case, an error (E04) is returned.
An error (E04) is returned if the value cannot be acquired.
◆ Execution examples
Command
Status return
012<CR>
BD player operation
During DVD-Video playback
(chapter 12)
?C<CR>
Confidential Pioneer
13
Pioneer
3.5.9 Index Number Request
◆ Command mnemonics
?I
◆ Description of function
When the ?I command is received, the value of the track number (2 digits) and index number (2 digits)
is returned for CD-DA/DTS-CD discs.
An error (E04) is returned if the value cannot be acquired.
◆ Execution examples
Command
Status return
0102<CR>
BD player operation
During CD-DA playback
(track 1, index 2)
?I<CR>
3.5.10 Player Active Mode Request
◆ Command mnemonics
?P
◆ Description of function
When the ?P command is received, the player's operating mode is returned.
The table below shows the operating modes and BD player statuses.
Operating mBD player status
P00
Tray opening completed.
Status from tray closing operation
through disc physical information loading.
No disc loaded in tray with
tray opening completed.
Disc loading completed, disc physical
information loading completed and
disc not playing.
P01
P02
P03
P04
P05
P06
P07
Disc information loading
Tray opening
Normal playback
Still play
Pause
Search operation
Not including searching through repeat operation.
Forward/reverse scanning
Forward/reverse slow play
P08
P09
◆ Execution examples
Command
Status return
BD player operation
During playback
?P<CR>
ST<CR>
?P<CR>
P04<CR>
R<CR>
P05<CR>
Still play
3.5.11 Error Code Request
◆ Command mnemonics
?E
◆ Description of function
When the ?E command is received, the code of the latest error that has occurred after the power has turned on is returned.
The "error code" refers to the error status (E04, E06, etc.) returned by the player in response to the different commands.
If this command is received when there is no latest error code, 00 is returned.
◆ Execution examples
Command
?E<CR>
Status return
00<CR>
BD player operation
(Status with no error command
returned)
?E<CR>
E04<CR>
(When the latest error code
returned was E04)
Confidential Pioneer
14
Pioneer
3.5.12 Firmware Version Request
◆ Command mnemonics
?Z
◆ Description of function
When the ?Z command is received, the BD player's firmware version is returned.
◆ Execution examples
Command
?Z<CR>
Status return
1.00<CR>
BD player operation
(Firmware version 1.00)
3.5.13 Player Model Name Request
◆ Command mnemonics
?L
◆ Description of function
When the ?L command is received, the player's model name, including destination code, is returned.
◆ Execution examples
Command
?L<CR>
Status return
BDP-LX91/JJ<CR> (Player model name
BDP-LX91/JJ)
BD player operation
3.5.14 Slow
◆ Command mnemonics
(Argument)SW
◆ Description of function
When the (Argument)SW command is received, slow play begins at the speed and in the direction
specified by the argument, and the completed status (R) is returned.
When the (Argument)SW command is received in the stop mode, an error (E04) is returned.
If slow play is not possible, an error (E04) is returned.
If a direction or speed not supported by the application is specified, an error (E04) is returned.
The following indicates the arguments and directions of slow play.
ArgumentDirection
Speed
1/16
1/8
1/4
1/2
1/16
1
2
3
4
5
Forward
Forward
Forward
Forward
Reverse
◆ Execution examples
Command
1SW
Status return
R<CR>
BD player operation
Slow play starts in the forward
direction at 1/16 speed.
3.5.15 Remote control Button
◆ Command mnemonics
/(Argument)/RU
◆ Description of function
When the /(Argument)/RU command is received, the completed status (R) is returned, and the same operation
as the remote control button is performed.
However, if the remote control button "Power" and "Play" commands are received when the power is off,
the completed status (R) is not returned after the operation is completed.
See Remote Control Button Commands and Arguments under 3.4 List of Commands for the combinations
of remote control button commands and arguments.
See Function at Remote Control Button Commands and Arguments under 3.4 List of Commands
for a brief description of the operation.
◆ Execution examples
Command
Status return
BD player operation
While logo screen displayed
Home menu displayed.
During playback
/A181AFB0/RU<CR> R<CR>
/A181AF38/RU<CR> R<CR>
Playback stopped.
Confidential Pioneer
15
|