How to use CoDeSys as OPC UA Client using Data Source Manager & Data Source
Create a Project: Tested Version Codesys v3.5 SP18.2 & Codesys v3.5 SP19.4
Codesys v3.5 SP19.4
Codesys v3.5 SP18.2
Right Click on Application ->Add Object --> Data Sources Manager
Click on Add
Note: We can Add only one Data Sources Manager once it is added it will not show to add again
Right Click on Data Source Manager-->Add Object --> Data Source
There will be Two option
CODESYS ApplicationV3 : Use this when you have to directly connect the data between two CoDeSys Application
OPC UA Server : When we need to connect with any OPC UA Server and make Codesys as OPC UA Client
Select OPC UA Server and Click on Add
Provide OPC UA Server URI to Initialize the Data Source
Select Security Mode & Security Policy as per OPC UA Server configuration and click on Next , It will Connect to OPC UA Server and provide all Variables Details.
Select the Variable and Click on Finish
Note : we can add multiple Data Source
Check out the Tutorial
Comments