How to write voltage threshold in HPL 3 Phase Meter

16 posts / 0 new
Last post
Goutam
How to write voltage threshold in HPL 3 Phase Meter

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

kurumi
kurumi's picture
How to write voltage threshold in HPL 3 Phase Meter

Hi,

Do you mean Limiter object?

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

Goutam
How to write voltage threshold in HPL 3 Phase Meter

Hi,

Both Register monitor and limiter object.

Regards,

Goutam

kurumi
kurumi's picture
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

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

Goutam
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

Goutam

kurumi
kurumi's picture
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

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

Goutam
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.

Goutam

kurumi
kurumi's picture
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

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

Goutam
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,

Goutam

kurumi
kurumi's picture
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=C101C100150100200700FF020001...

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

Goutam
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,

Goutam

kurumi
kurumi's picture
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

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

Goutam
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,

Goutam

kurumi
kurumi's picture
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

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

selvamurugan
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

kurumi
kurumi's picture
HPL EB METER TYPE: PPEM 26

Hi,

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

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org