If different clients should have access to different data areas of the controller, then multiple groups of symbols are necessary.
In CODESYS controllers, access to the respective symbol set is assigned to the controller by means of user management.
As a result, the client has to supply the user and password, which should certainly be encrypted by today's standards.


From these requirements, encrypted communication with the controller is necessary.
Especially with large amounts of data, encryption can lead to a higher load on the controller and, for example, prolong the startup behavior of the OPC UA server.
Also note that not every client supports encrypted communication, for example an OPCDA-Client => mixed operation is not possible.



Creating user management for the controller

If user management is already activated on the controller, then you can skip this step.

Creating a new configuration

Assigning from the symbol set to the user group

Testing with the OPC UA client

In the OPC UA client, change the connection option to use a user:

If you login as user usrOPCUA, ten you only get the variables that have been assigned to the symbol set symOPCUA.