Skip to main content

Compatibility with CODESYS 4

The file-based storage format is shared by two products: CODESYS File-Based Storage (based on CODESYS 3) and CODESYS 4.

. The compatibility between the two products is limited to the following range of functions:
  • Only libraries: Only libraries (.fbslib) are exchanged between the two products. Development projects (.fbsproj) are not compatible.

  • Only structured text: Within a library, only objects in structured text are compatible. Objects in other languages are not exchanged between the two products.

  • 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 CODESYS File-Based Storage stores, are not used by CODESYS 4. These fields are optional in the format. When CODESYS File-Based Storage reads a library written by CODESYS 4, a new object GUID will be created. It is assumed that the object has no properties.

Restrictions of the Library Manager

In the Library Manager of CODESYS 4, library references are supported which are not be supported by CODESYS File-Based Storage (based on CODESYS 3).

  • Relative path references: A library which is referenced via a relative path can be resolved in CODESYS 3.

  • Unsupported reference versions: In CODESYS 4, library reference versions are permitted in a form that cannot be represented in CODESYS 3. A valid CODESYS 3 version has one of the following forms:

    • A semver with 2 to 4 numeric components (example: 3.5.17.0)

    • A placeholder as the last component (example: 3.5.*)

    • The value = for the same version as the container

When CODESYS File-Based Storage opens a library which uses one of these features, the problem will be reported in the notification view. The library will be opened in read-only mode so that the original files on the hard drive are not overwritten.