Examples
We offer a variety of ready-to-run OPC UA examples on GitHub for download and experimentation. Start with the README in that directory; it explains the example layout and the Mako Server learning examples.
The examples are tailored for our two pre-compiled and ready-to-use Barracuda App Server products:
Mako Server: Suitable for high-level operating systems with pre-compiled binaries available for Windows, Linux, and many embedded Linux devices, including Raspberry Pi.
Xedge32: A web-based IDE for the ESP32 microcontroller. The ESP32 development boards are cost-effective and user-friendly. You can install the Xedge32 firmware directly onto the ESP32 from your browser.
- Learning OPC UA with Mako Server
- Run the tutorial examples
- Run the PubSub tutorial examples
- 1. Minimal server
- 2. Add a folder
- 3. Add variables
- 4. Write a variable
- 5. Use a value callback
- 6. Read with a local client
- 7. Write with a local client
- 8. Call a method
- 9. Define a structure type
- 10. Publish JSON with MQTT PubSub
- 11. Publish binary UADP with MQTT PubSub
- 12. Publish an OPC UA server node
- More advanced PubSub examples
- Next steps
- How to Connect Third-Party Clients
- ESP32 Microcontroller Examples