10.8.4
Single backups
10.8.4.1
Overview
The backup options described in the following section can be used to back up and restore
retain variables, retain TOs, unit variables and global device variables.
If the consistency check results in an SRAM error (because of a power failure if the battery
has fallen below the threshold value) or the SIMOTION P320‑4 is replaced, the backup can
be used to restore the contents of the SRAM.
A user program can use system functions to initiate a backup.
Unit variables and global device variables can be backed up from the RAM to allow them to
be recovered in the event of a power failure, for example.
This allows the initial state of the machine (reference points, sensor values, …) to be restored.
Detailed information about the individual backup options can be found under:
● Backup/restore SRAM (Page 165)
● Backing up non-volatile SIMOTION data (retain data) (Page 166)
● Restoring non-volatile SIMOTION data (retain data) (Page 167)
● Backing up unit variables and global device variables (Page 168)
10.8.4.2
Back up/restore SRAM
The correct shutdown of Windows automatically initiates Terminate SIMOTION P (SIMOTION
P State). This automatically saves the retain data from the SRAM to the external CFast card.
6WRUDJHPHGLXP
LQWHUQDO
66'
&)DVWFDUG
&)DVWFDUG
6WRUDJHPHGLXP
H[WHUQDO
6,027,21b3
6WRUDJHPHGLD
2SHUDWLQJV\VWHP
6,027,21b3
)LUPZDUH
%DFNXSV
5HWDLQGDWD
.HUQHOGDWD
&XUUHQWGDWD
8VHUGDWD
5$0
65$0
6,027,213
Figure 10-7 Saving SRAM with Terminate SIMOTION P
A consistency check of the SRAM is performed at each SIMOTION power-up. If an error is
detected here, the SRAM data will be restored from the backup.
If, for example, the SIMOTION P320‑4 needs to be replaced, this backup/restore mechanism
allows the data to be transferred to the SIMOTION P320‑4.
Commissioning (software)
10.8 Data storage concept
SIMOTION P320-4 E / P320-4 S
Commissioning and Hardware Installation Manual, 11/2016
165