normal Strange readings from GW-DLMS via ModbusTCP

  • FR
  • Avatar di FR Autore della discussione
30/08/2018 23:24 #1439 da FR
I'm trying to read values from a Landis+Gyr E650 using a GW-DLMS-485-LG. Unfortunately, I've got difficulties interpreting the values I receive using ModbusTCP. Some seem to be outdated and are never refreshed, some seem to be available at different addresses than the webinterface says. I've checked all values against the counter itself and the webinterface shows the correct values.

These are the (float) values from the top table (column "website" is value from website, column "modbus" is value as I polled it via ModbusTCP)
indexaddressobiswebsitemodbus
04x400160.9.1214724246366
14x400180.9.2180830184589
24x400200.0.0381197327680
34x400220.1.075.0075.03687286376953
44x400241.8.017929.4417961.990234375
54x400261.8.0*17705.9917695.48046875
64x400281.8.112111.7412156.8603515625
74x400301.8.1*11964.8611955.400390625
84x400321.8.25817.705805.1298828125
94x400341.8.2*5741.135728.0
244x400645.8.02759.802755.2900390625
254x400665.8.0*2739.292741.780029296875
264x400685.8.11546.891545.4000244140625
274x400705.8.1*1537.401540.9000244140625
284x400725.8.21212.901209.8900146484375
294x400745.8.2*1201.891200.0
544x401248.8.016.2416.1299991607666
554x401268.8.0*15.6915.729999542236328
564x401288.8.115.2315.242500305175781
574x401308.8.1*14.6814.642499923706055
584x401328.8.21.011.0099999904632568
594x401348.8.2*1.011.0078125
644x401441.6.10.700.7015312314033508
654x401461.6.1*0.680.6796875
As far as I can see, those values don't refresh at all (e.g. counter 4x40024) and/or don't fit to the data they should show (e.g. time 4x40016, date 4x40018)

The Integer variants are current, but seem to have an address offset of 2 bytes:
indexaddressobiswebsitevalue
4x4104417929
04x410461.8.01792917705
14x410481.8.0*177050
24x410502.8.000
34x410522.8.0*02759
44x410545.8.027592739
54x410565.8.0*27390
64x410586.8.000
74x410606.8.0*00
84x410627.8.000
94x410647.8.0*016
104x410668.8.01615
114x410688.8.0*150
124x410703.8.000
134x410723.8.0*00
144x410744.8.000
154x410764.8.0*00

Do you have any idea what's wrong here and how it can be fixed? If you need further information for debugging this I'll be happy to assist.
Di più
31/08/2018 14:37 #1447 da marcom
Risposta da marcom al topic Strange readings from GW-DLMS via ModbusTCP
Dear
usually this is a problem of bad modbus register reading; modbus addresses on the web pages are base 1, so if your modbus master/software is base 0 the correct address for your system is address -1. For example: 4x40016 -1 = 4x40015.

If this not solve, please try to swap words in modbus readings.

Regards

Marcom S.r.l.
via della Metallurgia, 11
37139 - Verona (VR)
Powered by Forum Kunena
Avviso
  • I prezzi sul sito sono IVA esclusa.