Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 62411893, Entry date: 02/06/2019

What are the requirements to be met by know-how-protected blocks so that you can compile them also in other projects?

  • Entry
  • Associated product(s)
You cannot compile know-how-protected blocks if they are not released for use in a library.

Imported blocks with know-how protection can be compiled in STEP 7 (TIA Portal) without a password. However, here the blocks must be encapsulated functions or function blocks. When you program blocks that you also want to use in other projects, the data exchange between the blocks must always be via their interfaces. We recommend that you do not use project-specific data nor program access to the following objects:

  • Global data blocks
  • PLC tags and PLC data types
  • Global constants

Furthermore, we recommend the manual 
Programming Style Guide for S7-1200/S7-1500 

Check the know-how-protected blocks for reusability.

  1. Right-click the block and select the "Properties..." item in the pop-up menu.
  2. Select the "Compilation" item.

Under "Library conformance", if the "Status:" field has the entry "The object is library-conformant", you can compile the block in STEP 7 (TIA Portal).

Fig. 1

Know-how-protected blocks must be enabled for use in a library. If there is no reusability, the know-how-protected block has the accesses mentioned above in the program. In this case, prior to compilation you must also add to your project the necessary PLC tags and data types, constants and data blocks that the know-how-protected block accesses.

In the following cases you also need the password for compiling a know-how-protected block:

  • After changing a PLC data type that the know-how-protected block uses.
  • After inserting know-how-protected blocks in your S7 station in which there are already know-how-protected blocks with the same block number.

More information is available in the STEP 7 (TIA Portal) manual under Block Requirements

Creation Environment
The screen in this FAQ response was created with STEP 7 (TIA Portal) V15.
Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
Support to the statistics
With this function the IDs found are listed according to number (format .txt).

Generate list
Copy URL
Display page in new design
mySupport Cockpit