Control unit offers interface to update firmware image. When firmware is updated it is downloaded to flash. When system boot up it checks if there is valid firmware image on the flash and starts to use it. New firmware is always downloaded to different location than current firmware. Firmware image must have made correctly before system accepts it and starts to use it. If there is corruption in image system doesn't accept is but uses the current one.
To use this method one needs correct firmware image name of which is FIRMWARE.BIN.
When one has this file it can be updated by using following steps.
Open Codesys IDE
Go login to control unit
Open from Codesys menu Online -> Write File To PLC
Choose file FIRMWARE.BIN and click open
Reboot system
In reboot system tries to use downloaded firmware.
Going login and reading file (Online -> Read File from PLC) it is possible to read version info file from which it is possible to check used firmware version.
Write binary file FIRMWARE.BIN to subindex 1F50sub11h by using some default CANopen tool.