Skip to main content

Transferring Projects

If you want to transfer a project to another computer and connect from there to the same PLC without requiring an online change or download, then note the following points.

  • Make sure that the project requires only fix versions of libraries (exception: interface libraries), visualization profile, and compiler.

  • Make sure that the boot application is up-to-date.

Then create a repository which you unpack on the other computer.

Transferring a project to another system

Requirement: A project is open on computer "PC1" which you transfer to another computer "PC2" and from there connect again to the same controller.

  1. Make sure that only libraries with fix versions are included in the project (exception: pure interface libraries). To do this, open the Library Manager and check all entries that have a "*" instead of a fix version number.

    Note

    In compiler version 3.5.18.0 and later, the library profile is ignored for placeholder resolution. The libraries which are contained in the profile automatically become free placeholders. The option to include the library profile in the repository is no longer available.

  2. Make sure that a fix compiler version is set in the project settings. To check this, click Project → Project Settings and then the Compiler Option category.

  3. Make sure that a fix visualization profile is defined in the project settings. To check this, click Project → Project Settings and then the Visualization Profile category.

  4. Make sure that the application which is currently open is the same as the one which is currently being used on the PLC. This means that the "boot application" has to be identical to the project in the programming system. To do this, check the project name in the title bar of the programming system window: If an asterisk is displayed after the name, then the project has been changed but not saved yet. Then application and boot application may not match.

    In this case, first create a (new) boot application. It depends on the PLC and the application properties whether or not this happens automatically when loading (download) the application. To create explicitly, click Online → Create Boot Application. Then click Online → Login and Online → Download to perform a download.

    After that, click Debug → Start to start the application on the controller.

    Now the desired application is running on the PLC to which you want to connect again later on PC2 from the same project.

  5. Create a project archive: Click File → Project Archive → Save/Send Archive. In the Project Archive dialog, also select the following information:

    • Download information files

    • Library profile (no longer available as of compiler version 3.5.18.0)

    • Referenced devices

    • Referenced libraries

    • Visualization Profile

    Save the project archive to a location which is accessible from PC2.

  6. Log out of the controller: To do this, click Online → Logout. You can stop and restart the PLC without hesitation before reconnecting from PC2.

  7. Extract the repository to PC2: Click File → Project Archive → Extract Archive and open the archive which was saved above. In the Extract Project Archive dialog, select the same information as described above when creating the archive.

  8. Open the project and log back in to PLC "xy".

    CODESYS does not require any online change or download; the project is running.