Skip to main content

OPC-UA Generic Data Source

Status: In development: its code is written and tested on its own, but it does not work end to end on the platform yet. It cannot be installed.

KindVersionPublisherLicence
Data source1.0.0ZAITRACKApache-2.0

What it does​

Reads the configured nodes of an OPC UA server on a schedule, anonymously or with a user, as readings with their units. The signed and signed-and-encrypted security modes (Basic256Sha256 and others, with a client certificate) are implemented but not yet proven against a server.

  • Data it brings: time_series, event_stream
  • Filters it applies at the source: —
  • Regions: US, EU, AE, IN, CN, JP, SA
  • Capabilities: data_source.industrial.opc_ua.read

How to use it​

Not yet: see its status above.

Configuration​

SettingTypeRequiredAllowed values and default
endpoint_urlstringyesopc.tcp://host
/path
of the server: a public address
security_policystringnoone of None, Basic256Sha256, Aes128_Sha256_RsaOaep, Aes256_Sha256_RsaPss; None (default), Basic256Sha256, Aes128_Sha256_RsaOaep or Aes256_Sha256_RsaPss
security_modestringnoone of None, Sign, SignAndEncrypt; None with policy None; Sign or SignAndEncrypt (default) with another policy
poll_interval_sintegernofrom 10 to 86400; How often every node is read, 10 to 86400; default 60
nodesarrayyesWhat to read: a list of {name, nodeId (ns=2;s=Tank1.Level, i=2258…), scale, unit}

Credentials​

Each is a secret setting of the installation: kept sealed (OpenBao in production), never shown again; Adapter Studio shows it as set.

  • opc_ua_username
  • opc_ua_password
  • opc_ua_client_cert
  • opc_ua_client_key

The maker's documentation: https://reference.opcfoundation.org/

Limits​

  • Memory: 512 MB
  • Time per call: 60,000 ms
  • Largest message: 16,777,216 bytes
  • Calls at once: 8
  • Network: only *

Troubleshooting​

  • It cannot reach the endpoint. The endpoint must be reachable from where the adapter runs: open the firewall for it, or run it at the edge near the equipment.
  • Values look wrong. Check the unit or node addresses and the register map of the equipment; scaling and byte order are the equipment's.
  • Reads time out. Raise the timeout within its range, or poll less often.

Source​

adapters/datasources/opc-ua-generic