This preconfiguration can be used with the objects: PmaFolder or PmaRoot.
Comm - PmaFolder
This object has a communication interface consisting of three methods:There is a subobject in this folder of the PmaSequencer type that provides the communication functionality. The result of successful communication is then processed by the methods ReplyEwons, ReplyGetCsvData or ReplySetCsvData of the object that was defined by the oRcv parameter. The corresponding method must exist in this object.
View - PmaFolder
The PmaFolder object has methods that are required by the communication interface of the Comm object described above. Methods for processing received data Reply ... write into variables of the data subobject. These are then used for processing and displaying returned data in the panel. The "PanelTest" testing panel is used for displaying received data. Here it is possible to use the configurators in order to put together requested method and command parameter. It also allows to detect the settings and export a list of variables of selected eWON for further parametrization and import of variables into the data1 object.data1 - PmaData
The data1 object has interface prepared for processing data received in methods ReplyGetCsvData and ReplySetCsvData. The "RequestGetCsvData" method can be called without parameter but the "RequestSetCsvData" method is prepared for changing the value only of a single variable (parameters itemName and itemVal).Timer1 - PmaTimer
Allows periodical refresh of current data by calling the "RequestGetCsvData" method of the data1 object.The name of created object | Name of the object created in the tree of Pma objects. The maximum name length is 30 characters. This is a system name, so it must contain only alphanumeric and must not contain any diacritics, empty string, spaces and the first character must not be a number. Default: "eWonM2Web" |
---|---|
Service account identifier | assigned identification code of service account |
Account name | User account name |
User | Account login name |
Password | Account login password |
Object scripting language | Application object scripting language 0 - vbscript 1 - javascript |
Demonstration of communication | Creates View folder for demonstration and testing of communication |
Data for reading the values of variables | Creates objects data1 and Timer1 for reading values of variables |