Back up data

This function saves the PLC runtime system (firmware) of the controller and additionally the project data on the SD card to a USB stick.
 
–
Only use suitable USB sticks for the controller!
Due to their shape, some USB sticks may not be able to be inserted deep enough into the USB socket of the controller. This can cause problems that do not always suggest the USB stick as the cause.
 
–
Do not switch off the device during data backup and do not remove the USB stick from the device!
Observe the status display of the yellow LED "STA". Status LEDs 
 
–
The device command "Parameter backup" (0x2022:040) automatically causes an inserted USB stick to be mounted, regardless of the setting in 0x5902:001.
 
 
 
Preconditions
–
USB stick with at least 365 MB free memory
 
–
The entire SD card is backed up, except for the "firmware" and "License" directories. The remaining project data on the SD card must not exceed the maximum memory size of 165 MB.
 
How to save PLC runtime system (firmware) and project data on a USB stick:
1.
Insert the USB stick into the port of the controller from which a data backup is to be created (USB port 1 X61 or USB port 2 X62).
 
2.
Execute the "Backup" device command, e.g. with »PLC Designer«: Set 0x2022:040 to "1: On / Start".
The data backup progress is shown in 0x2022:040. After the process is completed, the status "0: Off / Ready" is displayed in 0x2022:040.
 
3.
Remove the USB stick.
 
PLC runtime system (firmware) and project data are now saved on the USB stick.
 
Parameter
Address
Name / setting range / [default setting]
Information
0x2022:040
Device commands: backup
–
Settings can only be changed if the PLC application is not in the "Running" status.
 
–
Setting can only be changed if application status (displayed in 0x5810:001) is not equal to "1: Running".
 
–
When the device command has been executed successfully, the value 0 is shown.
 
–
Do not switch off the power supply and do not remove the USB stick and SD card from the controller while the data backup is running!
 
0
Off / ready
Only status feedback
1
On / start
Execute device command
2
In progress
Only status feedback
3
Action cancelled
4
No access
5
No access (Device disabled)
20
20%
40
40%
60
60%
80
80%
100
100%
101
No SD card connected
102
SD card is write protected
103
SD card is full
104
USB stick not mounted
105
Backup file on USB stick wrong, double or in the wrong path
106
USB stick is full
107
Device no memory space left
108
Firmware size too large
109
User data size too large
110
Up/Downgrade successful - remove USB stick and restart the device
111
Application is still running - stop application first
112
Other device command active - wait for end of execution
113
Error - see Logbook for details