Command ‘Add Library’

Function: This command opens the Add library dialog. In this dialog, you can add libraries to the library manager and then link them to your application.

Call: Menu bar: Library.

Requirement: The library manager is open in the editor.

Dialog ‘Add library’

In the line above the library list, you can search for library names or library modules by typing an appropriate string.
Library List of all the libraries installed in the library repository grouped in categories
Company Creator of the library
Advanced Opens the advanced dialog.

Note

Specific libraries can be blacklisted in a device description. These libraries cannot be added below this device in the library manager.

See also

Dialog ‘Add library’ – ‘Advanced’

You should use this dialog only if you have expert knowledge of library referencing. Using this dialog, you can link special versions or change placeholder definitions.

Note

We recommend seriously that you follow the guidelines for the creation of libraries when developing and referencing libraries.

Tab ‘Library’
Company Filtering the list according to vendor.
Group by category

cab383442a7a332cc0a8640e00d16ef2_9a3f06830c0506c5c0a8640e012f0ace : Display of the libraries in a tree structure grouped in categories.

cab383442a7a332cc0a8640e00d16ef2_4681610f0c058035c0a8640e0049916a : Display of the libraries in alphabetical order in a flat structure.

Display all versions

cab383442a7a332cc0a8640e00d16ef2_9a3f06830c0506c5c0a8640e012f0ace : Display of all versions of the libraries. Version specification ‘*’ means the latest version available in the repository.

cab383442a7a332cc0a8640e00d16ef2_4681610f0c058035c0a8640e0049916a : Display of only the latest versions of the libraries. A multiple selection of libraries is possible in this view. To do this, hold down the Shift key and click to make your selections.

Details Opens a detailed view with the library modules.
Library repository Opens the dialog Library repository. There you can install more libraries to your local system.
Tab ‘Placeholder’
Placeholder name The input field provides a combo box for entering the valid placeholder names that are read from the currently accessible device descriptions. You can also enter a new placeholder name in order to define a free placeholder, which is not resolved by the device or by the library profile.
Standard library CODESYS uses this library when for any reason no device is available that the resolution defines. In this way it is possible to compile the current project without errors.

Note

:strong:Note about placeholder resolution

Regarding compiler version V3.5.8.0 and later: In the case of library placeholders that have a trigger in the device description and that located in the library manager of the POUs pool, the placeholder is always triggered automatically according to the description of the device for which the application is compiled.

See also