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. How To Write Voltage Threshold In HPL 3 Phase Meter

How to write voltage threshold in HPL 3 Phase Meter

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By Goutam , 12 June, 2017
Forums
General discussion

Hi,

Can you please provide me some of sample code to write the over and under voltage threshold in HPL 3 Phase Meter?

Regards,
Goutam

Profile picture for user Kurumi

Kurumi

9 years ago

How to write voltage threshold in HPL 3 Phase Meter

Hi,

Do you mean Limiter object?

BR,

Mikko

Goutam

8 years 12 months ago

In reply to How to write voltage threshold in HPL 3 Phase Meter by Kurumi

How to write voltage threshold in HPL 3 Phase Meter

Hi,

Both Register monitor and limiter object.

Regards,

Profile picture for user Kurumi

Kurumi

8 years 12 months ago

Register monitor and limiter

Hi,

You just update wanted values to the objects and then write them.

Example:
GXDLMSRegisterMonitor r = new GXDLMSRegisterMonitor("OBIS Code");
r.Thresholds = new Object[]{(Uint16) 100, (Uint16)200};
Note!
The threshold must be the same type as the monitored object. If type is different error is returned.

com.Write(r, 2);

BR,
Mikko

Goutam

8 years 12 months ago

In reply to Register monitor and limiter by Kurumi

How to write voltage threshold in HPL 3 Phase Meter

Hi,

I have tried with the example

string OBISCode = "1.0.32.7.0.255";//instantaneous parameter - Voltage OBIS code.
GXDLMSRegister VoltageReg = new GXDLMSRegister(OBISCode);
var VoltageRegData = grxComm.Read(VoltageReg, 2);
//Result : 23056//230.56

GXDLMSRegisterMonitor RegMonitor = new GXDLMSRegisterMonitor(OBISCode);
RegMonitor.Thresholds = new Object[] { (UInt16)23000, (UInt16)23100 };
grxComm.Write(RegMonitor, 2);

Exception: Access Error : Device reports a hardware fault.

Regards,
Goutam

Profile picture for user Kurumi

Kurumi

8 years 12 months ago

How to write voltage threshold in HPL 3 Phase Meter

Hi,

First check your authentication level. I believe you must use High.
Then make sure what is your data type of that register.
It must be the same.

BR,

Mikko

Goutam

8 years 11 months ago

How to write voltage threshold in HPL 3 Phase Meter

Hi,

Following details found when I checked attribute index 2 of OBIS code 1.0.32.7.0.255
Access : ReadWrite
Index : 2
Type : Gurux.DLMS.Enums.DataType.UInt16
UIType : None

Please suggest me, how to fixed this problem.

Profile picture for user Kurumi

Kurumi

8 years 11 months ago

How to write voltage threshold in HPL 3 Phase Meter

Hi Goutam,

Can you send trace from send and received bytes to me by email? I can check this.

BR,

Mikko

Goutam

8 years 11 months ago

In reply to How to write voltage threshold in HPL 3 Phase Meter by Kurumi

How to write voltage threshold in HPL 3 Phase Meter

Hi,

I have attached received and send byte trace as follows, please check

Send
7E A0 25 03 61 76 EF 41 E6 E6 00 C1 01 C1 00 15 01 00 20 07 00 FF 02 00 01 02 06 00 00 59 D8 06 00 00 59 D9 86 1E 7E
Received
7E A0 11 61 03 96 EF 7E E6 E7 00 C5 01 C1 01 09 6D 26 7E

Regards,

Profile picture for user Kurumi

Kurumi

8 years 11 months ago

How to write voltage threshold in HPL 3 Phase Meter

Hi,

I also need bytes when you read that object. You are writing two UInt32 values.
http://www.gurux.fi/GuruxDLMSTranslator?pdu=C101C100150100200700FF02000…

BR,

Mikko

Goutam

8 years 11 months ago

In reply to How to write voltage threshold in HPL 3 Phase Meter by Kurumi

How to write voltage threshold in HPL 3 Phase Meter

Hi,

I have attached received and send byte trace as follows, please check

Voltage register read Trace:
Send
7E A0 19 03 61 54 39 98 E6 E6 00 C0 01 C1 00 03 01 00 20 07 00 FF 02 00 85 83 7E
Received
7E A0 13 61 03 74 85 83 E6 E7 00 C4 01 C1 00 12 5A 1A 5F 20 7E

Threshold write trace using UInt32:
Send
7E A0 25 03 61 76 EF 41 E6 E6 00 C1 01 C1 00 15 01 00 20 07 00 FF 02 00 01 02 06 00 00 59 D8 06 00 00 59 D9 86 1E 7E
Received
7E A0 11 61 03 96 EF 7E E6 E7 00 C5 01 C1 01 09 6D 26 7E

Threshold write trace using UInt16:
Send
7E A0 21 03 61 76 03 33 E6 E6 00 C1 01 C1 00 15 01 00 20 07 00 FF 02 00 01 02 12 59 D8 12 59 D9 E6 14 7E
Received
7E A0 11 61 03 96 EF 7E E6 E7 00 C5 01 C1 01 09 6D 26 7E

Regards,

Profile picture for user Kurumi

Kurumi

8 years 11 months ago

How to write voltage threshold in HPL 3 Phase Meter

Hi,

You must write data using UInt16. Can you also read monitoredValue (attribute index 3).

BR,

Mikko

Goutam

8 years 11 months ago

How to write voltage threshold in HPL 3 Phase Meter

Hi,

I have tried to read monitoredValue (attribute index 3) but that also throw exception
("Access Error : Device reports a inconsistent Class or object.")

Trace of monitoredValue
Send
7E A0 19 03 61 76 29 9A E6 E6 00 C0 01 C1 00 15 01 00 20 07 00 FF 03 00 D6 C1 7E
Received
7E A0 11 61 03 96 EF 7E E6 E7 00 C4 01 C1 01 09 29 2D 7E

Regards,

Profile picture for user Kurumi

Kurumi

8 years 11 months ago

How to write voltage threshold in HPL 3 Phase Meter

Hi,

I believe that you should ask from meter manufacturer from this.
I believe that this is not fully implemented.

BR,

Mikko

selvamurugan

8 years 1 month ago

In reply to How to write voltage threshold in HPL 3 Phase Meter by Kurumi

HPL EB METER TYPE: PPEM 26

Hi Kurumi,

I am using HPL EB METER.I am trying to format the data which are coming out from the EB meter serially.I can able to receive data from the serial terminal. I am using below-mentioned cmd to get the response.

Reuest:
7E A0 0A 00 02 04 01 41 93 22 D0 7E

Response
7E A0 21 41 00 02 04 01 73 1E 06 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E

Here I would like to know which is indicating R, Y, B voltages, current, other parameters.
I am also searching some user manual on the internet

Profile picture for user Kurumi

Kurumi

8 years 1 month ago

HPL EB METER TYPE: PPEM 26

Hi,

I have answered your question here:
https://www.gurux.fi/node/6967

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

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin