Update firmware

This function enables the PLC runtime system (firmware) to be updated. The update can be carried out either by power switching the controller or using a device parameter.
 
–
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 update and do not remove the USB stick from the device! Observe the status display of the yellow LED "STA". Status LEDs 
 
 
 
Preconditions
–
Installed Lenze
»
EASY Package Manager
«
 
–
Installed Lenze
»
EASY Starter - Firmware loader
«
 
–
USB stick with valid firmware
 
 
General notes
–
It is possible to update to a higher or lower version.
 
–
Details of the update are entered in the logbook.
 
–
Firmware updates are indicated by the status LEDs on the controller:
 
"STA" LED (yellow/green)
Meaning
Process (Backup / Restore / Upgrade / Downgrade) is running.
Process (Backup / Restore / Upgrade / Downgrade) is complete.
 
General procedure
1.
Prepare USB stick.
 
2.
Insert USB stick into the controller.
 
3.
Restart the controller by power switching or execute "Start Up/Downgrade" device command.
 
 
Prepare USB stick
How to prepare the USB stick:
1.
If the firmware to be installed is not yet available on the engineering PC: Select and install firmware in the "EASY Package Manager".
 
2.
Copy the firmware to be installed to the USB stick with the "EASY Starter - Firmware loader".
 
The firmware is automatically stored in the directory "<USB-Stick>\firmware\active".
 
Updating the firmware by power switching
Preconditions
–
Parameter 0x5902:001 must be set to "Activated [1]".
 
–
With this setting, the USB stick is only mounted once at the next restart.
 
–
If the device command "Save user data" (0x2022:003) is also executed, the USB stick is backed up permanently (over several boot processes).
 
 
How to update the firmware by power switching:
1.
Insert the prepared USB stick into USB port 1 X61 or USB port 2 X62 of the controller.
 
2.
Restart the controller by power switching.
The selected firmware is loaded into the controller regardless of the version.
 
3.
Remove the USB stick.
 
4.
Finally, restart the controller by power switching.
 
The installation of the firmware via power switching is complete.
 
Updating the firmware via device parameters
With this procedure, the inserted USB stick is mounted automatically, regardless of the setting in 0x5902:001.
How to update the firmware using power switching:
1.
Insert the prepared USB stick into USB port 1 X61 or USB port 2 X62 of the controller.
 
2.
Execute the "Start Up/Downgrade" device command, e.g. with »PLC Designer«: Set 0x2022:047 to "1: On / Start".
The selected firmware is loaded into the controller regardless of the version. The progress of loading is displayed in 0x2022:047. After the process is completed, the status "0: Off / Ready" is displayed in 0x2022:047.
 
3.
Remove the USB stick.
 
4.
Finally, restart the controller by power switching.
 
The installation of the firmware using device parameters is complete.
 
Parameter
Address
Name / setting range / [default setting]
Information
0x2022:047
Device commands: Start Up/Downgrade
–
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 firmware is being updated!
 
0
Off / ready
Only status feedback
1
On / start
Execute device command
2
In progress
Only status feedback
3
Action cancelled
4
Action cancelled
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