Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Read Load Profile Data For Sanxing Meter

Read Load Profile data for Sanxing meter

By tuzparduc , 2 November, 2023
Forums
DLMSDirector

Hi, I need to read Load profile data from Sanxing meter (P34S02 CT) with GXDLMSDirector. I can connect to the meter with password, Low Authentication, Client Address 1 (instead of 17 that is suggested for Sanxing), Logical Address 0, Physical Address 1), and I can read registers, clock,... but I can’t read Load Profile (Buffer). Access rights for attribute index 2 (Buffer) is Read, but Access Selector is only Entry. I can read only 1 (count) with ReadRowsByEntry, the rest are null values. Why don’t read more than 1 entry? And could I know what is the last entry, the most recent data?
After trying to read with ReadRowsByRange, Access is set to NoAccess, and error:Access Error: Device reports scope of Access Violated.

With Sanplat application (from Sanxing) we can read Load profile even with Low Authentication, and we have rights to connect with Authentication HighGMAC.
Next I tried to connect with GXDLMSDirector with Authentication HighGMAC (we don’t need it, only to read somehow Load Profile values) but I did not get answer for AARQ request.
We know the meter password (is valid for Low Level Authentication), Authentication key (16 byte), Suite0, AuthenticationEncryption, System Title, Client System Title, Encryption Key (with is Block Chiper Key?)
For HighGMAC, Client Address 1 or 10x, I get the message "Connection is permanently rejected. The application context name is not supported. Meter expects Logical Name referencing." For Logical name Referencing checked or not checked, gives the same error, and didn't connect.

After running the source code in C# for GXDLMSDirector, I’ve got somewhere “Invalid security policy value AuthenticateEncrypted for version 1.”
Please help me to read LP values, by settings access or by connect with HighGMAC.
Thanks for help.

Profile picture for user Kurumi

Kurumi

2 years 7 months ago

Hi, The sort method tells…

Hi,

The sort method tells how objects are sorted. You can get more information from here:

https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSProfileGeneric

If might be that your meter doesn't support read rows by entry. You need to ask from the meter vendor if there is a firmware update available.

It looks like one of your parameters is different than the meter expects.
If you can get the hex trace from the Sanplat, I can check the correct parameters for you. This applies also to reading profile generic.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin