Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Data binding PP - Data binding to Pma object property

Description:
The value of the data binding PP is a property value of the selected Pma object.
Data binding configurators:
ObjectPath to the Pma object in the tree of Pma objects, a data binding has to be created to its property (case sensitive text).

The path describes the location of the object in the tree of Pma objects. Each tree level adress is separated by the / character. The immersed Pma object is referrenced by its name. The superior Pma object is referrenced by .. characters. The immersed implementation subobject (other than PmaObject type) is referrenced by # character, followed by the implementation subobject type definition (e.g. #vars). It means that the # addressing leaves the Pma objects tree (created by user) and starts to address the implementation subobjects of the Pma object. For example "/appdata/data/#vars/Temperature".

Macro expression can be used for input (it is evaluated while the window is opening). See Example3.

PropertyProperty of the selected object.

Macro expression can be used for input (it is evaluated while the window is opening).

Dynamic propertyCheck only in special cases:

Check only if an EXPRESSION is written in the property row, for example:

- Trends(0).Unit and if the object (in this case the Trend subobject referenced by the "Object" and "Property" configurators) can be removed and created again in the runtime mode.

DON'T check if there is written only the name of the elementary property in the property row, for example Value, Visible, etc.

Note:
This data binding is also functional in Web panels. The values of this data binding are evaluated via the Web server communication (with PROMOTIC application). The Web client (i.e. Web browser) communicates with the Web server on a regular basis with the defined tiime period - see "PmaPanel > Web server > Refresh period of HTML pages [s]" configurator.
Example1:
Example for absolute path: Binding to the Temperature variable in the object of the PmaData type places on the absolute path "/Boiler1/Data".
Object: /Boiler1/Data/#vars/Temperature
Property: Value
Example2:
Example for relative path: Binding to the Temperature variable in the object of the PmaData type named Data places beside this panel (beside PmaPanel object where this binding is used).
Object: ../Data/#vars/Temperature
Property: Value
Example3:
Example for using Macro expression $.par: Binding to the Temperature variable in the object of the PmaData type places on the absolute path "/Boiler1/Data" (or Boiler2,3,4) according to the nmb parameter value.
Object: $.join("/Boiler",$.par("nmb"),"/Data/#vars/Temperature")
Property: Value
Example4:
Example for ActiveX: Binding to the Property property of the ActiveX object that is configured in the PmaActiveX object named Ax0.
Object: /Ax0
Property: Acx.Property
PROMOTIC 9.0.8 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice