Dear,
We want to parse the LP entries received as push messages. We are using the XMLTranslator to translate the received message into XML and converting it into GXDLM objects.
When we try to set the time using the ValueEventArgs only the time is set and the deviation is ignored.
We don't know if this is a bug or limitation. As per blue book if we set the time the meter has to populate other values based on the time, does this also apply while reading the time.
If the GXDLMSClock is designed to set only the time while setting the attribute 2 is there any other method which can be used without explicitly reading the deviation and setting it. I do understand that the deviation which we get from the meter will be a combination of timezone and deviation.
The behaviour is the same while reading the load profile profile generic object from HES.
Below is an extraction of the code snippet. (Logical name, Object type, attribute index, data index and value are extracted from the XML. Have hardcoded for easier interpretation).
GXDLMSObject obj = GXDLMSClient.createObject(ObjectType.CLOCK);
obj.setLogicalName("0.0.1.0.0.255");
ValueEventArgs e = new ValueEventArgs(obj, 2, 0, null);
e.setValue(Util.hex2ByteArray("07E307130507000015FF8880"));
obj.setValue(null, e);
Hi,
Hi,
Meter deviation is wrong (0xFF88). Check that and try to change that to the meter or ask meter manufacturer to fix it.
BR,
Mikko