Converting a Project
CODESYS 3 and CODESYS 4 share the same runtime system and the same file-based storage format. Because of this, libraries can be exchanged between the two products. Device projects cannot be exchanged.
The following table shows what can be applied in which direction.
Object | CODESYS 3 to CODESYS 4 | CODESYS 4 to CODESYS 3 |
|---|---|---|
Compiled library | Yes | Yes |
Source library | Yes, with restrictions | Yes, with restrictions |
Device project | No | No |
The following restrictions apply to exchanging a source library:
Structured Text only
Objects in other programming languages cannot be exchanged.
Object types
Some object types are still not supported by CODESYS 4. An object of an unsupported type cannot be stored in CODESYS 4.
Object metadata
The object GUID and the object properties, which the CODESYS File-Based Storage add-on stores, are not used by CODESYS 4. These fields are optional in the format.
Exchange using the CODESYS File-Based Storage add-on only
To exchange libraries, the CODESYS File-Based Storage add-on must be installed in CODESYS 3. Without the add-on, the file-based format is neither read nor written in CODESYS 3.
A valid license for the add-on is also required. Without a valid license, a file-based project will be opened in read-only mode, save commands will be disabled, and a notification about the missing license will be displayed in the status field.
For more information, see the following: Library Formats