Create and Open the Application:
New PROMOTIC application can be created and opened several ways:
Create and Open the Application:
Launch the PROMOTIC system (\Promotic\PmManager.exe
) and click the "New application" button on the Application
Then choose the desired application location (of the PROMOTIC system, for example C:\Promotic\Apps\Application1), application file name, for the purpose of this coursebook example enter "BoilerPlant.pra" and confirm.
Note: Based on practocal experience, we recommend to use short filenames - no diacritics, no spaces, must start with a letter.
New dialog is opened. It can be used to select the application type to be created. If you want to create the application with examples, demo or tutorial, select the application type accordingly. If you want to create standard SCADA application do not change the settings and press Next. The system detects, that the application is empty and therefore opens a window with series of queries. Based on the information entered here, new preconfigured objects are going to be created in the application.
In this dialog, select the desired workspace layout for your application and fill in other optional entries. This settings can be changed at any time while creating your application.
- Application name: Enter "Boiler room visualization" here
- Insert the "About" window: Check this checkbox in order to add the "About" ("about") window
- Application designer/company name: This text will be used only in the "About" window ("about").
- Application designed for: This text will be used only in the "About" window ("about").
- Enable application for Web
: Check this checkbox in order to allow your application become a Web server offering HTML and XML pages. This selection adds a PmaWeb
object into the application and other objects become preconfigured for Web usage.
Leave other configurators unmodified.
Fill in the necessary information and confirm. The system now creates the preconfigured objects (these will be explained in the following chapter). Subsequently the system asks you whether you want to compile all panels - select Yes
. The system then compiles all preconfigured panels and displays the compilation result – confirm OK
By following the previous steps you have created an application, opened it and let the system create some basic preconfigured objects. The following chapters of this coursebook will teach you how to create the content of an application in order to achieve the desired functionality. Creating application content can be formally divided into three parts:
a) Static Part:
In this part the designer creates his application by adding and using Pma objects (e.g. timer, data, communications), modifies the properties of such objects and places them into the hierarchical tree. This way, the internal structure of the application is being created.
b) Visual Part:
In this part the designer creates graphic panel, places desired Pmg objects into the panels and defines the its properties. These Pmg objects are then being connected by data bindings with the objects that have been created in the static part. An outer appearance of the application is created here - graphic interface.
Note: Fully functional application not having any graphic user interface can also be created.
c) Dynamic Part:
In this part the designer defines the main application functionality itself, for example repeated actions of objects in defined time periods, what should happen when the user presses a button or key, etc..
Note: Some very simple applications (e.g. used only for diplaying incoming values) may not need this part.
In fact, these three defined parts of the application development are only formal and very often blend together. In the system itself this division is not strictly defined. But it can help us with the following explanation that is divided into these three parts.