Using the library manager, Standard library, User-defined libraries – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 406: L-force | plc designer

Advertising
background image

L-force | PLC Designer

The Resources

404

DMS 3.2 EN 02/2011 TD29



8.5.1

Using the Library Manager

The window of the library manager is divided into three or four areas by screen
dividers. The libraries attached to the project are listed in the upper left area.

In the area below that, 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.

8.5.2

Standard Library

The library with "standard.lib" is always available. It contains all the functions and
function blocks which are required from the IEC61131-3 as standard POUs for an IEC
programming system. The difference between a standard function and an operator is
that the operator is implicitly recognized by the programming system, while the

standard POUs must be tied to the project (standard.lib).

The code for these POUs exists as a C-library and is a component of »PLC Designer«.

8.5.3

User-defined Libraries

If a project is to be compiled in its entity and without errors, then it can be saved in a
library with the 'Save as' command in the 'File' menu. The project itself will remain
unchanged. An additional file will be generated, which has the default extension ".lib".
This library afterwards can be used and accessed like e.g. the standard library.

For the purpose to have available the POUs of a project in other projects, save the
project as an Internal Library *.lib. This library afterwards can be inserted in other
projects using the library manager.

Note!

Regard the possibility to define via pragmas to what extent the declaration part of
the library should be visible in the Library Manager when the library has been
included in a project. ("Concealing of variable declarations").

Advertising