The Landis&Gyr regulators are not addressable, it goes about the point-to-point communication type. But it is possible to place a special external converter prior to each Landis&Gyr that provides addressing and the conversion of the line to the RS485 network communication.
Communication is implemented over the programming PG port. Data in the Landis&Gyr have no fixed address and even on the relatively small change of the program in the Landis&Gyr, addresses of variables in the Landis&Gyr are changed. Communication messages that write into the Landis&Gyr, can then cause the crash of the program in the Landis&Gyr when even tiny changes in the Landis&Gyr addresses layout are not accepted. This destruction can be non-reversible !! and even the reset of the Landis&Gyr won't help !! Thus it is important to know the exact address layout in the Landis&Gyr.
Data transfer RS232 enables connecteng max one station RWP80 connected to serial port. Connecting other station requires new communication port.
The station is connected through communication converter Ethernet/RS-232. It is possible to connect more station to one TCP port, address is determined by IP address in network.
The communication with the Landis&Gyr regulators of the PRV1 and PRV2 types is carried out in the PROMOTIC system by means of the PmChar communication driver. For the network communication (over the RS485) it is necessary to equip each Landis&Gyr station by the addressable HW converter.
The Landis&Gyr regulator can be programmed as the communication Slave (i.e. it waits for communication prompts=messages from the PC). This is the most often and recommended case how to implement the communication of an application with the Landis&Gyr stations. The Landis&Gyr regulator can be programmed as the Master as well (it transmits data to the communication line itself); or it can go about the combination of both approaches.
As a demonstration of the point-to-point communication example is available, where the PC is of the Master type and the Landis&Gyr station is of the Slave type. See: Example of communication with Landis&Gyr devices of PRV1/2 type. Example is implemented by the PmChar communication driver.
The communication with the Landis&Gyr stations of the PRV1 and PRV2 types can be driven on the RS485 line by intelligent HW converters that provide:
1. On the Landis&Gyr station side the communication is carried out over the PG port (RS232). Prior to each Landis&Gyr station the intelligent HW converter must be located. The HW converter performs:
2. On the PC side there is available the communication driver (DLL library). The PROMOTIC system accesses the DLL library by the PmDll object and calls its functions (data reading, data writing, etc.). The communication driver keeps the internal database of variables. This provides quick answers to PROMOTIC system requests because it doesn't wait for reading the real value from the Landis&Gyr but the value read from the internal database is returned. For the RS232/RS485 conversion a suitable external HW converter or a HW card into the PC can be used. On using the HW communication card in the PC the condition of the functionality is the correct detection of the HW card in the OS Windows (showing new COM ports in the OS Windows settings).