Page 78/95
21January2021/Version 0
LEM International SA
Chemin des Aulx 8
1228 PLAN-LES-OUATES Switzerland
www.lem.com
For both
status
and
errors
, the
value
field shall be used as follows:
•
Flags are ordered in a binary word, from index 0.
•
Index 0 is the Least Significant Bit (LSB)
•
true
corresponds to value 1;
false
corresponds to value 0
•
If all flags are
false
,
value
fields equals 0.
•
Any flag being
true
adds
2^(flag index)
to the value.
See next figure.
Figure 45: Illustration of using
value
field, example for
status
register
7.5.3. Current status
The current status is available in the
/status
). It reflects the status of the DCBM
at any time. Associated conditions can raise the flags. Once the condition disappears, the
corresponding flag does too.
Figure 46: Status field persistence
#7 suMeasureFailureOccurred
#6 reversedVoltage
#5 overTemperatureIsDetected
#4 timeSyncStatusIsOk
#3 tamperingIsDetected
#2 transactionIsOnGoing
#1 muFatalErrorOccured
#0 suLinkStatusIsOk
0 1 0 0 0 1 0 0
LSB
transactionOngoing
0
1
Status value
Time
Nominal