Categories
Uncategorised

Water meter Modbus

I purchased a water meter off aliexpress advertised as having either Mbus or RS485, which I assumed was Modbus. Trying to get any manuals or information off the seller was unsuccessful. It was advertised as a YNS-25 but what received was marked with LXSY-25E

The slightly accurate LXSY-25E water meter.
Details inside cap
Translated cap

Polling the Modbus at 9600, 1 stop bit, address 0 got a response from the meter at address 34. According to Modbus specs sending commands to address 0 broadcasts the command to all devices on the network but none are supposed to respond. This means the meter does not comply with the standard. The address of 34 decimal is hardcoded into the meter, which is the last 2 digits of the serial number 22 in hexadecimal.

After lots of googling I found a manual for the LXSY series being sold by a Singapore company.

https://norika.com.sg/download.php?id=Norika%20water%20meter%20schematic%20-%20communication%20guide%20and%20communication%20quick%20reference%20(5).pdf&fname=Norika%20water%20meter%20schematic%20-%20communication%20guide%20and%20communication%20quick%20reference%20(5).pdf

As a side note I found out that M-Bus does not stand for Modbus, but is a different communication standard called Meter-Bus, an European standard (EN13757) for the remote reading of meters such as water, gas and electricity. It is a 2 wire system that provides power and data to the remote meters.

M-Bus links

https://github.com/rscada/libmbus/blob/master/hardware/MBus_USB.pdf

https://forum.arduino.cc/t/m-bus-meter-bus/362202/3

https://docs.arduino.cc/libraries/mbuspayload/#Compatibility

https://store-usa.arduino.cc/products/arduino-mkr-m-bus-slave-shield?srsltid=AfmBOoq0Rz_e2s1F5Fylg8UzQyeNfoEqVVPq7l6EAdTorUr56ZCK_KCp

https://store-usa.arduino.cc/products/arduino-mkr-m-bus-master-shield?pr_prod_strat=e5_desc&pr_rec_id=6bd3893fe&pr_rec_pid=7289290653903&pr_ref_pid=7289294422223&pr_seq=uniform

https://www.instructables.com/How-Read-and-Decode-Data-From-M-BUS-Smartmeters-Us/

https://community.se.com/krefy84679/attachments/krefy84679/knowledge-base_public/1444/1/MN67044_ENG.pdf

https://www.ti.com/lit/ds/symlink/tss721a.pdf?ts=1754094667125&ref_url=https%253A%252F%252Fwww.google.com%252F

https://www.ti.com/lit/ug/tiducx7a/tiducx7a.pdf

By David Dobson

I try not to let my age dictate how old I act

Leave a Reply

Your email address will not be published. Required fields are marked *