Professional Communication
Software Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

OPC-UA scanning network and opcserver using C#

More
23 Oct 2025 14:36 #14420 by den Bekker
Yes, thank you. It reports the properties.
The following user(s) said Thank You: support

Please Log in or Create an account to join the conversation.

More
22 Oct 2025 15:10 #14416 by support
Hello.

It will be similar to this example:  opclabs.doc-that.com/files/onlinedocs/OPCLabs-OpcStudio/Late...%20of%20a%20single%20node.html

But the attribute Id used will be UAAttributeId.AccessLevel. (more info about the bits:  reference.opcfoundation.org/Core/Part3/v104/docs/8.57#_Ref497896703 )

I hope this helps. Let me know if you need more info.

Best regards
 

Please Log in or Create an account to join the conversation.

More
22 Oct 2025 14:14 #14415 by den Bekker
Thank you. it's working.

Can I also check if a variable on the PLC is specified as Read-only, Write-only or R/W?

Best regards,

Ruud

Please Log in or Create an account to join the conversation.

More
22 Oct 2025 13:29 #14414 by support
Hello.

The following articles should provide what you are asking for:

- opclabs.doc-that.com/files/onlinedocs/OPCLabs-OpcStudio/Late...ring%20OPC%20UA%20Servers.html

opclabs.doc-that.com/files/onlinedocs/OPCLabs-OpcStudio/Late...%20UA%20Local%20Discovery.html

opclabs.doc-that.com/files/onlinedocs/OPCLabs-OpcStudio/Late...0UA%20Network%20Discovery.html

There is no "scanning" in the true sense of the word - the servers must register themselves with the discovery server for them to be discoverable in this way.
Then for nodes:

opclabs.doc-that.com/files/onlinedocs/OPCLabs-OpcStudio/Late...%20for%20OPC%20UA%20Nodes.html

Best regards


 

Please Log in or Create an account to join the conversation.

More
22 Oct 2025 07:54 #14413 by den Bekker
Where can I find an example how to scan for:
- all servers on the network
- scanning for all "variables" on a server (including read-write details??)

Normally our students nly have ONE OPC-UA server in the network that I would like to detect and should result in
the string: "opc.tcp://lxxxxx"
And then I would like to scan which variables are on that system to setup a list with access strinhgs
like this: "nsu=CODESYSSPV3/3S/IecVarAccess ;ns=4;s=|var|CODESYS Control Win V3 x64.Application.PLC_PRG.a"

 

Please Log in or Create an account to join the conversation.

Moderators: supportvaclav.zaloudek
Time to create page: 0.138 seconds