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:
.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.
Company | Filtering the list according to vendor. |
Group by category |
|
Display all versions |
|
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. |
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
- Guidelines for Developing Libraries: guidelines
- Command ‘Placeholders’