top of page
rajshaswat

CoDeSys as OPC UA Client using Data Source Manager

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

version19.4

Codesys v3.5 SP18.2

version18.2
  • Right Click on Application ->Add Object --> Data Sources Manager

Add DSM

  • Click on Add

Add DSM1

Note: We can Add only one Data Sources Manager once it is added it will not show to add again

One DSM
  • Right Click on Data Source Manager-->Add Object --> Data Source

Add DS
  • 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

Add OPCUA
  • Provide OPC UA Server URI to Initialize the Data Source

URIOPT
AddURI
  • 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.

SelSignals
SelSignal1
  • Select the Variable and Click on Finish

SignalSel

SignalAdded

Note : we can add multiple Data Source




Check out the Tutorial



Recent Posts

See All

Comments


bottom of page