70 uuid(FD70E73B-D0A4-4D3A-A105-C9FCDB83FA34),
73 helpstring(
"IMlpiConnection Interface"),
74 pointer_default(unique)
81 typedef [v1_enum]
enum Type 156 DOUBLE standardDeviation;
222 [id(1), helpstring(
"Connect to a MlpiConnection")] HRESULT
Connect([in] BSTR address);
231 [id(2), helpstring(
"Disconnect from MlpiConnection")] HRESULT
Disconnect(
void);
277 [propget, id(3), helpstring(
"property IsConnected")] HRESULT
IsConnected([out, retval] VARIANT_BOOL* pConnected);
313 [id(4), helpstring(
"method TestConnection")] HRESULT
TestConnection([in] LONG payload, [in] LONG numMeasurements, [out, retval]
struct ConnectionInfo *connectInfo);
339 [id(5), helpstring(
"method Delay")] HRESULT
Delay([in] LONG delayMilliseconds);
404 [propget, id(8), helpstring(
"property System")] HRESULT
System([out, retval]
ISystem** pVal);
409 [propget, id(9), helpstring(
"property Motion")] HRESULT
Motion([out, retval]
IMotion** pVal);
414 [propget, id(10), helpstring(
"property Logic")] HRESULT
Logic([out, retval]
ILogic** pVal);
419 [propget, id(11), helpstring(
"property Parameter")] HRESULT
Parameter([out, retval]
IParameter** pVal);
424 [propget, id(12), helpstring(
"property Watchdog")] HRESULT
Watchdog([out, retval]
IWatchdog** pVal);
429 [propget, id(13), helpstring(
"property Io")] HRESULT
Io([out, retval]
IIo** pVal);
434 [propget, id(14), helpstring(
"property Trace")] HRESULT
Trace([out, retval]
ITrace** pVal);
439 [propget, id(15), helpstring(
"property Container")] HRESULT
Container([out, retval]
IContainer** pVal);
444 [propget, id(16), helpstring(
"property Robot")] HRESULT
Robot([out, retval]
IRobot** pVal);
IWatchdog Watchdog
Property to access the Watchdog methods of the MLPI device by providing access to the IWatchdog inter...
Definition of the IIo interface which gives access to input and output devices of the target...
string with 2 bytes per character
1 byte signed integer array
IParameter Parameter
Property to access the Parameter methods of the MLPI device by providing access to the IParameter int...
Definition of the IContainer interface which can be used to establish a fast data exchange of grouped...
invalid or not supported type
ILogic Logic
Property to access the Logic methods of the MLPI device by providing access to the ILogic interface...
Definition of the ILogic interface which allows access to the PLC and logic component on the MLPI dev...
IContainer Container
Property to access the Container methods of the MLPI device by providing access to the IContainer int...
Definition of the IWatchdog interface.
HRESULT TestConnection([in] LONG payload, [in] LONG numMeasurements, [out, retval] struct ConnectionInfo *connectInfo)
This function performs a benchmark on the MLPI communication mechanism. Use it to measure the duratio...
HRESULT GetClientCoreVersion([out, retval] struct Version *versionInfo)
This function returns the version info of the MLPI client library. No connection to the server is nee...
Definition of the IRobot interface which gives access to the robot control functionality of the MLPI ...
struct IMlpiConnection::Version Version
Describes the API version information. The build number counts continuously within a major release...
8 byte unsigned integer array
Type
This enumeration defines the basic types of as used by the MLPI.
Definition of the IParameter interface used to access the parameter system of the MLPI Device...
2 byte unsigned integer array
string with 1 byte per character
struct IMlpiConnection::ConnectionInfo ConnectionInfo
This structure is used by the function TestConnection to return the results of the timing measurement...
HRESULT Disconnect(void)
This function disconnects the user application from the MlpiConnection. After closing the MLPI connec...
VARIANT_BOOL IsConnected
This function returns the current state of the MLPI connection. If FALSE is returned, then the connection is either not yet established or closed due to a communication error or because Disconnect has been called. In all cases, a reconnect using Connect has to be made to make new MLPI method calls. If connection has been lost for an unknown reason, try increasing the connection timeout using Connect.
Definition of the IMlpiConnection interface which is the root object of a connection to a MLPI Device...
ISystem System
Property to access the System methods of the MLPI device by providing access to the ISystem interface...
4 byte signed integer array
HRESULT GetServerCoreVersion([out, retval] struct Version *versionInfo)
This function returns the version info of the MLPI server library.
IMotion Motion
Property to access the Motion methods of the MLPI device by providing access to the IMotion interface...
string array with 1 byte per character
4 byte floating point array
HRESULT Connect([in] BSTR address)
This function connects the user application with a MLPI Device. The first argument is used to specify...
IIo Io
Property to access the Input/Output methods of the MLPI device by providing access to the IIo interfa...
4 byte floating point array
ITrace Trace
Property to access the Trace methods of the MLPI device by providing access to the ITrace interface...
4 byte unsigned integer array
2 byte signed integer array
1 byte unsigned integer array
HRESULT Delay([in] LONG delayMilliseconds)
This function does a simple delay on the server side. All this function performs is a blocking delay ...
string array with 2 bytes per character
Definition of the IMotion interface used to access the motion functionality of the MLPI Device...
8 byte signed integer array
IRobot Robot
Property to access the Robot methods of the MLPI device by providing access to the IRobot interface...
Definition of the ISystem interface which contains various system settings of the connected MLPI Devi...
Definition of the ITrace interface which gives access to internal tracing facility of the device...