Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any open source OPC UA Server where i can add and configure nodes of FileType

Tags:

opc-ua

I am developing a OPC UA Client Application which reads a file stored on a OPC UA Server. For testing Purpose i need a OPC UA Server simulator where i can add nodes of FileType and configure those nodes.

Currently i am using Prosys OPC UA Server Simulator where i can add a node of variable type but not of file type.

enter image description here

like image 227
Harshith R Avatar asked Sep 05 '25 04:09

Harshith R


2 Answers

Just to be sure when it comes to a node that has a "HasTypeDefinition" reference to "FileType", it is an "Object" node (Object of type FileType) and not a "Variable" node.

I have seen reusable items in node-opcua stack and UA-.NETStandard stack to achieve what you are trying to do. If you can spend about a day with UA-.NETStandard stack, you might be able to accomplish what you are trying to do. ReferenceServer application in the UA-.NETStandard stack can be a good starting point.

You will have to instantiate an "Object" node of type "FileType" in the ReferenceNodeManager.cs file inside CreateAddressSpace() function definition. In a similar usecase, I have successfully instantiated an "Object" node under the Objects Folder with "HasTypeDefinition" reference to "FileType" and have used the same for File Transfer operations.

Hope this answers your question. Thank you.

If you are looking for any other hands-on information, you can check out these resources:

  • Free documentation: You can look at the open-source documentation page: https://open62541.org/doc/current/
  • Paid online course: Practical introduction to OPC UA – code walk-through and examples in this course use the open62541 stack: https://opcfoundation.org/products/view/practical-introduction-to-opc-ua-part-i
like image 131
Asish Ganesh Avatar answered Sep 07 '25 22:09

Asish Ganesh


You should try with the new version 5 of Prosys OPC UA Simulation Server. It enables you to add objects of any type - although it doesn't let you configure any files behind the FileType.

For that, you could just try the Prosys OPC UA SDK for Java. The free evaluation version comes with a sample server that can serve files as well. (And yes, I work for Prosys OPC...)

like image 23
Jouni Aro Avatar answered Sep 07 '25 23:09

Jouni Aro