This example requires an anonymous login: OPC UA Server: Anonymous login
- Ensure CODESYS Communication package is installed
- Add a datasource to your project and select "OPC UA Server" as source:
- Set the URL and the security settings of the server which you want to connect:
- Select the nodes you want to connect:
For automatic updating, the option "Update always" must be set
Local type
Note: your types must not conflict with any local objects, commonly PLC_PRG.
To fix this, simply change the Local type in the Type Mappings tab: