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.
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.
Make sure that a fix compiler version is set in the project settings. To check this, click Compiler Option category.
and then theMake sure that a fix visualization profile is defined in the project settings. To check this, click Visualization Profile category.
and then theMake 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
. Then click and to perform a download.After that, click
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.
Create a project archive: Click Project Archive dialog, also select the following information:
. In theDownload information files
Library profile (no longer available as of compiler version 3.5.18.0)
Referenced devices
Referenced libraries
Save the project archive to a location which is accessible from PC2.
Log out of the controller: To do this, click
. You can stop and restart the PLC without hesitation before reconnecting from PC2.Extract the repository to PC2: Click Extract Project Archive dialog, select the same information as described above when creating the archive.
and open the archive which was saved above. In theOpen the project and log back in to PLC "xy".
CODESYS does not require any online change or download; the project is running.