Converting a Project
In CODESYS, open the binary project
.projector the binary library.librarywhich you want to convert.Select the Convert Project command.
In the Browse input field, select or create the destination folder for the file-based project.
If a folder or file with the same name already exists, then a conflict will be reported and the conversion will not continue.
The conversion will be aborted.
If the destination folder is not empty, then you will be prompted to delete the folder before continuing.
Important
The destination folder must be empty.
If the project has contents which do not match the file-based format, then the Convert project to file-based storage dialog will open.
Check the reported problems there line-by-line. For more information, see the following: Command: Convert Project
In case of an error, run the available quick fix. To do this, click the line containing the respective problem in the Fix column. Conversion is only possible when all errors have been fixed.
Click the OK button to start the project conversion and close the dialog.
The project will be converted and the progress will be displayed. The conversion cannot be canceled after it has started.
The project will now be opened as an FBSPROJ file in the programming tool and as a result saved in a file-based format. Select the Open Folder in File Explorer command to track this.
Common Problems
Common problems and their quick fixes:
Problem | Quick fix |
|---|---|
An object or folder name exceeds the length limit. | Rename the object or folder. |
A name contains invalid space characters. | Remove the space characters from the object name. |
A name contains unsupported characters. | Remove the unsupported characters from the object. |
A declaration ends with an unsupported semicolon. | Remove the trailing semicolon. |
The project is encrypted. | Disable project encryption. |
The project integrity check is enabled. | Disable the project integrity check. |
A device description is not installed. | Download the missing device description. |
Adapting a project for conversion
Some problems cannot be fixed automatically and are reported for informational purposes only. Examples include an unsupported method overload or two libraries with the same namespace. Fix these kinds of problems in the project and then run the conversion again.