Document toolboxDocument toolbox

Codesys Resolving Version Conflicts

The latest version of Codesys can be found at the following link.
https://kunbus-gmbh.atlassian.net/servicedesk/customer/portal/1/article/2687893508?src=486720661

If You cannot download your project to your device according to suspicious “version” error messages like, so you are right here:

 

Version conflict when downloading a project

If your CODESYS project was created in a different system version than the version installed on your RevPi device, you will receive the error message "Selected target system is different from the connected device!" when downloading the project.

The following error message indicates that the project was configured with CODESYS development environment version 4.1.0.0, but the CODESYS runtime system on the RevPi device has an older version, namely 4.0.1.0.

 

Solution: Update the runtime system on your RevPi device by following the procedure in the Install CODESYS Runtime section:

https://revolutionpi.com/tutorials/codesys-runtime-installieren-3/?noredirect=en_US

The development environment and the runtime system on your RevPi device must have the same version. 

Updating projects in the development environment

If you open a project that was created with an older version of the runtime system than the existing version of your development environment, the following window opens. In this case the project has version 3.5.16.0.

 

  • Click on "Set All to Newest" to update the runtime system to the recommended current version, in this case 3.5.17.0.

Device description is missing

This may be because a project has an older version of the runtime system, but you have installed a newer package of CODESYS Control for Raspberry Pi MC SL.

  • Select "Device" project tree.

  • Click on "Update Device".

 

Select the version of the CODESYS Control for Raspberry Pi MC SL package that is installed on your development system.

In this case it is version 4.1.0.0, while the sample project was from the older version 4.0.1.0.

  • Click on "Update Device".

Check the version of the runtime system on the RevPi device.

  • Click on "Tools".

  • Click on "Update Rasspberry Pi".

  • Enter your login data.

  • Click on "System info".

The version of the runtime system on your RevPi device is displayed.

 

Resolve conflicts in the libraries

If you have updated a project, you should check if this affects the libraries.

  • Click on "Library Manager".

  • Check if the required libraries are available and displayed in the Library Manager.

  • Check if there are version conflicts with the libraries.