Post by Admin on Feb 12, 2024 13:58:49 GMT
CODESYS uses its Data Sources Manager (DSM) to access data from OPC UA Servers. Unfortunately, configuring the DSM can be a laborious and error-prone post-design process. This demo shows how Function Blocks which need data from an OPC UA Server can be configured so that instances of that FB can obtain the data itself, without the labor and complexity of the Data Sources Manager.
A video of this OOOpcUa can be viewed below, and the demo can be downloaded from HERE (login required, note 1). Start by reading the A_README in the project tree.
Source code for the OOOpcUa proof-of-concept Library used in this demo is available from [sales (at) controlsphere (dot) pro].
This PDF and Demo may be of interest to you if you:
1) are looking for a way your CODESYS project can access variables from an OPC UA Server, or
2) are looking for on object-based solution to OPU UA client access, where instances of FBs manage their own OPC UA access (with no traditional tag lists and global variable lists to create and maintain), or
3) need to guarantee coherency of OPC UA values or are interested in the other benefits of event-driven OPC UA programming, or
4) are frustrated with the complexity and limitations of the CODESYS Data Sources Manager, or
5) gave up trying to understand and apply the CODESYS OPC UA Client library to your project, or
6) are generally interested how OPC UA client access can be used with Object Oriented Programming techniques, or
7) prefer be in more control of your own destiny with source code versus black-box or pre-canned solutions, or
8) are just curious and want more information
Note 1: Be advised that due to a dramatic increase in spam, when you apply for membership in this forum please read and follow the instructions in "Pending Registration" paragraphs and enter your message into the "REQUEST MESSAGE" box. Sorry for the inconvenience.
A video of this OOOpcUa can be viewed below, and the demo can be downloaded from HERE (login required, note 1). Start by reading the A_README in the project tree.
Source code for the OOOpcUa proof-of-concept Library used in this demo is available from [sales (at) controlsphere (dot) pro].
This PDF and Demo may be of interest to you if you:
1) are looking for a way your CODESYS project can access variables from an OPC UA Server, or
2) are looking for on object-based solution to OPU UA client access, where instances of FBs manage their own OPC UA access (with no traditional tag lists and global variable lists to create and maintain), or
3) need to guarantee coherency of OPC UA values or are interested in the other benefits of event-driven OPC UA programming, or
4) are frustrated with the complexity and limitations of the CODESYS Data Sources Manager, or
5) gave up trying to understand and apply the CODESYS OPC UA Client library to your project, or
6) are generally interested how OPC UA client access can be used with Object Oriented Programming techniques, or
7) prefer be in more control of your own destiny with source code versus black-box or pre-canned solutions, or
8) are just curious and want more information
Note 1: Be advised that due to a dramatic increase in spam, when you apply for membership in this forum please read and follow the instructions in "Pending Registration" paragraphs and enter your message into the "REQUEST MESSAGE" box. Sorry for the inconvenience.