Supported platforms: CODESYS 2.3, CODESYS 3.5
Login to the control unit: Online > Login
Reset the control unit: Online > Reset
Write FIRMWARE.BIN file to the control unit: Online > Write file to PLC
Power reset the control unit.
When the control unit starts up, the LED light flashes red and green alternately as an indicator that the new firmware is taken into use. The first boot-up after downloading the new firmware can take 15-25 seconds.
The firmware can be updated through CAN by another CANopen device.
Check that you have a valid firmware binary which typically is FIRMWARE.BIN
Send an SDO message to stop the CODESYS runtime. Write 4 (1 byte) to index 1025h sub1.
Write firmware image to index 1F50h sub-index 2h. It is recommended to use SDO block transfer which is faster than the segmented transfer for a large set of data.
Power reset the control unit.
When the control unit starts up, the LED light flashes red and green alternately as an indicator that the new firmware is taken into use. The first boot-up after downloading the new firmware can take 15-25 seconds.
For more information about SDO block transfer, refer to CiA DS301 (chapter 9.2.2 Service Data Object (SDO)).
The firmware can be updated through CAN by another CANopen device (SDO block transfer and normal (segmented) transfer supported).
Step |
CANopen data |
Description |
1 |
Download firmware binary file Available indices: index 1F50h sub-index 2h (encrypted firmware) index 1f50h sub-index 3h (application) index 1f50h sub-index 7h (secondary application) |
Stops unit and makes possible to download binaries to unit. It is possible to exit this state only by rebooting unit. |
2 |
After downloading wanted binaries, reboot unit. Two possibilities for reboot: Make power on boot (or) For firmware 1.3.0.0 or newer, it is possible to reboot unit by writing string ResetUnit to index 1f50 sub-index FCh |
If new firmware is downloaded, it is taken into use in the next reboot. During this process, the led blinks red/green in startup after which it starts to blink green with 5Hz / 2Hz, depending on the application state. |
For more information about SDO block transfer, refer to CiA DS301 (chapter 9.2.2 Service Data Object (SDO)).
Source file topic10030793.htm
Last updated 4-Sep-2025