Open Core Interface - MLPI
MLPI-MotionLogicProgrammingInterface(mlpi4COM)  1.26.2
IParameter.idl
Go to the documentation of this file.
1 // -----------------------------------------------------------------------
2 // MLPI - <IParameter.idl>
3 // -----------------------------------------------------------------------
4 // Copyright (c) 2012 Bosch Rexroth. All rights reserved.
5 // Redistribution and use in source and binary forms of this MLPI software
6 // (SW) provided to you, with or without modification, are permitted
7 // without prior approval provided that the following conditions are met:
8 //
9 // 1. Redistributions of source code of SW must retain the above copyright
10 // notice, this list of conditions and the following disclaimer.
11 //
12 // 2. Redistributions in binary form of SW must reproduce the above copyright
13 // notice, this list of conditions and the following disclaimer in the
14 // documentation and/or other materials provided with the distribution.
15 //
16 // 3. User recognizes and acknowledges that it acquires no right,
17 // title or interest in or to any of the names or trademarks used in
18 // connection with the SW ("names") by virtue of this License and waives
19 // any right to or interest in the names. User recognizes and acknowledges
20 // that names of companies or names or products of companies displayed
21 // in the documentation of SW to indicate the interoperability of products
22 // with the SW are the names of their respective owners. The use of such
23 // names in the documentation of SW does not imply any sponsorship,
24 // approval, or endorsement by such companies of this product.
25 //
26 // 4. Modified code versions, i.e. any addition to or deletion from
27 // the substance or structure of the original code of the SW running
28 // the MLPI must be plainly marked as such and must not be misrepresented
29 // as being original SW.
30 //
31 // 5. The SW may only be used in connection with a Bosch Rexroth product.
32 //
33 // THIS INFORMATION IS PROVIDED BY BOSCH REXROTH CORPORATION "AS IS"
34 // AND WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING
35 // (BUT NOTLIMITED TO) ANY IMPLIED WARRANTIES OF MERCHANTABILITY,
36 // FITNESS FOR ANY PARTICULAR PURPOSE, OR NON-INFRINGEMENT. WHILE THE
37 // INFORMATION PROVIDED IS BELIEVED TO BE ACCURATE, IT MAY INCLUDE
38 // ERRORS OR INACCURACIES.
39 // SUBJECT TO COMPULSORY STATUTORY PROVISIONS OF THE GERMAN LAW AS
40 // THE APPLICABLE LAW FOR THIS LICENSE BOSCH REXROTH CORPORATION WILL
41 // NOT BE LIABLE FOR ANY DAMAGES OF ANY KIND ARISING FROM THE USE OF
42 // THE SOFTWARE DISTRIBUTED HEREUNDER, INCLUDING BUT NOT LIMITED TO
43 // DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, AND CONSEQUENTIAL DAMAGES.
44 // -----------------------------------------------------------------------
45 //
55 //
56 // -----------------------------------------------------------------------
57 
58 
63 [
64  object,
65  uuid(E60A1F2E-4D4D-4280-B21C-08C62CA50E96),
66  dual,
67  nonextensible,
68  helpstring("IParameter-Schnittstelle"),
69  pointer_default(unique)
70 ]
71 interface IParameter : IDispatch{
72 
73 
84  {
85  LONG numActualElements;
86  LONG numMaximumElements;
87  LONG elementSizeBytes;
88  };
89 
90 
122  [id(1), helpstring("Method ReadData")] HRESULT ReadData([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se, [out, retval] VARIANT* data);
123 
124 
156  [id(2), helpstring("Method ReadMinimum")] HRESULT ReadMinimum([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se, [out, retval] VARIANT* data);
157 
158 
190  [id(3), helpstring("Method ReadMaximum")] HRESULT ReadMaximum([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se, [out, retval] VARIANT* data);
191 
192 
224  [id(4), helpstring("Method ReadDefault")] HRESULT ReadDefault([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se, [out, retval] VARIANT* data);
225 
226 
255  [id(5), helpstring("Method ReadName")] HRESULT ReadName([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se, [out, retval] BSTR* data);
256 
257 
287  [id(6), helpstring("Method ReadUnit")] HRESULT ReadUnit([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se, [out, retval] BSTR* data);
288 
289 
319  [id(7), helpstring("Method ReadDataStatus")] HRESULT ReadDataStatus([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se, [out, retval] VARIANT_BOOL* data);
320 
321 
351  [id(8), helpstring("Method ReadAttribute")] HRESULT ReadAttribute([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se, [out, retval] VARIANT* data);
352 
353 
379  [id(9), helpstring("Method Command")] HRESULT Command([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se);
380 
381 
393 
423  [id(10), helpstring("Method Write")] HRESULT WriteData([in] VARIANT data, [in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se);
424 
456  [id(11), helpstring("Method ReadListLength")] HRESULT ReadListLength([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se, [out, retval] struct ParameterListLength *listLength);
457 
458 
493  [id(13), helpstring("Method ReadDataAsString")] HRESULT ReadDataAsString([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se, [out, retval] BSTR* data);
494 
495 };
496 
497 
498 
499 // -----------------------------------------------------------------------
500 // HISTORY
501 // -----------------------------------------------------------------------
502 // 01-Jan-2012
503 // - first release
504 //
505 
506 
507 
508 
509 
510 
511 
512 
HRESULT ReadMaximum([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se, [out, retval] VARIANT *data)
Reads the maximum value of a SERCOS parameter.
HRESULT Command([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se)
Executes a parameter command.
HRESULT ReadMinimum([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se, [out, retval] VARIANT *data)
Reads the minimum value of a SERCOS parameter.
HRESULT ReadListLength([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se, [out, retval] struct ParameterListLength *listLength)
Reads the information about the length of list parameter. This method does not work for non-list para...
HRESULT ReadDefault([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se, [out, retval] VARIANT *data)
Reads the default value of a SERCOS parameter.
HRESULT ReadDataStatus([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se, [out, retval] VARIANT_BOOL *data)
Reads the data status of a SERCOS parameter.
HRESULT ReadAttribute([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se, [out, retval] VARIANT *data)
Reads the attribute of a SERCOS parameter.
HRESULT ReadUnit([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se, [out, retval] BSTR *data)
Reads the unit of a SERCOS parameter.
HRESULT WriteData([in] VARIANT data, [in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se)
Writes a SERCOS parameter. Please ensure that the given argument for the parameter data matches the a...
Definition of the IParameter interface used to access the parameter system of the MLPI Device...
Definition: IParameter.idl:71
HRESULT ReadDataAsString([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se, [out, retval] BSTR *data)
Reads a parameter and always returns its content as string. So this method does the same as ReadData...
This structure holds information about a list parameter.
Definition: IParameter.idl:83
HRESULT ReadData([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se, [out, retval] VARIANT *data)
Reads a parameter and returns its content.
HRESULT ReadName([in] BSTR idn, [in, optional] VARIANT address, [in, optional] VARIANT set, [in, optional] VARIANT block, [in, optional] VARIANT si, [in, optional] VARIANT se, [out, retval] BSTR *data)
Reads the name of a SERCOS parameter.