This is an example application that uses in the runtime mode the PmaInstance objects. The PmaPrototype object (template) containing the PmaPanel, PmaData, PmaTrendGroup etc. subobjects is copied into the instances.
The objects named Boiler_Instance1, Boiler_Instance2 ... are connected to the PmaPrototype object named "Boiler_Prototype" on the "Instance" tab in the "Path to prototype" configurator. In the "Pma object parameters" configurator the parameter name (boil) is defined together with the corresponding value (1,3,3). The parameter name is identical with the parameter in the "Pma object parameters" configurator of the PmaPrototype object and the value is crucial for identification in the folowing configuration of data, trends and alarms for the corresponding boiler.
The object named "Boiler_Prototype" has the boil parameter set to 0 in the "Pma object parameters" configurator.
The object has an expression composed by Macro expression $.join and Macro expression $.par on the "Group" tab in the Alarm group identifier and Displayed group name configurators. Configurators Parent enabled and Parent are connected to parent PmaAlarmGroup.
The object has two variables TemperCurrent and TemperRequired created on the "Data" tab. One of them is connected via ExtAlarmAnalog to the PmaAlarmGroup object with the template alarm0. There are configurators in the setup window of this data extension Data extension identifier and Alarm source composed into macro expression by Macro expression $.join and Macro expression $.par. Both variables are connected to the PmaTrendGroup object by ExtTrend.
There is the PmgRoot object in the panel with the boil parameter with initial value of 0.
The panel contains both simple and compleg Pmg objects. The PmgString objects are connected by the "PP - Data binding to Pma object property" data binding to the data of the PmaData object. The PmgSliderPane object is connected by the "PP - Data binding to Pma object property" data binding to the TemperRequired variable of the PmaData object. The trend viewer has static trend item configured without the connection to the server. The connection to the trend server is configured dynamicaly in the onStart event by the Connect method. In the third parameter of this method the GetPar method is used in order to detect the value of the boil panel parameter. Based on this, the viewer is connected to corresponding trend group.
The panel is configured as overview screen containing identical compound Pmg objects representing the boiler. The objects differ only by the value of the parent object parameter. The embedded Pmg objects use this parameter in order to connect to the corresponding data items.