RS-485 Meter Time encoding differences for V3 and V4 meters?
Posted: Thu May 25, 2017 11:24 am
Hi there,
I'm parsing data from RS-485 reads for both V3 and V4 meters, and hope you can clarify how to treat meter_time. In the RS-485 Parsing PDF for V3 meter I see:
14B Time (02/17/2011, Thursday, 11:46:37)
31 31 30 32 31 37 30 35 31 31 34 36 33 37
So is this 1102 = the year backwards... would 2012 therefore be 32 31 30 32 or 31 32 30 32 ? I can see how to decode 11:46:37 from 31 31 34 36 33 37, but I'm not sure how to arrive at 02 17 for the month and day from 31 17 30 35 which is 17/05? Is this a mistake in the V3 PDF file, or am I interpreting it incorrectly?
The PDF that I have for V4 meters shows the following for meter_time in request type A:
Date/Time (14B)
31 31 34 30 37 31 35 32 32 33 33 30 30 30
with no example decoded date value.
Similarly for request type B on a V4 meter I see:
Date/Time (14B)
31 31 34 30 37 31 36 33 32 35 31 30 30 30
also with no hint at what value this contains.
Am I correct to assume that V3 and V4 meters encode these dates differently? If anyone can provide a breakdown of where YYYY MM DD HH mm ss values are in the above, I would be very grateful.
Thanks,
Simon.
I'm parsing data from RS-485 reads for both V3 and V4 meters, and hope you can clarify how to treat meter_time. In the RS-485 Parsing PDF for V3 meter I see:
14B Time (02/17/2011, Thursday, 11:46:37)
31 31 30 32 31 37 30 35 31 31 34 36 33 37
So is this 1102 = the year backwards... would 2012 therefore be 32 31 30 32 or 31 32 30 32 ? I can see how to decode 11:46:37 from 31 31 34 36 33 37, but I'm not sure how to arrive at 02 17 for the month and day from 31 17 30 35 which is 17/05? Is this a mistake in the V3 PDF file, or am I interpreting it incorrectly?
The PDF that I have for V4 meters shows the following for meter_time in request type A:
Date/Time (14B)
31 31 34 30 37 31 35 32 32 33 33 30 30 30
with no example decoded date value.
Similarly for request type B on a V4 meter I see:
Date/Time (14B)
31 31 34 30 37 31 36 33 32 35 31 30 30 30
also with no hint at what value this contains.
Am I correct to assume that V3 and V4 meters encode these dates differently? If anyone can provide a breakdown of where YYYY MM DD HH mm ss values are in the above, I would be very grateful.
Thanks,
Simon.