Control of access to the PLC source code

From version Build 4024, TwinCAT 3 offers the option to encrypt PLC source code and to control access to the PLC source code via rights management. The central element is a user database (User DB), which is created with the inclusion of the OEM certificate (as the verification basis).

Note: The OEM certificate is only required to create the user database, not to use or modify it.

Prerequisite for using this function: Issue of a TwinCAT OEM certificate

System requirements

Control of access to the PLC source code 1:

Reliable protection only when using the latest TwinCAT 3 version

For reliable protection (e.g. secure encryption), always use the latest TwinCAT 3 version. This provides the maximum security.

Use at least TwinCAT 3.1 Build 4024.x.
For security reasons, do not use an older version!

General notes

Procedure

The following procedure describes the simplest case:

Control of access to the PLC source code 2:

Links to documentation

  1. Requesting (ordering) an OEM certificate
  2. Installing the OEM certificate
  3. Creating a user database
    For the simplest standard case, you only need to define the administrator's name and his password and execute no further settings (e.g. no creation of additional users) in the User DB.
  4. Linking the user database to a project
  5. Setting the encryption of the project file
  6. Setting access rights for PLC project root