Hi,
I am looking for retrieving list of items and their states from a Data Source like OPC UA client inside a program.
I tried to use "g Datasource" object but I can't find a practical method to do this.
Please does somebody has information about this topic (code example, documentation, ..) ?
Thank You
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Of course, I tried this client example but it don't use Data Sourse to define an OPC UA communication.
Actually, I use the wizard "Data Source" from user interface Codesys Dev System SP18 to manage an Opc Client communication. (It is the easier way to avoid the use of the complex OPC ua client library objects).
Despite, I need to access dynamically to items exchanged. I tried to use methods from global instance "g Datasource" object without success.
If anyone has ideas that may help me, your suggestions will be most welcome.
Thank You
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am looking for retrieving list of items and their states from a Data Source like OPC UA client inside a program.
I tried to use "g Datasource" object but I can't find a practical method to do this.
Please does somebody has information about this topic (code example, documentation, ..) ?
Thank You
check the example here:
https://store.codesys.com/de/opc-ua-client-example.html
Hello,
Thanks eschewellinger for your response.
Of course, I tried this client example but it don't use Data Sourse to define an OPC UA communication.
Actually, I use the wizard "Data Source" from user interface Codesys Dev System SP18 to manage an Opc Client communication. (It is the easier way to avoid the use of the complex OPC ua client library objects).
Despite, I need to access dynamically to items exchanged. I tried to use methods from global instance "g Datasource" object without success.
If anyone has ideas that may help me, your suggestions will be most welcome.
Thank You
Hello did you succeed?