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. |
Create a project with encrypted communication for 3 variables and test the communication, for example with the "UaExpert" OPCUA client.
Step-by-step instructions are found in the help:
If user management is already activated on the controller, then you can skip this step.
Use this button to create a new user (example: "usrOPCUA") in this area.
In the configuration dialog, assign the created group "grOPCUA" to the user:
There is no special function for deactivating an activated user management. |
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.