Hi
I am trying to set capture period for the HAN port P1 on a Star meter (obis code 0.0.21.0.0.255).
Reading the period works just fine using GXDLMSProfileGeneric, however when I try to set it I get " Device reports a unavailable object."
var gxDlmsObject = new GXDLMSProfileGeneric("0.0.21.0.0.255");
GxDlmsClient.Write(profile, 4);
Data sent and received:
Write 21 bytes, 00-01-00-01-00-02-00-0D-C0-01-41-00-08-00-00-01-00-00-FF-08-00
Received 14 bytes, 00-01-00-02-00-01-00-06-C4-01-41-00-03-00
Correct code should be:
var gxDlmsObject = new GXDLMSProfileGeneric("0.0.21.0.0.255");
gxDlmsObject.CapturePeriod = newCapturePeriod;
GxDlmsClient.Write(profile, 4);
You can close this issue. Turned out there is some issue with the particular meter we tested against. When testing against a different the code above worked perfectly well.
Data sent and received:
Data sent and received:
Write 21 bytes, 00-01-00-01-00-02-00-0D-C0-01-41-00-08-00-00-01-00-00-FF-08-00
Received 14 bytes, 00-01-00-02-00-01-00-06-C4-01-41-00-03-00
Correct code should be:
Correct code should be:
var gxDlmsObject = new GXDLMSProfileGeneric("0.0.21.0.0.255");
gxDlmsObject.CapturePeriod = newCapturePeriod;
GxDlmsClient.Write(profile, 4);
You can close this issue.
You can close this issue. Turned out there is some issue with the particular meter we tested against. When testing against a different the code above worked perfectly well.
Thank you
Hi,
Hi,
Thank you from this info.
BR,
Mikko