Installation instructions for ModBusDemo program:

Background: ModBus Demo program shows how to use a standard ModBus
    driver to retrieve (M) registers from the MP9xx controllers via 
    MemoBus.  It allows up to three "M" registers in the MP9xx to be
    read and one to be written at a time.  The Visual Basic program 
    does all the bit swapping necessary to use the ModBus driver as 
    a MemoBus communication tool (required for MP9xx). 

IMPORTANT:  To use this program with MP940 port 2, you should use a 
YS-12 cable for communication.  This cable is also used for Sigma II 
parameter set-up.  A drawing of the cable has been included with 
the installation ZIP file (YS12_cable.pdf).

To install:
1.  Double-click the Setup.exe file and the program will guide you 
    through installation.

2.  You will likely need to install the OCX file for this program
    to work properly.  To do this, go to the "Run" command in your
    Start menu and type (include the quotation marks):   

           "C:\Program Files\ModBusDemo\MBServer.exe" /RegServer

     If you installed to the default directory, the above will work.

Notes:
1. MPxxx controller has to be set to expose/show a set of M registers
   over the MemoBus protocol. Please note that when an MP940 is used
   with MW+ software all M registers are automatically exposed on COM2
   of the MP940.  The demo program is setup to connect to COM 2 of MP940.
2. The demo program is also hard coded to use COM2 on the PC. This is
   done so MW+ can use COM1 at the same time. This setting can be
   changed in "ConnectWithSerialDevice" function.
3. This program uses a Freeware ModBus Server !  The whole Freeware 
   package has been included with this demo for your reference (mbfull.zip).
  
If  you have any questions about the program, feel free to email
motioninfo@Yaskawa.com
