an attempt is made to restore the non-volatile SIMOTION data content. If the new file is
successfully created, the backup copy of the backup file is deleted.
NOTICE
Loss of data due to failure to make backup copies
Back up the non-volatile SIMOTION data on the CFast card.
Non-backed-up non-volatile SIMOTION data can be lost on hardware replacement (module
defect). For example, failing to back up the current values of the retain variables will result in
them being lost and reset to their initial values.
NOTICE
Homing required again after absolute encoder overflow
If an absolute encoder overflow occurs after _savePersistentMemoryData, the actual position
value is no longer correct after the non-volatile data is restored. In this case, homing (absolute
encoder adjustment) must be repeated.
8VHUGDWD
&XUUHQWGDWD
.HUQHOGDWD
5HWDLQGDWD
2SHUDWLQJV\VWHP
6,027,21b3
)LUPZDUH
6,027,21b3
6WRUDJHPHGLD
6WRUDJHPHGLXP
LQWHUQDO
66'
&)DVWFDUG
&)DVWFDUG
6WRUDJHPHGLXP
H[WHUQDO
%DFNXSV
6,027,213
65$0
5$0
Figure 10-9 Save retain data
10.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 a general reset has been performed on the CPU. This means
that the user can perform a general reset to force the data to be reloaded.
Condition for restoring 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.
Commissioning (software)
10.8 Data storage concept
SIMOTION P320-4 E / P320-4 S
Commissioning and Hardware Installation Manual, 11/2016
167