MLCX777ES Plugin

From Cinemar Wiki
Jump to: navigation, search


Plugin to control the Sony CX777ES DVD Changer (via serial controls)

Software Requirements

  • MLServer 3
  • MLCX777ES Plugin

Supported Hardware

  • Sony DVP-CX777ES


Make sure you are using the latest Firmware on your CX777ES changer.

CX777ES Firmware Instructions

CX777ES Firmware Update

Installing the MLServer3 SONY CX777ES Plug-In

Download and install MLServer if you haven't already

Download and install the SONY CX777ES plugin to the same computer as MLServer is installed

Start MLServer

From MLserver, press Start to initiate MLServer into listening mode

From the Plug-Ins window, select the MLCX777ES plug-in, then select SETTINGS

Select the Com Port your changer is connected to from the drop down. Select OK. (Optional Global Cache Tab Available)

Press Help to view the available commands and proper syntax

Supported Commands


{MLServeCmd}Script Usage




Value = On = Turns Broadcast Mode On, Off = Turns Broadcast Mode Off
Changer = Changer Number (1..8), Changer 1 is Default if no value is specified


Enables/Disables Broadcast information from the changer to MLServer. This command must be issued in order to enable 2 way communication with the changer; however, before the command will work, you need to verify you are communicating with the changer. Turn off the changer physically, then issue a MLCX77ES|PowerOn command. If the changer turns on, it will also automatically send the BMode~On command after 15 seconds.

Remote Commands

{MLServeCmd}Script Usage




Command = Key0, Key1, Key2, Key3, Key4, Key5, Key6, Key7, Key8, Key9, DiscSkipPlus, DiscSkipMinus, Folder, Audio, SubTitle, Angle, Previous, Next, Play, Pause, Stop, Up, Down, Left, Right, Enter, TopMenu, Menu, Return, TimeText, OneAll, Rev, Fwd, Clear
Changer = Changer Number (1..8), Changer 1 is Default


Send a remote command to the specified Sony Changer.


{MLServeCmd}Script Usage




Changer = Changer Number (1..8), Changer 1 is Default


Turn on the specified Changer.


{MLServeCmd}Script Usage




Changer = Changer Number (1..8), Changer 1 is Default


Turn off the specified Changer.


{MLServeCmd}Script Usage




Disc = Disc Number (1..400)
Title = Starting Title Number (1..n) Optional
Chapter = Starting Chapter Number (1..n), Changer 1 is Default
Changer = Changer Number (1..8), Changer 1 is Default


Go to a specified Slot Number in the Changer.


{MLServeCmd}Script Usage




Changer = Changer Number (1..8), Changer 1 is Default


Get information about the Sony Changer. Variables are set within MLServer.

Configuring the Default PLAY MOVIE Command from within the MLDVDLobby Plug-In

See the help_dvdlobby.chm (included with DVDLobby) manual for installing DVDLobby and adding movies to the MLDVDLobby Plug-In

Right click on MLDVDLobby from MLServer's plug-in window and press Settings

From the Commands tab, under the EDIT LOCATION section select DEFAULT from the Location drop-down

Select PLAY MOVIE from the TYPE drop-down

Paste the following in the MLServeCmd field:

MLServeCmd.MLCX777ES|DiscDirect~<<CHANGERLOCATION>>~1~1 for DVD titles 
MLServeCmd.MLCX777ES|DiscDirect~<<CHANGERLOCATION>>~0~0 for SACD titles 

This Command uses the Changer Location substitution variable to select the movie. To ensure the command works, for each movie, configure the changer location for that movie. This is found in the Edit Movie Information panel when you select a movie then press Edit. The Changer Location for each movie should be a numbered from 1 to 400 and coincide with it's slot in the changer itself.

To test the command and verify it's working, from the MLDVDLobby Plug-in you'll see a TEST button. Select a Movie that you've configured properly and press the Test Button. Your changer should already be powered on for the command to work properly

If you are having problems or the changer is not responding, check the syntax and the MLServeCmd Event Log to see what information is being passed to MLServer. Double check the Com Port connections and the port configuration within the plug-in to make sure they match. You must use a "Null" modem cable.

If you are connecting the CX777ES changer via a GlobalCache ethernet to serial adapter, you must set up the baud rate on the GC100 ports manually. Connect to the web interface on the GC100 and verify that the baud rate is set to 9600.

Once you are connected from MLServer to the CX777ES, you must turn on Broadcast mode within the changer. The newest versions of the plugin puts a BMode button next to the Power button on the setup page. You can click this button after power on to turn on Broadcast mode. Or you can simple issue the command MLCX777ES|BMode~On. You only have to do this once.

Controlling Multiple SONY CX777ES Changers

Enter the MLServeCmd below (without any spaces or line breaks) in your Default PLAY MOVIE line if you plan on controlling multiple SONY CX777ES Changers from DVDLobby. Note that you must specify the com port in the CX777ES for each changer by selecting the MLCX777ES plugin from MLServer then press Settings. In addition, each movie should have the slot/changer location specified along with the Changer Number. (These settings are configured by selecting a Movie in the MLDVDLobby Plugin and pressing EDIT.)

MLServeCmd.MLCX777ES|DiscDirect~<<CHANGERLOCATION>>~1~1~<<CHANGERNUMBER>> for DVD titles

MLServeCmd.MLCX777ES|DiscDirect~<<CHANGERLOCATION>>~0~0~<<CHANGERNUMBER>> for SACD titles

Configure your DVDLobby Remote to Control your SONY Changer

From MLServer, select MLDVDLobby from the Plug-In window

Press Settings to access the DVDLobby Pro Plug-In window


Select the left most available Tab on the DVD Remote window

On the right, below the tabs, you'll see an empty field where you may enter a name that will be displayed in the actual DVDLobby user interface. You could enter Sony Changer.

For each transport control command, you'll need to specify the action you would like to occur when the user presses the buttons located in DVDLobby's popup remote control panel. The comands below will just trigger commands available from the SONY CX777ES plugin, users may also modify the commands and build more complex macros to brighten lights when the pause button is pressed or even play audio intro's before the movie.

Play : MLServeCmd.MLCX777ES|Play~1

Pause : MLServeCmd.MLCX777ES|Pause~1

Stop : MLServeCmd.MLCX777ES|Stop~1

Previous : MLServeCmd.MLCX777ES|Previous~1

Next : MLServeCmd.MLCX777ES|Next~1

Left : MLServeCmd.MLCX777ES|Left~1

Right : MLServeCmd.MLCX777ES|Right~1

Up : MLServeCmd.MLCX777ES|Up~1

Down : MLServeCmd.MLCX777ES|Down~1

Enter : MLServeCmd.MLCX777ES|Enter~1

Fast Forward : MLServeCmd.MLCX777ES|Fwd~1

Rewind : MLServeCmd.MLCX777ES|Rev~1

Power : MLServeCmd.MLCX777ES|PowerOn~1

Menu : MLServeCmd.MLCX777ES|Menu~1

Audio : MLServeCmd.MLCX777ES|Audio~1

For controlling multiple changers from DVDLobby's Remote Control, you'll need to change the "1" in the above command to "2" to represent the second changer, "3" for the third changer and so forth.

Sample Macro Commands using other MLServer Plug-Ins

(pasted commands should not include carriage returns as shown below)


The Above MLServeCmd is a macro that in addition to launching the movie in your SONY Changer, it will also play a Music File based on an Alias specifed in the MLMusicPlayer plugin. So you can have a Theater Intro Audio Clip play while your changer is cueing up. For HiQuality Audio intro's, review our TechTalker product.

Preventing SONY's AutoPlay Feature when powering on the Changer


Assign this MLServeCmd to the Power function in MLServer's MLDVDLobby Plugin. This will Power on the Changer then pause for 30 sends and send the Stop command.

|Configuration= This plug-in must be configured prior to using it in a MainLobby scene. Highlight the MLCX777ES plug-in in MLServer and click on the Settings button to bring up the Sony DVP-CX777ES plug-in configuration screen. You will be presented with a tabbed dialog box of configuration settings as shown in Figure 1.

The Events Tab

This tab is used to collect and view the status of the plug-in while is use. This is a diagnostic feature and is useful during the initial setup of the plug-in. Click on the Start Logging button to enable the display of plug-in events while the plug-in is in use. See Figure 2.

The Changers Tab

Use this tab to configure the serial port(s) that will be used to control the various changers. If the changer is attached to a PC serial port then set the comm port number assigned to that changer. If the changer is connected to a GC-100 serial port then select the GC 100 and specify the IP address and module number that the changer is connected to. see Figure 3. See Figure 4 for a typical GC-100 front panel layout. NOTE: Changing COM Ports may require a restart of MLServer for the changes to take affect.

The Triggers Tab

Use this tab to configure the ML Server commands that you want to have executed when certain events are triggered in the CX777ES changer. You have the capability to define a unique ML Server command for each of the five supported events for each of the four supported changers. See Figure 5.

MLServer Variables

This plug-in has the ability to collect status information from the changers and automatically create ML Server variables that reflect the status of each of the changers.


Multiple Changers


Play Music while Loading


AutoPlay Fix



{{MLServerCmd|Name=PowerOn|ScriptUsage={{MLServerCmdScript|Plugin=MLCX777ES|Command=PowerOn|Example=''[[Changer_Id]]''}} |Literal={{MLServerCmdLiteral|Plugin=MLCX777ES|Command=PowerOn|Parameters=1}} |Parameters={{MLServerCmdParameter|Name=[[Changer_Id]]|Description=Changer number (1..4) optional}}|Returns=Nothing|Description=|Notes=}}

{{MLServerCmd|Name=PowerOff|ScriptUsage={{MLServerCmdScript|Plugin=MLCX777ES|Command=PowerOff|Example=''[[Changer_Id]]''}}|Literal={{MLServerCmdLiteral|Plugin=MLCX777ES|Command=PowerOff|Parameters=1}}|Parameters=|{MLServerCmdParameter|Name=[[Changer_Id]]|Description=Changer number (1..4) optional}} |Returns=Nothing|Description=|Notes=}}

{{MLServerCmd|Name=Status|ScriptUsage={{MLServerCmdScript|Plugin=MLCX777ES|Command=Status|Example=''[[Changer_Id]]'' }}|Literal={{MLServerCmdLiteral|Plugin=MLCX777ES|Command=Status|Parameters=1}} |Parameters={{MLServerCmdParameter|Name=[[Changer_Id]]|Description=Changer number (1..4) Optional}}|Returns=Nothing|Description=|Notes=}}

{{MLServerCmd|Name=BMode|ScriptUsage={{MLServerCmdScript|Plugin=MLCX777ES|Command=BMode|Example=''State''~''[[Changer_Id]]*'' }}|Literal={{MLServerCmdLiteral|Plugin=MLCX777ES|Command=BMode|Parameters=On}} |Parameters={{MLServerCmdParameter|Name=State|Description=On,Off}}

{{MLServerCmdParameter|Name=[[Changer_Id]]|Description=Changer number (1..8) optional}} |Returns=|Description=|Notes=}}


{{MLServerCmdLiteral|Plugin=MLCX777ES|Command=DiscDirect|Parameters=<<ChangerLocation>>~1~0~0}} |Parameters={{MLServerCmdParameter|Name=Disc|Description=Disc Number (1..400)}}{{MLServerCmdParameter|Name=Title|Description=Starting Title number (1..nn) optional}} {{MLServerCmdParameter|Name=Chapter|Description=Starting Chapter number (1..nn) optional}} {{MLServerCmdParameter|Name=Changer|Description=Changer number (1..4) optional}} |Returns=Nothing|Description=Sending Direct Access Commands|Notes=}} |MLPluginVariables={{MLServerVariable|Name=CX777ES_{{[[Changer_Id]]}}_ActiveDisc|Description= |Values=1..400}}{{MLServerVariable|Name=CX777ES_{{[[Changer_Id]]}}_ActiveTitle|Description= |Values=ASCII String}} {{MLServerVariable|Name=CX777ES_{{[[Changer_Id]]}}_ActiveTrack|Description=|Values=1..nnn}} {{MLServerVariable|Name=CX777ES_{{[[Changer_Id]]}}_Status|Description=|Values=PowerOff, Stop, Play, Pause}} {{MLServerVariable|Name=CX777ES_{{[[Changer_Id]]}}_DiscType|Description=|Values=No Disc, CD, VCD/SVCD, DVD, DVD/NoPlay, SACD-CD, SACD-2CH, SACD-Multi, MP3, Unknown}} {{MLServerVariable|Name=CX777ES_{{[[Changer_Id]]}}_StartTrack|Description=|Values=1..nnn}} {{MLServerVariable|Name=CX777ES_{{[[Changer_Id]]}}_LastTrack|Description=|Values=1..nnn}} {{MLServerVariable|Name=CX777ES_{{[[Changer_Id]]}}_TOC|Description=|Values=Table of Contents Data}}{{MLServerVariable|Name=CX777ES_{{[[Changer_Id]]}}_Power|Description=|Values=0,1}}}}


Playing SACD titles via the CX777ES player

The DiscDirect command has to be changed slightly if you are playing a SACD title.

Go into the Commands tab in the DVDLobby plugin. Edit the existing CX777ES play movie command. Copy the MLServer command to the clipboard. Then cancel.

Create a new command. Give it a name of SACD Set the command type to Play Movie. Then paste in the MLServer command you just copied. Go to the end of the command and change the DiscDirect~<<SLOT>>~1~1 so that is reads DiscDirect~<<SLOT>>~0~0 Then save your edits

Go to your movie database and for every SACD title change it's movie location from CX777ES to SACD. From that point on whenever you play a SACD title it will use the new play movie command with the alternate DiscDirect command.

In summary.

If your playing a DVD the DiscDirect command is DiscDirect~<<slot>>~1~1

If you are playing an SACD the DiscDirect command is DiscDirect~<<slot>>~0~0

The trademark "SONY" and any other product names, service names or logos of SONY used, quoted and/or referenced in this Web Site are trademarks or registered trademarks of Sony Corporation or any of its affiliates. Other product names and/or company names used in the Web Site may be protected as their trademarks and/or trade names.