show the entry list
STEP 7 -- Working with projects -- Creating and editing projects
How do you compare blocks in a multiproject?
What are the requirements for migrating a STEP 7 V5.x project to STEP 7 Professional (TIA Portal)?
How do you link a self-made online help to a programmed block in STEP 7 V5.x?
How do you display the diagnostics buffer of a SIMATIC CPU with integrated web server on a SIMATIC Panel?
How do you install the improved block protection for FBs and FCs in STEP 7 V5.5 onwards?
In STEP 7, why can the "Find/Replace" dialog not be displayed in the LAD/STL/FBD editor?
How do you integrate a WinCC flexible project in STEP 7?
How can you improve the performance in the SIMATIC Manager and in the STEP 7 project?
Why can you no longer choose the options (Display, Filter, Generate, Delete) in the menu item "Tools > Reference data >"?
How do you save a STEP 7 project as read-protected on an MMC in an S7-300 CPU?
How do you activate access protection for a STEP 7 project and set up a user as project editor?
How do you update the STEP 7 hardware catalog in STEP 7 V5.2 onwards?
How can you load projects to a memory card and back again to a PG/PC?
Information about "Loading and testing programs"
How do you integrate an existing WinCC project into a STEP 7 project?
What are the advantages of the "Multiproject" function for large networked projects?
What is the significance of the initial and actual values of a data block?
Why can projects, blocks or the HW Config either not be opened at all or only opened with error messages or only as "read only"?
How do you install the improved block protection for FBs and FCs in STEP 7 V5.5 onwards?
Part number:

Instructions
In STEP 7 version V5.5 onwards you can install an encrypted block protection for functions and function blocks in the Offline and Online views. The table below gives the procedure for using the "S7 Block Privacy" program to encrypt your blocks and protect the block code against unauthorized access.
 
No. Procedure
1 Preparation:
To be able to use the improved block protection in STEP 7 V5.5 you must first install the "S7 Block Privacy" program from the STEP 7 DVD.
  1. Insert the STEP 7 DVD in the drive of your programming device.
  2. Open the "CD_2 > Optional Components > S7 Block Privacy" folder on the STEP 7 DVD.
  3. Start the "Setup.exe" program and follow the installation instructions.

After installation, select the "Block Protection" function in the SIMATIC Manager under "Tools > Block protection...".

2 For this you mark the block folder in the SIMATIC Manager and select the "Tools > Block protection..." function in the menu bar. Alternatively, you can right-click on the block folder and select the "Block protection..." function in the pop-up menu.
3 Open the object hierarchy tree in the "S7 Block Privacy" dialog. This gives you a list of all the blocks that you can encrypt with the "S7 Block Privacy" program. The "S7 Block Privacy" party can only encrypt FBs and FCs.
4 Right-click on the block that you want to encrypt and select "Encrypt block..." in the pop-up menu.
5 In the "Block Encryption" dialog you now have to enter your password (Enter key) of at least 12 characters. Repeat the password to confirm in the next line and confirm with OK.


Fig. 01

Note:
Check that the "Also encrypt decompilation information" option is enabled as in Fig. 01. If you do not select this option, you can no longer decrypt the block after encryption. The code is then permanently encrypted.

6 Acknowledge the subsequent message with "OK". When you open an encrypted block, you can no longer see and edit the program code.

Note:
After encryption, you can only edit the block again after decryption with your password. We recommend that you save the password.

7 If you want to encrypt multiple blocks at the same time, click the boxes on the left of the blocks. If you want to encrypt all the blocks at the same time, click the box on the left of the block folder. This checks all the boxes. Then you only have to encrypt once as described in steps 4 to 7.

The encrypted blocks are marked red and with a key in the SIMATIC Manager. Proceed as described in the table below to decrypt the blocks.
 
No. Procedure
1 For this you mark the block folder in the SIMATIC Manager and select the "Tools > Block protection..." function in the menu bar. Or you right-click block folder and click the "User protection..." function in the pop-up menu.
2 Open the object hierarchy tree in the "S7 Block Privacy" dialog and mark the blocks (set check mark) that you want to decrypt.
3 Right-click one of these blocks and select "Decrypt block...".
4 When the "Block Encryption" dialog opens you enter your password and click OK to confirm.
5 Close the "S7 Block Privacy" program. The blocks you selected are decrypted and you can edit them again.

Further Information
Press the F1 key in the "S7 Block Privacy" program to receive more information on encrypting blocks.

Note
Block encrypting via the "Know_How_Protect" command and compilation of the source block are also possible. More information on this is available in Entry ID: 10025431

Creation environment
The figures in this FAQ were created with STEP 7 V5.5.

Keywords
Know-how protection

 Entry ID:45632073   Date:2010-11-08 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Help
Online Help
Guided Tour