Skip to content

OPC UA server

The Scadora server publishes project tags over OPC UA: MES, other SCADA systems, analytics and any OPC UA client can read them. Folders are tag tables, variables are tags; values update on change and work with client subscriptions.

OPC UA server section in the editor

  1. Open OPC UA server in the project tree and enable it.
  2. Port — 4840 by default. Client address: opc.tcp://<server>:4840/Scadora.
  3. Security: unencrypted and encrypted (the client chooses), Basic256Sha256 only, or unencrypted only.
  4. Tag tables — comma-separated; empty means all. System tags (@…) are not published.
  5. Save the project. The port is opened in the Windows firewall together with the server ports.

A tag node is ns=2;s=TagName, namespace urn:scadora:tags. The node type is the tag type; a scaled tag is Double in engineering units. Tag quality is passed as the status: no connection is BadCommunicationError.

  • Anonymous — read-only.
  • User name and password — Scadora users with the same passwords and lockout. The password is encrypted even without channel encryption.
  • Writing is enabled by a checkbox: a tag needs the Operate permission, a parameter needs Write parameters. Writes go through the driver and into the audit log.

Server certificates are in ProgramData\Scadora\pki-server. If Trust client certificates is off, a new client’s certificate goes to rejected; move it to trusted.

  • OPC UA history (Historical Access), alarms and methods are not published.
  • Tested with the Scadora OPC UA client; not yet with UaExpert or a real MES.