Data binding type | Specifies the value type to which the data binding is linked up:
PP Property of the Pma object or its subobject - The variable is bound to an arbitrary property of the Pma object or its subobject. The path to the Pma object (or to subobject) and the name of its property is entered. The path has the same syntax as in the PmaObject.Pm method, it can be relative or absolute and can contain implementation subobject link marked by the # character. Property name can even be the compound expression, for example "Item(0).Value" for the PmaData object.
If the property is not stated, then the data binding is defined directly to the object (this can be performed only for the variable of the Object type). AP Value of application variable - The variable is bound to the variable value defined in the "Variables" configuration window.
SP Property of the object in the Pm variable - The variable is bound to an arbitrary property of the Pm object.
|
---|---|
Data binding used | Specifies when the data binding is used:
Ini On property start - Binding will be performed on the initialization of the variable (the initial value of the variable will be set).
<> On both property reading and writing - Execution of the combined binding On reading and On writing.
|
Object | Path to the object relevant to the binding. |
Property | Connection to the object property. |
Variable | Connection to variable |
var val = pMe.ReadVars(0).Value;
pMe.Pm("/Boiler1/Data/#vars/Temperature").Value = 100 + 10 * val;