Library Manager¶
The library manager shows all libraries that are connected with the current project. The POUs, data types, and global variables of the libraries can be used the same way as user-defined POUs, data types, and global variables.
The library manager is opened with the ‘Window’ ‘Library Manager’ command. Information concerning included libraries is stored with the project and can be viewed in the dialog ‘Informations about external library’. To open this dialog select the corresponding library name in the library manager and execute the command ‘Extras’ ‘Properties’.
Libraries created in CoDeSys can contain pragma instructions in the declaration part, which effect that when the library is included in a project, not the complete declaration part gets displayed (see Pragmas for Controlling the \ Display of Library Declaration Parts). Thus particular variable declarations or comments can be “concealed” from the user.
The window of the library manager is divided into areas by screen dividers. The libraries attached to the project are listed in the upper left area.
Depending on which register card has been selected, there is a listing of the POUs , Data types, Visualizations or Global variables of the library selected in the upper area. Folders are opened and closed by doubleclicking the line or pressing <Enter>.
There is a plus sign in front of closed folders, and a minus sign in front of opened folders.
If a POU is selected by clicking the mouse or selecting with the arrow keys then the declaration of the POU will appear in the upper right area of the library manager; and in the lower right is the graphic display in the form of a black box with inputs and outputs.
With data types and global variables, the declaration is displayed in the right area of the library manager.
See also: