I came across a set up of few DLMS meters (Landis Gyr) which uses SN referencing where they have been configured within the same host.
In a single IP, we could see multiple meters are configured. Can anyone direct us on how to get the server addresses of configured meters so that I can read the objects of the same using below command.?
It came to my observation that in such a setup, we have to read the management logical device 2nd attribute to get the logical addresses of meters. However, executing below command (with -s 1) did not return the expected results and was returning only the short names.
GuruxDlmsSample -r SN -c 16 -s 1 -h [IP Address] -p [Port No]
Are there any ways to read all objects of all meters when above command is executed? Will the library automatically read the logical addresses of meters and read the respective objects or do we have to make explicit calls to meters to read their objects?
The library doesn't read the logical addresses, because that is not defined on DLMS standard and manufacturers are handling this differently. Try to read SAP table from the main meter. You should see a list of the meters that are connected to the main meter. Then use those SAP address as server address to access the meters.
Something like this:
GuruxDlmsSample -r SN -c 16 -s [SAP Address] -h [IP Address] -p [Port No]
Hi,
Hi,
The library doesn't read the logical addresses, because that is not defined on DLMS standard and manufacturers are handling this differently. Try to read SAP table from the main meter. You should see a list of the meters that are connected to the main meter. Then use those SAP address as server address to access the meters.
Something like this:
GuruxDlmsSample -r SN -c 16 -s [SAP Address] -h [IP Address] -p [Port No]
BR,
Mikko