Evaluating via system variables
The system variables in the device.persistentDataPowerMonitoring structure indicate the state
of the non-volatile SIMOTION data and the battery.
Table 5-5
State of the non-volatile SIMOTION data and battery
System variable
Designation
State
Updating
powerFailure
Buffer voltage
(SuperCap or
battery) too low,
possible data
loss of the real-
time clock
NO (91)
YES (173)
"YES" was set at too low a
buffer voltage when power‐
ing up; status needs to be
reset to "NO" via the appli‐
cation; the state remains
even after power off/on.
rtcFailure
(as of V4.3)
Indicates that
the clock con‐
tents (RTC) are
invalid (clock
must be set
again)
NO (91)
YES (173)
Is updated once during
power-up; status must be
reset to "NO" via the appli‐
cation; the state is retained
even after power off/on.
retainDataFailure
(as of V4.3)
Indicates a
checksum error
of the non-vola‐
tile SIMOTION
data; can be an
indication of de‐
fective HW
NO (91)
YES (173)
Is updated once during
power-up; status must be
reset to "NO" via the appli‐
cation; the state is retained
even after power off/on.
persistentDataState
Reading the per‐
sistent data
See the table below,
"State of non-volatile
data following power-
up."
During power-up
warningBatteryVoltage Lev‐
el1
1)
Battery voltage
below the pre‐
warning level
NO (91)
YES (173)
During a state change, re‐
mains set if Level 2 is
reached
warningBatteryVoltage Lev‐
el2
1)
Battery voltage
below the warn‐
ing level
NO (91)
YES (173)
During a state change
1)
Both battery warning levels are set under the following conditions:
- The fan/battery module is present and the battery has been inserted, but the battery voltage is
below warning level 2
- The fan/battery module is present, but no battery has been inserted
- The fan/battery module is not present (not permissible on D4x5-2)
The system variable device.persistentDataPowerMonitoring.powerFailure = YES indicates
that the buffer voltage of the SuperCap or the battery was too low after switching on.
With .powerFailure = YES and .persistentDataState = FROM_RAM, only a possible data loss
of the real-time clock displayed for the SIMOTION D4x5-2 (and not also a possible loss of the
non-volatile SIMOTION data as for the SIMOTION D4x5). The non-volatile SIMOTION data is
not lost, but the data from the NVRAM will still be used.
As of SIMOTION V4.3, a data loss of the real-time clock is signaled via the system variable
device.persistentDataPowerMonitoring.rtcFailure = YES.
Commissioning (hardware)
5.3 User memory concept
SIMOTION D4x5-2
112
Commissioning and Hardware Installation Manual, 03/2018, A5E33441636B