This article mainly briefly introduces the open source libraries related to OPC UA, so that you can choose to use them according to your needs. Regarding the nature of OPC UA, this blog is very good, you can read it.
The following rankings are in no particular order.
1. open62541
This is a library I often use. It supports cross-platform, asynchronous, and well-written documents. The following is the information of the library,
- Official website address: https://open62541.org/
- Github address: https://github.com/open62541/open62541
- Language: C/C++
- License:Mozilla Public License v2.0
- Official tutorial: see the official website Documentation
- My tutorial: https://blog.csdn.net/whahu1989/category_9236462.html
2. UA-.NETStandard
This is a library launched by OPCFoundation, which supports cross-platform and is based on .NET. The following is the information of the library,
- Official website address: http://opcfoundation.github.io/UA-.NETStandard/
- Github address: https://github.com/OPCFoundation/UA-.NETStandard
- Language: C#
- License: Use RCL for OPCFoundation members and GPL-2.0 for individuals
- Official tutorial: see official website
3. python-opcua
Python is very popular now, opcua+python is more powerful, not to mention cross-platform, the library interface is simple and easy to use
- Official website address: http://freeopcua.github.io/
- Github address: https://github.com/FreeOpcUa/python-opcua
- Language: Python (both supported by Python2 and Python3)
- License:LGPL-3.0
- Tutorial: see the library github address homepage
4. opcua-asyncio
This library is in the same vein as python-opcua, and the API interface is basically the same as python-opcua. It is only rewritten using python's asyncio, which can make the program run asynchronously and improve efficiency, which is also in line with the development trend.
- Official website address: http://freeopcua.github.io/
- Github address: https://github.com/FreeOpcUa/opcua-asyncio
- Language: Python (Python3.6+)
- License:LGPL-3.0
- Tutorial: see the library github address homepage
5. node-opcua
OPC UA protocol stack implemented based on JavaScript and NodeJS, cross-platform is inevitable, 100% asynchronous
- Official website address: http://node-opcua.github.io/
- Github address: https://github.com/node-opcua/node-opcua
- Language: JavaScript / TypeScript
- License : MIT
- Tutorial: see the library github address homepage
6. milo
Open source libraries under Eclipse,
- Official website address: https://projects.eclipse.org/projects/iot.milo
- Github address: https://github.com/eclipse/milo
- Language: Java
- License:EPL-2.0
- Tutorial: see the library github address homepage
to sum up
The above is the OPC UA open source library with a large number of stars that I have searched on github. You can choose the library that suits you according to your needs.