Update cookies preferences
Promotic

Preconfiguration "PmChar - Communication with Landis&Gyr regulators PRV1"

Communication with Landis&Gyr regulators PRV1 by means of the PmChar communication driver with test panel.

This preconfiguration can be activated when creating a new object (e.g. by "New object ..." in the context menu of the object or by pressing the Insert key after selecting the object) and is included in the group: "/ Communication / Protocols and other communications / DALI".
This preconfiguration can be created in the object: PmaFolder or PmaRoot.

The preconfiguration creates an object of the PmaFolder type containing PmaComm object with PmaCommMsg subobjects and following objects: PmaPanel, PmaComm and PmaCommMsg.

General information:
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:
$xxx.HW - query to the value of the module parameter at address xxx
$xxx.SB - query to the binary value of the module parameter at address xxx
etc.


Important warnings:
- Test examples will function only when addesses are correctly modified according to setting PRV2
- Writing of values needs to be done only to parameters (addresses) and structures that are meant for it
- Any wrong writing into the memory PRV2 is very risky and it can cause overwriting of the program in PRV2 !!!
- In the case of a wrong syntax, the device returns the error code 08H.
- The data item itself can be read from the received data, for example, by the PmaCommMsg.ReadVars method.
These configurators can be set before the preconfiguration is created:
The name of created objectName of the object created in the Pma objects tree.
The maximum name length is 30 characters.
This is a system name, so it must contain only alphanumeric and must not contain any diacritics (i.e. national dependent characters), empty string, spaces and the first character must not be a number.
Default: "LandisGyrPRV"
Serial portSelection 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 the application is launched 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 the application is launched. This port must be correctly configured and accessible in Windows OS (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.

History:
Pm8.03.12: Created
PROMOTIC 9.0.28 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.