Your Universal Remote Control Center
RemoteCentral.com
RS-232 & IP Control Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
Sony BDP-CX7000ES RS-232 Control
This thread has 8 replies. Displaying all posts.
Post 1 made on Monday February 14, 2011 at 01:03
Lowpro
Select Member
Joined:
Posts:
March 2004
2,081
I just recently purchased a RFX9600 and several of the Sony BDP-CX7000ES 400-disc Blu-ray Changers. Spent some time yesterday getting my TSU9x00 remotes, RFX9400's and RFX9600 setup for the changer short of implementing the RS-232 control. Spent the better part of today implementing the RS-232 control for the changer. Took some trial and error as this was my first time working with RS-232. Fortunately my persistence paid off. Figured out enough to successfully create a full set of RS-232 codes for the changer, including direct disc selection codes for all 400 changer slots! Not bad for a days work. :-) That being said, I thought I'd share some of what I learned today for anyone that owns this changer and has yet to take on RS-232 control. See the below. Full documentation per the below can be found in the files section here.

RS232C format
Baud Rate : 9600bps
Data Bits : 8bit
Parity : No
Stop Bits : 1

Data Format (Host Controller <-> BD Player)
STX +BC +PDC +CMD +Data1 +----+DataN+CS

The terminological definition is as follows...

STX 02 H : Start of text code
BC : Byte Count (Number of bytes of until before CS from PDC.)
PDC : Product Code (0x80 BD1, 0x81 BD2, 0x82 BD3)
CMD: Command (Opecode)
DataN: Data Block ( 0 ≦N ≦FAH )
CS : Check Sum (A value from which 8 bits of low ranks of the sum from BC to CS are set to 0.)
___________________________________________

The structure of the command (CMD) for direct disc selection is shown below.

CMD: 0x4a DISC_DIRECT_SET

Disc No. (length=2)

0x0000: Current disc
0x0001: Disc No.1
0x0002: Disc No.2
- - - - - - - - - -
0x0399: Disc No.399
0x0400: Disc No.400

Track/Title No. (length=2)

0x0000: Track/Title number is not specified.
0x0001: Track/Title No.1
0x0002: Track/Title No.2
- - - - - - - - - -
0x0999: Track/Title No.999

Chapter No. (length=2)

0x0000: Chapter number is not specified.
0x0001: Chapter No.1
0x0002: Chapter No.2
- - - - - - - - - -
0x0999: Chapter No.999

Control (length=1)

0x00: play
0x01: pause
0x10: play Music File in Data Media
0x11: pause Music File in Data Media
0x20: play Photo File in Data Media
0x21: pause Photo File in Data Media

The below examples show the Hex to be added in the Pronto Editor (PEP v1.1.20 or higher) when creating the RS-232 code.

Example 1: Selecting Disc No.2, Title No.1, Chapter No.10, and setting Control as play.
02 09 80 4A 00 02 00 01 00 10 00 1A

02 (STX 02H)

09 (Byte Count)

80 (Product Code: BD1)

4A (Command: DISC_DIRECT_SET)

00 (Disc No. 0002: 00xx)

02 (Disc No. 0002: xx02)

00 (Title No. 0001: 00xx)

01 (Title No. 0001: xx01)

00 (Chapter No. 0010: 00xx)

10 (Chapter No. 0010: xx10)

00 (Control: Play)

1A (Check Sum)

The above example is provided in the documentation I found posted in the files section here. I added the breakdown to provide some clarity as the documentation at first glance was a bit confusing to me having never worked with RS-232 before. The one key thing I have yet to learn is how to compute the Check Sum (CS). Thankfully I found a Sony Receiver Check Sum Calculator excel sheet (Download link for the excel sheet can be found here. The Add-In, "Analysis ToolPak" will need to be installed/enabled in Excel via "Tools->Add-Ins" for proper calc operation.) which I used to determine the Check Sum. I added a second tab specifically for the Sony BDP-CX7000ES where I expanded the Check Sum Calculator to allow for a byte count up to 9 as can be the case with DISC_DIRECT_SET commands where the title and chapter are specified. That being said, below are a few examples per the RS-232 codes I created for loading each changer slot, including codes for power off/on and play.

Example 2: Selecting Disc No.2 and setting Control as play.
02 05 80 4A 00 02 00 2F

02 (STX 02H)

05 (Byte Count)

80 (Product Code: BD1)

4A (Command: DISC_DIRECT_SET)

00 (Disc No. 0002: 00xx)

02 (Disc No. 0002: xx02)

00 (Control: Play)

2F (Check Sum)

Example 3: Selecting Disc No.25 and setting Control as play.
02 05 80 4A 00 25 00 0C

02 (STX 02H)

05 (Byte Count)

80 (Product Code: BD1)

4A (Command: DISC_DIRECT_SET)

00 (Disc No. 0025: 00xx)

25 (Disc No. 0025: xx25)

00 (Control: Play)

0C (Check Sum)

Example 4: Selecting Disc No.255 and setting Control as play.
02 05 80 4A 02 55 00 DA

02 (STX 02H)

05 (Byte Count)

80 (Product Code: BD1)

4A (Command: DISC_DIRECT_SET)

02 (Disc No. 0255: 02xx)

55 (Disc No. 0255: xx55)

00 (Control: Play)

DA (Check Sum)

___________________________________________

The structure of the command (CMD) for powering the changer off/on is shown below.

CMD: 0x60 POWER_SET

Control (length=1)

0x00: POWER OFF
0x01: POWER ON
0x02 - 0xff: reserved

Again, the below examples show the Hex to be added in the Pronto Editor (PEP v1.1.20 or higher) when creating the RS-232 code.

Example 5: Power Off
02 03 80 60 00 1D

02 (STX 02H)

03 (Byte Count)

80 (Product Code: BD1)

60 (Command: POWER_SET)

00 (Control: Power Off)

1D (Check Sum)

Example 6: Power On
02 03 80 60 01 1C

02 (STX 02H)

03 (Byte Count)

80 (Product Code: BD1)

60 (Command: POWER_SET)

01 (Control: Power On)

1C (Check Sum)

___________________________________________

Example of a simple function shown below.

Example 7: Play
02 02 80 12 6C

02 (STX 02H)

02 (Byte Count)

80 (Product Code: BD1)

12 (Command: Play)

6C (Check Sum)

Last edited by Lowpro on December 5, 2012 03:30.
LP Related Links:
View my profile to access various
links to key posts and downloads.
OP | Post 2 made on Thursday June 16, 2011 at 16:03
Lowpro
Select Member
Joined:
Posts:
March 2004
2,081
For those interested I've created an excel sheet containing all the RS-232 codes I did up for the changer using command mode, BD1. It can be downloaded here. The excel sheet includes direct disc selection codes for all 400 changer slots as well. Enjoy!

Last edited by Lowpro on May 8, 2021 07:51.
LP Related Links:
View my profile to access various
links to key posts and downloads.
Post 3 made on Friday September 23, 2011 at 10:30
METDeath
Long Time Member
Joined:
Posts:
September 2011
12
Question for you, did you happen to find a way to make it so that the UP and DOWN arrow commands will repeat? I've got one of these changers and am controlling it IP (can do serial if you have that working). It seems that the IR is just WAY faster.
OP | Post 4 made on Sunday September 25, 2011 at 03:33
Lowpro
Select Member
Joined:
Posts:
March 2004
2,081
I'm controlling the 7000ES via a Pronto Professional TSU9600 remote in conjunction with a RFX9600 extender. That being said, I actually had to increase the wait time between repeats as seen here from 100ms to 200ms due to the cursor commands repeating too quickly. On a short button press the cursor commands would repeat once taking me two spots in a given direction. At 200ms it's pretty much perfect. On a short button press I'm taken one spot in a given direction at a time. On an extended button press the given cursor command repeats just as one would expect. Within the Blu-ray menus the cursor commands repeat much faster than the IR codes. I did notice however, that the cursor commands repeat very slowly when using the XMB for some reason. If you were using the XMB to browse and select a given disc to be played I'd recommend you stick with IR control, it's that slow. Should be a non-issue for most however, as the main reason most purchase the 7000ES is so that they can employ their own solution for browsing and queueing up a given disc versus using Sony's XMB and everything that entails. That's why I purchased the 7000ES. I powered on the changer for the first time, enabled RS-232 control, disabled Gracenote access, adjusted the player settings and haven't returned to the XMB since.

Last edited by Lowpro on November 21, 2011 10:21.
LP Related Links:
View my profile to access various
links to key posts and downloads.
Post 5 made on Tuesday September 27, 2011 at 18:11
METDeath
Long Time Member
Joined:
Posts:
September 2011
12
Yes, I'm thinking about an ADMS or something else from Creston as we just sold a large chunk of gear and will get rebates for gear again... Which is how I got my 7000ES
Post 6 made on Wednesday September 28, 2011 at 13:56
Total Control Remotes
Super Member
Joined:
Posts:
July 2006
2,987
Great stuff Lowpro - can you put this in the product wiki on RC?
OP | Post 7 made on Tuesday October 4, 2011 at 17:21
Lowpro
Select Member
Joined:
Posts:
March 2004
2,081
On September 28, 2011 at 13:56, Total Control Remotes said...
Great stuff Lowpro - can you put this in the product wiki on RC?

Thanks! Product wiki?
LP Related Links:
View my profile to access various
links to key posts and downloads.
Post 8 made on Friday October 7, 2011 at 02:18
Glackowitz
RC Moderator
Joined:
Posts:
May 2002
3,793
On October 4, 2011 at 17:21, Lowpro said...
Thanks! Product wiki?

The Product Wiki is for posting codes that work as well as info to make things easier...Timing to fix repeats, delays between power on and next command and so on

[Link: remotecentral.com]
There's no worse feeling than that millisecond you're sure you are going to die after leaning your chair back a little too far.
OP | Post 9 made on Friday October 7, 2011 at 09:38
Lowpro
Select Member
Joined:
Posts:
March 2004
2,081
Thanks for pointing me in the right direction. Had overlooked this section of the website. Much appreciated!
LP Related Links:
View my profile to access various
links to key posts and downloads.


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse