Setting and programming of PRV2 is the matter of the programmer of Landis&Gyr who should inform about the configuration of PRV2 by individual modules including addresses and structures of variables defined by him.
It is possible to query these modules and structures by the standard commands (see examples), for example:
|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.|
|Serial port||Selection of the communication serial port. |
The value can be change by the OpenPort method.
The value can be detected by method GetProtParam("SerPort").
After the preconfiguration is created, the "PmaComm > Setting the parameters of the serial link > Serial port" configurator will be set to this value.
Not set - The object is not connected to any port after starting the application and the serial port can be selected dynamically by the algorithm (by the PmaComm.OpenPort method).
COM1, COM2,..,COM66 - The specified serial port is opened after starting the application. This port must be correctly configured and accessible in the OS Windows (no one can use it).
For serial link each PmaComm object must have defined another communication port. For example, if one PmaComm object communicates through COM1, then next PmaComm object can communicate for example through COM2 (COM3, ...) but it mustn't communicate through COM1.