Commissioning (software)
9.8 Data storage concept
9.8.4.4
Restoring non-volatile SIMOTION data (retain data)
The backup of the non-volatile SIMOTION data (variables declared as retain) is restored in
the memory if a data inconsistency is detected after a power failure (the backup battery has
fallen below a threshold value) or an overall reset has been performed. This means that the
user can perform an overall reset to force the data to be reloaded.
Condition for the restore is that the PMEMORY.XML file is present on the external CFast card
and the content of this backup file matches the project on the external CFast card.
Figure 9-10
Note
In the event of a power failure of the SIMOTION P320-4, the retain data in PMEMORY.XML
will not be restored automatically.
Note
If a data inconsistency exists at the power failure because the backup battery has fallen below
a threshold value, the data backup from PMEMORY.XML will be written back into the SRAM.
9.8.4.5
Save unit variables and global device variables
Unit variables and global device variables are never retentive; the data will be lost in the event
of a power failure.
If the unit variables and global device variables which have not been declared as retain
variables are to be recovered after a power failure, the user program can use system functions
to save this data to data sets (files on the external CFast card).
106
Restore retain data
SIMOTION P320-4 E / P320-4 S
Commissioning and Hardware Installation Manual, 01/2015