STATUS of a profile value

Avatar

sdg.matiaan
2013-04-04 10:51

Concerning the STATUS of a profile value:
the lower 7 bits are used to represent a NUMBER for the STATUS sample, that can mean different things for different meters.
the higher bits after that have generic meanings, and can be simultaneously set to mean more than one thing at the same time.
status constants. These can be bitwise orred in.
ST_UNDER_VOLTAGE = 128;
ST_OVER_VOLTAGE = 256;
ST_REVERSE_FLOW = 512;
ST_OVER_CURRENT = 1024;
ST_OVER_ENERGY = 2048;
ST_CALC_IMPORTED = 4096;
ST_CALC_INTERPOLATED = 8192;
ST_CALC_ALMOST_INTERPOLATED = 16384;
for the PRI, the lower 7 bits has this meaning:
ST_SET_TIME = 1;
ST_PROGRAMMED = 2;
ST_REVERSERUN = 4;
ST_PHASEFAILED = 8;

Avatar

sdg.matiaan
2013-04-04 11:27

For Elster the 7 bits currenly can only have the value 0 or 8.
0 meaning no event, and 8 meaning any of the following happened in that half hour:
METER_RESET
TIME_SYNC
DATA_MODIFY
BATTERY_FAIL
REVERSE_RUN
PHASE_FAILURE
You'll have to look at the event log to see which event happened.

Avatar

sdg.matiaan
2013-04-04 11:31

For EDMI Atlas and Genius the lower 7 bits mean:
0: no problem
1: missing readings
2: voltage problem
3: power failure start
4: incomplete readings

Avatar

sdg.matiaan
2013-04-04 11:36

For EnermaxPlus the lower 7 bits mean:
0:no problem
8:bad reading (as described in the enermax plus documentation)

Avatar

sdg.matiaan
2013-04-04 11:46

For Lands&Gyr the lower 7 bits are the status word returned by the meter when reading the profile.
0 means no problem.

Please log in to post a comment