HowTo - CODESYS Project Update - v1.00
HowTo - CODESYS Project Update - v1.00
HowTo - CODESYS Project Update - v1.00
5 project update
[Update of a CODESYS project to a higher device version]
Detailed description
This HowTo document explains the necessary steps to update an existing CODESYS v3.5 project to a
new device version. In this case here the CODESYS runtime on the device has been updated to a
newer Service Pack version. That requires of course also a new CODESYS Package and a new
CODESYS programming environment version.
Keywords
CODESYS, Package, DeviceDescription, Project update, Migration, new Version
1.2 Specifications
1.2.1 Hardware
List of used Hardware and their firmware versions.
1.2.2 Software
2.1 Introduction
This HowTo describes the project update of an existing CODESYS 3.5.8.10 project to the new
CODESYS version 3.5.12.10. using the example of the BL20-PG-EN-V3. In case of the BL20-PG-EN-V3
the Package has changed from version 1.0.5.0 (firmware v1.0.7.0) to version 1.1.5.0.
old FW new FW
Material Type
SP6/SP8 SP11/SP12
6814018 TBEN-L5-PLC-10 v1.0.3.0 V1.1.4.0
100000272 TBEN-L5-PLC-11 v1.0.3.0 V1.1.4.0
6814019 TBEN-L4-PLC-10 v1.0.3.0 V1.1.4.0
100000273 TBEN-L4-PLC-11 v1.0.3.0 V1.1.4.0
6827394 BL67-PG-EN-V3 v1.0.7.0 V1.1.5.0
100000041 BL67-PG-EN-V3-WV v1.0.7.0 V1.1.5.0
6827393 BL20-PG-EN-V3 v1.0.7.0 V1.1.5.0
6827398 BL20-PG-EN-V3-WV v1.0.7.0 V1.1.5.0
6814120 TBEN-L5-4RFID-8DXP-CDS v1.0.1.0 V1.1.4.0
6814121 TBEN-L4-4RFID-8DXP-CDS v1.0.1.0 V1.1.4.0
100000960 TBEN-L5-4RFID-8DXP-CDS-WV -/- V1.1.4.0
Turck has prepared a script for the BLxx-PG-EN-V3 gateways for CODESYS which executes the
migration in the CODESYS project to the new device and package version within the new CODESYS
v3.5.12.10 programming environment. Such a script is not required to update the projects of the
TBEN-Lx-PLC or the TBEN-lx-4RFID CODESYS modules.
2.2 Requirements
These are the requirements to do the project update.
1. The PC has already the CODESYS programming environment version 3.5.8.10 and the PG-V3
package version 1.0.5.0 installed. The old package is only required for the update of PG-V3
projects using a script. It is not necessary for the TBEN-L-PLC or the 4RFID CODESYS module.
2. The new CODESYS programming environment version 3.5.12.10 needs to be installed on the
same PC
3. The new CODESYS package v1.1.5.0 must be installed within the Package Manager of the
programming environment version 3.5.12.10
To check the current version of a device node double click it to open the device information window.
There is always one tap called “Information” which shows among other things the current “Version”.
This example shows a part of the “Information” tap of the device itself which I the second node in the
project tree shown in the project tree above.
Attention:
If you start updating the nodes to the new version start always with the PLC device itself. All nodes
below may depend on the version of the PLC device!
If you execute the “Update device…” property a dialog window with a device list will show up.
This list shows per default always and only the newest version of each device. If you would like to
downgrade a device you have to enable the check box “Display all versions (for experts only)” first.
Select the version you would like to change or upgrade to and push the button “Update Device”. This
mechanism is also used to convert a project to a different PLC type.
1. Open the existing CODESYS project (in this example v3.5.8.10) with the new programming
environment version (here v3.5.12.10).
These are the steps to update a CODESYS project to a new device version using a script.
1. Open the existing CODESYS project (in this example v3.5.8.10) with the new programming
environment version (here v3.5.12.10).
Browse to the folder where the script has been saved and push the button “Open” to
execute the script.
The CODESYS script will update all main devices of the project tree to the correct new
version.
1. Unfortunately the migration does not save the IP-address, in case you set it under the device.
The setting of the IP-address needs to be done manually.