Hello All:
I'm new to OPC UA. I am going through sample code for OPC UA Client SDK. I have connecting to a Modbus OPC server using the example code for full client. it's connecting and browsing the tags. What I would like to do is, extract the tag value in the program and assign it to a local variable. Is that possible? How can we browse the object tree to extract the value of a particular tag from a particular device? Any guidance would be greatly appreciated.
Thanks,
Shwetha.
Reading Tag from OPC client
Moderator: uasdknet
- Support Team
- Hero Member
- Posts: 3070
- Joined: 18 Mar 2011, 15:09
Re: Reading Tag from OPC client
Hello,
I think I did not understand your question completely. The Browse service returns data about the referenced nodes, like NodeId, ReferenceType, TypeDefinitionId, BrowseName, ... This data can be used for storing and for browsing the next level. If you want to store more attributes, you have to call the Read method in addition.
I think I did not understand your question completely. The Browse service returns data about the referenced nodes, like NodeId, ReferenceType, TypeDefinitionId, BrowseName, ... This data can be used for storing and for browsing the next level. If you want to store more attributes, you have to call the Read method in addition.
Best regards
Unified Automation Support Team
Unified Automation Support Team