At a Glance

The protection function is accessible from the Properties screen of the project in offline mode.

This function is used to protect the program elements (sections, Program Units).

NOTE: The protection is not active as long as the protection has not been activated in the project.
NOTE: The project protection is effective to the marked program elements only. This does not prevent from:
  • Connecting to the CPU

  • Uploading application from the CPU

  • Changing the configuration

  • Adding new Program Units and/or sections

  • Changing the logic in a new (not protected) section

Activating Protection and Creating Password

Procedure for activating the protection and creating the password for sections and Program Units:

Step

Action

1

In the project browser right-click Project.

2

Select Properties command from the popup menu.

Result: The Properties of Project window appears.

3

Select Program & Safety Protection tab.

4

In the Sections & Program Units field, activate the protection by checking the Protection active box.

Result: The Modify Password dialog box appears:

5

Enter a password in the Entry field.

6

Enter the confirmation of the password in the Confirmation field.

7

Select Crypted check box if an enhanced password protection is required.

NOTE: A project with a crypted password cannot be edited with Unity Pro V4.0 and earlier.

8

Click OK to confirm.

9

Click OK or Apply in the Properties of Project window to confirm all changes.

If you click Cancel in the Properties of Project window, all changes are canceled.

Notes

If a program element is configured with a protection (read or read/write), when protection has been activated this will be indicated by a locked padlock at the program element level.

If the program element is configured with a protection but the protection is disabled, an open padlock is displayed at the program element level.

Changing the Password

Procedure for changing the project protection password for sections and Program Units:

Step

Action

1

In the project browser right-click Project.

2

Select Properties command from the popup menu.

Result: The Properties of Project window appears.

3

Select Program & Safety Protection tab.

4

In the Sections & Program Units field, click Change password ....

Result: The Modify Password dialog box appears:

5

Enter previous password in the Old password field.

6

Enter the new password in the Entry field.

7

Enter the confirmation of the new password in the Confirmation field.

8

Select Crypted check box if an enhanced password protection is required.

NOTE: A project with a crypted password cannot be edited with Unity Pro V4.0 and earlier.

Unity Pro is the former name of Control Expert for version 13.1 or earlier.

9

Click OK to confirm.

10

Click OK or Apply in the Properties of Project window to confirm all changes.

If you click Cancel in the Properties of Project window, all changes are canceled.

Deleting the Password

Procedure for deleting the project protection password for sections and Program Units:

Step

Action

1

In the project browser right-click Project.

2

Select Properties command from the popup menu.

Result: The Properties of Project window appears.

3

Select Program & Safety Protection tab.

4

In the Sections & Program Units field, click Clear password....

Result: The Access control dialog box appears:

5

Enter the previous password in the Password field.

6

Click OK to confirm.

7

Click OK or Apply in the Properties of Project window to confirm all changes.

If you click Cancel in the Properties of Project window, all changes are canceled.