
CRn-500/CRn-700 Series Communication Middleware (MelfaRXM.ocx) 


1.Preface

Thank you for using MelfaRXM.ocx.
MelfaRXM.ocx is an ActiveX control that communicates with the robot controller.
If you are using RT ToolBox/RT ToolBox2, there are precautions 
that must be observed in order to allow the coexistence of MelfaRXM.ocx and 
those software. 
Be sure to fully understand the precautions below and perform necessary operations.
For more information, see 3.5, "Making MelfaRXM.ocx Coexist with RT ToolBox/RT ToolBox2".


2.Precautions

* Version Update of Communication Server
If the version of installed communication server is different from 
the version of communication server of RT ToolBox/RT ToolBox2, 
it is necessary to update communication server to the latest version. 
Copy the executable file (RoboCom.exe) of communication server 
in the new install folder to the old install folder by overwriting. 

* Notes when developing by Visual C++
The BSTR type variable passed to MelfaRXM.ocx should open a memory using 
a SysFreeString() function.
Since a memory leak will occur if a GetOneData() method is used by Visual C++, 
please use a GetOneDataCPP() method. 

  long GetOneDataCPP (long Point, LPCTSTR Data, BSTR* Onedata)
argument: -- Onedata -- data is stored.
          Other arguments should look at explanation of a GetOneData() method.
Return value: succeed:1 / fail:0

* Notes when developing by Borland C++Builder
GetOneData() method can not be used by Borland C++Builder.
Please use a GetOneDataBCP() method. 

  long GetOneDataBCP(long Point, BSTR* Data, BSTR* Onedata)
argument: -- Onedata -- data is stored.
          Other arguments should look at explanation of a GetOneData() method.
Return value: succeed:1 / fail:0

[END]