Skip to content
Axe edited this page Jan 4, 2026 · 1 revision

Introduction

OPC Unified Architecture (OPC UA) is a cross-platform, open-source, IEC62541 standard for data exchange from sensors to cloud applications developed by the OPC Foundation.

OPCUA-client is a Ruby library to interact with OPC UA servers. There are projects in other languages to interact with OPC UA, such as:

How to get started?

UA Expert

UA Expert is a GUI OPC UA client that is also available for Linux. It’s easy to use and seems to be the standard.

  • Add a server
    • Upper left in the project setting, at the server directory, right click and select add.

There are public OPC UA Test Servers that you can use for testing

  • Unified Automation C++ Demo Server
    • Endpoint: opc.tcp://opcuaserver.com:48010
  • Eclipse Milo Demo Server
    • Endpoint: opc.tcp://milo.digitalpetri.com:62541/milo
  • Sterfive Node OPC UA Server
    • Endpoint: opc.tcp://opcuademo.sterfive.com:26543

For the latter, there are several Objects that we can read.

  • Objects/Simulation/Dynamic/Scalar_Simulation. This has objects for many (all?) datatypes. We can use this to extend the functionality. The values of these objects are dynamic, meaning that they change all the time.
  • Objects/Simulation/Static/Scalars. These are objects with static values that we can read and write.

Clone this wiki locally