The purpose of this article is to present an example of integrating the energy meter with the Grenton Smart Home System. The following integration is using the Modbus RTU communication protocol.
The energy meter used in this example is F&F LE-03MW CT. Documentation of Modbus protocol is available here.
According to the documentation - the default settings are as follows:
- address: 1;
- baud rate: 9600;
- stop bits: 1;
- parity: EVEN.
This integration allows us to receive the following informations:
- value of active and reactive energy (total, consumed and released);
- voltage and current values for individual phases;
- value of active and reactive power;
- frequency.
To complete the example you will need:
- Gate Modbus (with FW 1.4.1-2334 or higher)
- F&F LE-03MW CT energy meter
Configuration of the Modbus virtual objects
1. Add ModbusRTU virtual objects on Gate Modbus module:
2. Enter the values of Embedded features in ModbusRTU virtual objects as follows:
* Total active energy:
* Total reactive energy:
* Phase L1 voltage:
* Phase L1 current:
* Total active power:
* Total reactive power:
* Frequency:
3. Send the configuration to the Gate Modbus module. After sending, the Value features of virtual objects should assume the appropriate values.