3- Access Protection via both Protection Levels and User Management - References - SIMATIC AX - AX Hardware Engineering documentation - Hardware Engineering,

Hardware Engineering reference

Portfolio
SIMATIC AX
Product
SIMATIC AX
Software version
2.0.0-alpha1.56
Edition
08/2025
Language
English (original)
Package Name
@ax/hw-docs

Note

This mode is supported only by S7-1500 PLCs with firmware 3.1 or later.

PLC can be configured in this mode by applying access protection via access protection levels and access protection via user management at the same time.

An example PLC configuration could look like this:

{
  "Devices": [
    {
      "Name": "Device1",
      "Modules": [
        {
          "Name": "PLC_1",
          "TypeIdentifier": {
            "OrderNumber": "6ES7 516-3AP03-0AB0",
            "Version": "V3.1"
          },
          "AccessProtection": {
            "AccessLevel": "NoAccess"
          },
          "UserManagement": {
            "Users": [
              {
                "Name": "User2",
                "AssignedRoles": [
                  "DownloadCapableRole"                  
                ]
              }
            ],
            "Roles": [
              {
                "Name": "DownloadCapableRole",
                "FunctionRights": [
                  "AccessProtectionFullAccess"
                ]
              }
            ]
          },
        }
      ]
    }
  ]
}
  • In the example above, a single user named User2 is defined which is given the role DownloadCapableRole. As this role is granted the AccessProtectionFullAccess function right, this user is allowed to perform a download to the plc.
  • As there is AccessProtection configuration with NoAccess value in the hardware declaration file, and as User2 is granted AccessProtectionFullAccess function right; PLC access is allowed only if
    • Access protection password is provided or,
    • User2 and its password are provided.