Skip to main content

Library Formats

A library can exist in various formats. The formats differ in two characteristics. The first characteristic is whether the format contains editable source code or a compiled form. The second characteristic is whether the library is a folder or a single file. The format determines how the library is handled. A source library is loaded into the workspace for editing. A compiled library is only integrated.

Library Format

Ending

Contents

Editing

Source library project

.fbslib

Source code as CODESYS 4 project; folder

Editable

Source library Archive

.fbslib.zip

Zipped source code of a source project

Write-protected

Compiled library

.compiled-library-v3

Compiled library; compatible withCODESYS 3

No source code

-

Packed source library

.fbslibpack

Source library in file-based storage format; single file

Created and read by CODESYS 4

-

A source library project .fbslib/ is a folder containing the source code as a CODESYS 4 project. When it is referenced via a relative path, it is loaded into the workspace as a fully editable project. Use this format during development. A source library archive .fbslib.zip combines the same source code into a single, read-only loaded file. A compiled library .compiled-library-v3 contains the compiled library without source code and is compatible with CODESYS 3. A packed source library .fbslibpack contains a source library in file-based storage format as a single file. It is read and created by CODESYS 4. In the CODESYS 3 IDE, the CODESYS File-Based Storage add-on is required for this format.