Vai al contenuto

Importing from a Library or Another Source

You can import an object from a library in order to use it in the current project. When you import an object from a library, the local copy of the object loses its reference to the original library and it belongs exclusively to the current project. Therefore, you can edit imported objects, unlike objects of included libraries.There are two ways of getting a POU from a library. The following procedure shows you how to import objects from a library.
  • Click Project>Import object. This causes an explorer dialog box to appear, which lets you select the library file of the library you want to open.
  • When you have found the library file, open it either by double-clicking it or by pressing the Open button. The dialog box of the library explorer appears in foreground. Each tab in the dialog box contains a list of objects of a type consistent with the tab’s title.
Importing from a Library or Another Source-image_0
  • Select the tab of the type of the object(s) you want to import. You can also make simple queries on the objects in each tab by using Filters. However, note that only the Name filter actually applies to libraries. To use it, select a tab, then enter the name of the desired object(s), even using the * wildcard, if necessary.
  • Select the object(s) you want to import, and then click the Import object button.
  • When you have finished importing objects, click indifferently OK or Cancel to close the Library browser.