Import a Library Function Block into a TIA Portal Project
To import a TeSys™ island library function block, follow these steps:
-
Open the Siemens® TIA Portal project where you want to import the function blocks.
-
In the Library pane of Siemens TIA Portal, locate the TeSys™ island function block library and click Open.
-
From Master Copies, select the subfolder appropriate for the PLC type you are using (“DBs S7-1200” for Siemens SIMATIC S7-1200 PLCs, “DBs S7-1500” for Siemens SIMATIC S7-1500 PLCs) and drag the data block “ConstTeSysIsland” contained in it to the Program Blocks folder in the project tree. The global data block (DB) with constants relevant to the TeSys™ island function blocks is created in the project.
-
From Types, select the UDT folder and drag the contents to the PLC data types folder in the Project tree . The UDTs are imported into the project.
-
Select any function block types required for the avatars and the functionality you want for your project in the Types folder. Drag and drop the function blocks to the Program blocks folder in the Project tree. You can also import complete folders of function blocks.
-
The imported items should now be listed in the Project tree as shown in the illustration below.