Note:
"ServiceError Write exception. Service Unsupported" exception occured when using this step
GXDLMSClock gxClock = new GXDLMSClock();
gxClock.Time=DateTime.Now.AddDays(5)
grxComm.Write(gxClock, 2);
Result : ServiceError Write exception. Service Unsupported.
If you want to write object back you can do it like this:
GXDLMSClock c = GXDLMSClock("0.0.1.0.0.255");
//Read data:
GXDateTime tm = (GXDateTime) grxComm.ReadObject(c, 2);
//Write time back.
byte[][] data = grxComm.WriteObject(c, 2);
Note!
You usually need to connect using authentication if you want to update data.
If you connect with Authentication.None, meter reply error.
How to write DateTime in HPL 3 Phase Meter
Hi,
If you want to write object back you can do it like this:
GXDLMSClock c = GXDLMSClock("0.0.1.0.0.255");
//Read data:
GXDateTime tm = (GXDateTime) grxComm.ReadObject(c, 2);
//Write time back.
byte[][] data = grxComm.WriteObject(c, 2);
Note!
You usually need to connect using authentication if you want to update data.
If you connect with Authentication.None, meter reply error.
BR,
Mikko