# ConMod User Manual 1.0.3, 1.0.4 ## Overview **ConMod P1Modbus** is a small industrial protocol converter for smart Meters with P1 interface output to convert meter data into industrial standard protocols Modbus RTU and Modbus TCP with interfaces RS485 and Wi-Fi (2,4GHz). They are designed to convert smart meter data into the most popular industrial protocol – Modbus. The solution perfectly fits integration with energy management systems, remote monitoring, SCADA systems, etc. ConMod P1Modbus is compatible with the DSMR interface and supports different versions and variations of data formats. Also, ConMod P1Modbus has a menu to show RAW data (P1 telegram) collected from the smart meter to enable comparison with converted data in Modbus registers. ConMod P1Modbus is designed for industrial applications with cybersecurity in mind to disable Wi-Fi communication and avoid illegal communication over Wi-Fi in critical infrastructure projects. ## Features - Easy configuration using Wi-Fi via mobile phone or a laptop; - Indication about P1 interface, RS485, and Wi-Fi data on built-in LED’s; - Both Modbus RTU and Modbus TCP are available at the same time; - Debug information about P1 telegram available with every data frame from Smart Meter; - Support different meters with DSMR interfaces like SAGEMCOM and others; - Easy to change Modbus Slave ID and serial communication speed; - Built-in switchable terminating resistors for RS485; - Possibility to provide power for protocol converter from P1 interface as well from external power supply; - Wide power supply range from 5V to 60VDC; - External Wi-Fi antenna with SMA connector; - Wi-Fi on/off switch; - Reset the device button; - Communication port RS485, Wi-Fi (2,4GHz B/G/N); - Modbus RTU, Modbus TCP protocols. ### Connection

It is highly recommended that the RJ12 wire is not longer than 7 meters, otherwise the connection might be unstable.

To connect ConMod to a meter, an RJ12 cable is required. As shown in the picture below, one side of the cable is connected to a ConMod P1 port, and the other one to a meter. After connecting P1 LED will light up. Instructions on how to connect to a Wi-Fi are described below in the paragraph Connection and Configuration over Wi-Fi. [![image-1712673284471.png](https://wiki.elseta.com/uploads/images/gallery/2024-04/scaled-1680-/image-1712673284471.png)](https://wiki.elseta.com/uploads/images/gallery/2024-04/image-1712673284471.png) Fig. 1. P1 connection to a smart meter via RJ12 cable [![image-1712673704198.png](https://wiki.elseta.com/uploads/images/gallery/2024-04/scaled-1680-/image-1712673704198.png)](https://wiki.elseta.com/uploads/images/gallery/2024-04/image-1712673704198.png) Fig.2. RS485 Bus configuration ### Common configuration information ConMod receives data from meters via the P1 interface and sends data back via Modbus protocol using function 3 (read holding registers). Default serial communication parameters are:
slave id1
Baud rate9600
data bits8
stop bits1
paritynone
There is a list of signals and their Modbus registers in the table below. The names of the registers might differ.
**Name****Units****Modbus register** **Obis job** **Length** **Number type**
serial number-1-4UNSIGNED64
correct data counter-5-1UNSIGNED16
faulty data counter-6-1UNSIGNED16
device error-7-1UNSIGNED16
Active energy import (+A)Wh81-0:1.8.02UNSIGNED32
Active energy export (-A)Wh101-0:2.8.02UNSIGNED32
Reactive energy import (+R) (QI+QII)varh121-0:3.8.0 2UNSIGNED32
Reactive energy export (-R) (QIII+QIV)varh141-0:4.8.0 2UNSIGNED32
Active energy import (+A) rate 1Wh161-0:1.8.12UNSIGNED32
Active energy import (+A) rate 2Wh181-0:1.8.22UNSIGNED32
Active energy import (+A) rate 3Wh201-0:1.8.32UNSIGNED32
Active energy import (+A) rate 4Wh221-0:1.8.42UNSIGNED32
Active energy export (−A) rate 1Wh241-0:2.8.12UNSIGNED32
Active energy export (−A) rate 2Wh261-0:2.8.22UNSIGNED32
Active energy export (−A) rate 3Wh281-0:2.8.32UNSIGNED32
Active energy export (−A) rate 4Wh301-0:2.8.42UNSIGNED32
Reactive energy (+R) rate 1varh321-0:3.8.12UNSIGNED32
Reactive energy (+R) rate 2varh341-0:3.8.22UNSIGNED32
Reactive energy (+R) rate 3varh361-0:3.8.3 2UNSIGNED32
Reactive energy (+R) rate 4varh381-0:3.8.42UNSIGNED32
Reactive energy (-R) rate 1varh401-0:4.8.12UNSIGNED32
Reactive energy (-R) rate 2varh421-0:4.8.22UNSIGNED32
Reactive energy (-R) rate 3varh441-0:4.8.32UNSIGNED32
Reactive energy (-R) rate 4varh461-0:4.8.42UNSIGNED32
Instantaneous active import power (+A)Wh481-0:1.7.02UNSIGNED32
Instantaneous active export power (-A)Wh501-0:2.7.02UNSIGNED32
Instantaneous reactive import power (+R)varh521-0:3.7.02UNSIGNED32
Instantaneous reactive export power (-R)varh541-0:4.7.02UNSIGNED32
Instantaneous voltage L1V561-0:32.7.02UNSIGNED32
Average voltage L1V581-0:32.24.02UNSIGNED32
Instantaneous current L1A601-0:31.7.02UNSIGNED32
Sliding Average current L1 (for fuse supervision)A621-0:31.4.02UNSIGNED32
Instantaneous voltage L2V641-0:52.7.02UNSIGNED32
Average voltage L2V661-0:52.24.02UNSIGNED32
Instantaneous current L2A681-0:51.7.02UNSIGNED32
Sliding Average current L2 (for fuse supervision)A701-0:51.4.02UNSIGNED32
Instantaneous voltage L3V721-0:72.7.02UNSIGNED32
Average voltage L3V741-0:72.24.02UNSIGNED32
Instantaneous current L3A761-0:71.7.02UNSIGNED32
Sliding Average current L3 (for fuse supervision)A781-0:71.4.02UNSIGNED32
Instantaneous voltage (U) \[V\]V801-0:12.7.02UNSIGNED32
Instantaneous current \[A\]A821-0:11.7.02UNSIGNED32
Instantaneous current in neutral \[A\]A841-0:91.7.02UNSIGNED32
Instantaneous current (sum over all phases)A861-0:90.7.02UNSIGNED32
Instantaneous net frequency; any phaseHz881-0:14.7.02UNSIGNED32
Instantaneous active power (|+A|+|-A|)W901-0:15.7.02UNSIGNED32
Instantaneous active import power (+A) in phase L1 \[kW\]W921-0:21.7.02UNSIGNED32
Instantaneous active import power (+A) in phase L2 \[kW\]W941-0:41.7.02UNSIGNED32
Instantaneous active import power (+A) in phase L3 \[kW\]W961-0:61.7.02UNSIGNED32
Instantaneous active export power (-A) in phase L1 \[kW\]W981-0:22.7.02UNSIGNED32
Instantaneous active export power (-A) in phase L2 \[kW\]W1001-0:42.7.02UNSIGNED32
Instantaneous active export power (-A) in phase L3 \[kW\]W1021-0:62.7.02UNSIGNED32
Instantaneous reactive import power (+R) in phase L1 \[kvar\]var1041-0:23.7.02UNSIGNED32
Instantaneous reactive import power (+R) in phase L2 \[kvar\]var1061-0:43.7.02UNSIGNED32
Instantaneous reactive import power (+R) in phase L3 \[kvar\]var1081-0:63.7.02UNSIGNED32
Instantaneous reactive export power (-R) in phase L1 \[kvar\]var1101-0:24.7.02UNSIGNED32
Instantaneous reactive export power (-R) in phase L2 \[kvar\]var1121-0:44.7.02UNSIGNED32
Instantaneous reactive export power (-R) in phase L3 \[kvar\]var1141-0:64.7.02UNSIGNED32
Instantaneous apparent import power (+VA)VA1161-0:9.7.02UNSIGNED32
Instantaneous apparent import power (+VA) in phase L1VA1181-0:29.7.02UNSIGNED32
Instantaneous apparent import power (+VA) in phase L2VA1201-0:49.7.02UNSIGNED32
Instantaneous apparent import power (+VA) in phase L3VA1221-0:69.7.02UNSIGNED32
Instantaneous apparent export power (-VA)VA1241-0:10.7.02UNSIGNED32
Instantaneous apparent export power (-VA) in phase L1VA1261-0:30.7.02UNSIGNED32
Instantaneous apparent export power (-VA) in phase L2VA1281-0:50.7.02UNSIGNED32
Instantaneous apparent export power (-VA) in phase L3VA1301-0:70.7.02UNSIGNED32
Average Import Power (+A)W1321-0:1.24.02UNSIGNED32
Average Net Power (|+A|-|-A|)W1341-0:16.24.02SIGNED32
Average Total Power (|+A|+|-A|)W1361-0:15.24.02UNSIGNED32
Instantaneous Power factor (+A/+VA)-1381-0:13.7.02UNSIGNED32
Instantaneous power factor in phase L1-1401-0:33.7.02UNSIGNED32
Instantaneous power factor in phase L2-1421-0:53.7.02UNSIGNED32
Instantaneous power factor in phase L3-1441-0:73.7.02UNSIGNED32
Minimum Power factor (+A/+VA)-1461-0:13.3.02UNSIGNED32
Measurement Period 3 for Instantaneous valuess1481-0:0.8.22UNSIGNED32
Demand Register 1 - Active energy import (+A)W1501-0:1.4.02UNSIGNED32
Demand Register 2 - Active energy export (−A)W1521-0:2.4.02UNSIGNED32
Demand Register 3 - Reactive energy import (+R)var1541-0:3.4.02UNSIGNED32
Demand Register 4 - Reactive energy export (-R)var1561-0:4.4.02UNSIGNED32
Demand Register 5 - Apparent energy import (+VA)VA1581-0:9.4.02UNSIGNED32
Demand Register 6 - Apparent energy export (-VA)VA1601-0:10.4.02UNSIGNED32
Last Average Demand Register 1 - Active energy import (+A)W1621-0:1.5.02UNSIGNED32
Last Average Demand Register 2 - Active energy export (−A)W1641-0:2.5.02UNSIGNED32
Last Average Demand Register 3 - Reactive energy import (+R)var1661-0:3.5.02UNSIGNED32
Last Average Demand Register 4 - Reactive energy export (-R)var1681-0:4.5.02UNSIGNED32
Last Average Demand Register 5 - Apparent energy import (+VA)VA1701-0:9.5.02UNSIGNED32
Last Average Demand Register 6 - Apparent energy export (-VA)VA1721-0:10.5.02UNSIGNED32
Number of voltage sags in phase L1-1741-0:32.32.02UNSIGNED32
Number of voltage sags in phase L2-1761-0:52.32.02UNSIGNED32
Number of voltage sags in phase L3-1781-0:72.32.02UNSIGNED32
Duration of last voltage sag in phase L1s1801-0:32.33.02UNSIGNED32
Duration of last voltage sag in phase L2s1821-0:52.33.02UNSIGNED32
Duration of last voltage sag in phase L3s1841-0:72.33.02UNSIGNED32
Magnitude of last voltage sag in phase L1V1861-0:32.34.02UNSIGNED32
Magnitude of last voltage sag in phase L2V1881-0:52.34.02UNSIGNED32
Magnitude of last voltage sag in phase L3V1901-0:72.34.02UNSIGNED32
Number of voltage swells in phase L1-1921-0:32.36.02UNSIGNED32
Number of voltage swells in phase L2-1941-0:52.36.02UNSIGNED32
Number of voltage swells in phase L3-1961-0:72.36.02UNISGNED32
Duration of last voltage swell in phase L1s1981-0:32.37.02UNSIGNED32
Duration of last voltage swell in phase L2s2001-0:52.37.02UNSIGNED32
Duration of last voltage swell in phase L3s2021-0:72.37.02UNSIGNED32
Magnitude of last voltage swell in phase L1V2041-0:32.38.02UNSIGNED32
Magnitude of last voltage swell in phase L2V2061-0:52.38.02UNSIGNED32
Magnitude of last voltage swell in phase L3V2081-0:72.38.02UNSIGNED32
Number of long power failures in any phase -2100-0:96.7.92UNSIGNED32
Number of power failures in any phase -2120-0:96.7.212UNSIGNED32
clock-2140-0:1.0.07TST
The number type in the Modbus protocol allows users to read data in different formats. The number type and data from the meter must be compatible. For example, if it takes 16 bits to read data and the sign (+/-) is important, then the user should configure the Modbus register as SIGNED 16. For further explanation of how number type determines data value, see the table below:
**Name****Description****Range**
SIGNED1616-bit signed integer (1 word)-32768...+32767
UNSIGNED1616-bit unsigned integer (1 word)0...65535
SIGNED3232-bit signed integer (2 words)-2 147 483 648... + 2 147 483 647
UNSIGNED3232-bit unsigned integer (2 word)0... 4 294 967 295
### P1 connector circuit in meter [![image-1707223215071.png](https://wiki.elseta.com/uploads/images/gallery/2024-02/scaled-1680-/image-1707223215071.png)](https://wiki.elseta.com/uploads/images/gallery/2024-02/image-1707223215071.png)
Fig.3. ConMod internal structure and connection diagram
### Technical information
**System**
1.Dimension91 x 18 x 67 mm
2.Working temperature-25°C | +55°C
3.Recommended operating conditions-25°C | +55°C and >95 %RH (none condensing)
4.ConfigurationWeb browser (Laptop and smartphone)
**Electrical specifications**
5.Functions- P1 interface - Connectivity – 0,5m 6pin cable with RJ12 connectors - Overvoltage protection up to ±65V
**Power**
6.Power Supply5V to 60V
7.Current consumption<200mA @12 VDC
### LED status indication and control ConMod has LED indications for the P1 interface, RS485, Wi-Fi, a switch for enabling or disabling the Wi-Fi connection, and a reset button. - The power LED turns green after connecting the ConMod to a power source. - P1 LED turns on when ConMod receives a data packet from the meter. - Wi-Fi LED indicates if the Wi-Fi connection is enabled. There is an ON/OFF switch to enable or disable Wi-Fi which can be seen below the LEDs. - RS485 LED lights up when ConMod receives or sends data from another device via the RS485 interface. This could be either meter or WCC Lite. By holding a reset button for ~5s, ConMod resets the Wi-Fi connection and allows it to connect to another network instead. [![image-1707814255072.png](https://wiki.elseta.com/uploads/images/gallery/2024-02/scaled-1680-/image-1707814255072.png)](https://wiki.elseta.com/uploads/images/gallery/2024-02/image-1707814255072.png) ### Connection and configuration over Wi-Fi ConMod is compatible with meters that have a DSMR interface. After physically connecting the ConMod to the meter and turning it on, it becomes a Wi-Fi access point. To connect to ConMod click on Wi-Fi settings and connect to a new network – ConModP1: [![image-1707827116444.png](https://wiki.elseta.com/uploads/images/gallery/2024-02/scaled-1680-/image-1707827116444.png)](https://wiki.elseta.com/uploads/images/gallery/2024-02/image-1707827116444.png) Connection will redirect the user to the main configuration web page: [![image-1707830479010.png](https://wiki.elseta.com/uploads/images/gallery/2024-02/scaled-1680-/image-1707830479010.png)](https://wiki.elseta.com/uploads/images/gallery/2024-02/image-1707830479010.png) As seen in the image above, there is a message indicating that no AP (access point) is set. This means that the user will have to enter a password. To do so, simply click on Configure Wi-Fi, then select the Wi-Fi you are connecting to and enter the required credentials for this specific access point: [![image-1707477422216.png](https://wiki.elseta.com/uploads/images/gallery/2024-02/scaled-1680-/image-1707477422216.png)](https://wiki.elseta.com/uploads/images/gallery/2024-02/image-1707477422216.png) After entering the correct credentials click on save. If the password is correct, the connection will be established. This will be indicated with a message: [![image-1707827256112.png](https://wiki.elseta.com/uploads/images/gallery/2024-02/scaled-1680-/image-1707827256112.png)](https://wiki.elseta.com/uploads/images/gallery/2024-02/image-1707827256112.png) In case of an incorrect password, the message Not connected will appear (like in the picture below) and the connection to the ConModP1 network will be lost. In this case, the user should simply try to reconnect to the network and enter the correct credentials instead. [![image-1707830512585.png](https://wiki.elseta.com/uploads/images/gallery/2024-02/scaled-1680-/image-1707830512585.png)](https://wiki.elseta.com/uploads/images/gallery/2024-02/image-1707830512585.png) Another way to connect is via web address conmod.local but only after the connection is established. The user interface also allows to setup of Modbus parameters such as slave ID and baud rate: [![image-1707481785530.png](https://wiki.elseta.com/uploads/images/gallery/2024-02/scaled-1680-/image-1707481785530.png)](https://wiki.elseta.com/uploads/images/gallery/2024-02/image-1707481785530.png) There is also an option to read all the parameters from the meter without connecting ConMod to WCC Lite. Those parameters could also be found on the user interface by clicking on P1 raw data. It will show Obis codes and their corresponding values.