Libraries: Inserting and Deleting

 

The 'Libraries' folder in the project tree contains the firmware libraries which have been added to the project. Libraries contain reusable func­tion blocks which are, for example, provided by the controller manufac­turer.

This topic describes how to add and delete libraries in the project tree. Basic information on the project tree and procedures for managing tree icons are described in the topic "Project Tree  - Overview".

Observe the following notes on libraries

How to include a library - 'Insert Library' dialog

  1. In the project tree, right-click the 'Libraries' folder and select 'Insert Library...' from the context menu.

    Or:

    Select 'Project > Add Library'.

  2. In the 'Insert Library' dialog select the desired library and click 'OK'.

The library icon appears in the project tree as shown in the following example for the included library 'SCBasic':

help0048.gif

How to delete included libraries

  1. Left-click the library you want to delete.

  2. Press the <Del> key.

  3. Confirm the deletion in the appearing message dialog.