Integration & Gateways · Study deck

OPC UA: Models, Services, and Trust

Picture a control screen that says a motor is too hot.

Gateway Gus is your guide for this deck.

iotclass.org

After studying this chapter

Learning objectives

You will be able to:

  • explain OPC UA as a combined information-model, service, and trust architecture
  • record the session path (application services, trust record) before release
  • distinguish what pub/sub, gateway, and companion-model boundaries preserve or lose
  • review an OPC UA integration for the tag someone must ultimately trust
iotclass.org

Major section

Start With the Tag Someone Must Trust

The number matters only if the operator knows which motor sent it and whether the reading is good.

  • The screen should show uncertainty instead of making a bad value look safe.
  • A good model makes the safe action easier.
  • It should stop two similar tags from being confused.
  • A flat tag value is not enough.

Key terms

OPC UA
OPC UA is useful when that trust story matters.
iotclass.org

Major section

Start With the Tag Someone Must Trust (continued)

It should also make poor evidence visible before a control decision.

  • This short story does not cover every object, service, or certificate rule.
  • A large plant needs a consistent model and careful trust choices across many systems.
  • Under the Hood explains sessions, certificates, and access rules.
iotclass.org

Major section

Overview: OPC UA Is a Model, Service, and Trust Architecture

Those actions enter the server through service sets, not by reaching storage directly.

  • OPC UA is not just a replacement wire format for industrial tags.
  • Its core value is that an industrial system can expose a typed address space, let clients discover that model through services, and protect access through certificates, secure channels, sessions, user identity, and authorization.
  • The trust band beneath the path is equally important.
OPC UA clients use secured services to browse, read, write, call, or subscribe to nodes in a server's information model.
OPC UA clients use secured services to browse, read, write, call, or subscribe to nodes in a server's information model.
iotclass.org

Major section

Overview: OPC UA Is a Model, Service, and Trust Architecture (continued)

It costs more design effort than a simple register map, but it can reduce fragile custom mapping if the team treats the address space and trust configuration as release artifacts rather than as default server output.

  • The same record also gives operations a stable checklist when a server certificate, namespace, companion model, or gateway mapping changes later.
  • Certificates and a secure channel protect the connection, while the session, user identity, and authorization decide what that client may do.
  • OPC UA interoperability therefore needs both semantic nodes and access evidence; a successful connection alone proves neither correct meaning nor permission.
The address space is where OPC UA carries industrial meaning, not just values.
The address space is where OPC UA carries industrial meaning, not just values.
iotclass.org

Major section

Overview: OPC UA Is a Model, Service, and Trust Architecture (continued)

Information ModelThe server exposes Objects, Variables, Methods, Types, References, namespaces, and data types in an address space that clients can browse.

  • Trust RecordProduction readiness depends on endpoint policy, certificates, trust lists, user authentication, authorization, and renewal ownership.
  • Its named elements “Root” and “Objects” frame the claim that The address space is where OPC UA carries industrial meaning, not just values.
  • In Figure: The address space is where OPC UA carries, notice how “Root” establishes the initial state; “Objects” supplies the next check.
The address space is where OPC UA carries industrial meaning, not just values.
The address space is where OPC UA carries industrial meaning, not just values.
iotclass.org

Major section

Practitioner: Record the Session Path Before Release

A normal OPC UA client-server path includes endpoint discovery, secure-channel setup, session creation, session activation, and application services.

  • Each stage can fail for a different reason, so the release record should name the stage and the evidence captured there.
  • A practical acceptance test should walk the whole path with the identity that production will use.
  • The same packet should name who renews certificates and who approves model changes.

Key terms

Network placement alone
Network placement alone is not a security design.
The OPC UA service path is a workflow, not a single socket connection.
The OPC UA service path is a workflow, not a single socket connection.
iotclass.org

Major section

Practitioner: Record the Session Path Before Release (continued)

Proves the client selected an approved server endpoint instead of accepting whatever was reachable.

  • Two labels deserve attention—“Discover” and “endpoints”—because they bound The OPC UA service path is a workflow, not a single socket connection.
  • Separates transport reachability from authorized application access.
  • Network placement alone is not a security design.
The common failure mode is treating OPC UA as proof of interoperability while skipping the evidence that makes it durable.
The common failure mode is treating OPC UA as proof of interoperability while skipping the evidence that makes it durable.
iotclass.org

Major section

Practitioner: Record the Session Path Before Release (continued)

The resulting chain supports The OPC UA service path is a workflow, not a single socket connection; it also gives the “discover”–“endpoints” decision a specific retest boundary.

  • Certificate renewal owner, namespace/version record, rejected-certificate review, and model-change process.
  • The subsequent hand-off from “Server Trust” to “server cert, trust list, URI” explains A security mode without a trust-list and lifecycle record is incomplete production evidence.
  • Gate before production: unsecured or lab-only endpoints need explicit exception records and compensating controls.
The common failure mode is treating OPC UA as proof of interoperability while skipping the evidence that makes it durable.
The common failure mode is treating OPC UA as proof of interoperability while skipping the evidence that makes it durable.
iotclass.org

Major section

Under the Hood: Pub/Sub, Gateways, and Companion Models Preserve or Lose Semantics

OPC UA can expose client-server services, Pub/Sub datasets, and gateway translations into MQTT, AMQP, HTTP, storage APIs, or analytics systems.

  • Those boundaries are useful only when the integration records what semantic context survives the transfer.
  • A boundary review should therefore name the exported nodes, dataset fields, schema owner, quality mapping, timestamp choice, command path, and interruption behavior.
  • From “Companion”, it arrives at “domain types”.
Gateway and Pub/Sub boundaries need explicit records for exported nodes, datasets, status, timestamps, units, and command behavior.
Gateway and Pub/Sub boundaries need explicit records for exported nodes, datasets, status, timestamps, units, and command behavior.
iotclass.org

Major section

Under the Hood: Pub/Sub, Gateways, and Companion Models Preserve or Lose Semantics (continued)

Without that evidence, a clean broker message can hide a broken source model just as easily as a failed sensor.

  • The downstream message may carry the numeric value, but lose the node's namespace, Browse path, engineering unit, status code, source timestamp, role restriction, or companion-model type unless the mapping records them deliberately.
  • It should also say what is intentionally not exported, such as write methods or maintenance-only events, so subscribers do not infer controls that the gateway never preserved.
  • The record should be reviewed with both OT owners and downstream data owners.
Base OPC UA gives the modeling framework; companion models and local rules give domain meaning.
Base OPC UA gives the modeling framework; companion models and local rules give domain meaning.
iotclass.org

Deck summary

Key takeaways

The number matters only if the operator knows which motor sent it and whether the reading is good.

  • It should also make poor evidence visible before a control decision.
  • Those actions enter the server through service sets, not by reaching storage directly.
  • It costs more design effort than a simple register map, but it can reduce fragile custom mapping if the team treats the address space and trust configuration as release artifacts rather than as default server output.
  • Information ModelThe server exposes Objects, Variables, Methods, Types, References, namespaces, and data types in an address space that clients can browse.
iotclass.org

Retrieval practice

Recall check 1 of 3

Gateway Gus says: answer from memory, then check your reasoning.

Q1What makes OPC UA different from a simple industrial tag transport?

AIt only standardizes a topic string format for publishing telemetry.
BIt removes the need to record certificates or user authorization.
CIt combines a discoverable model, application services, and session trust evidence.
DIt proves interoperability as soon as a server exposes a flat list of values.
Show answer

Answer: C OPC UA should be reviewed as an industrial interoperability architecture rather than a tag-only protocol.

iotclass.org

Retrieval practice

Recall check 2 of 3

Gateway Gus says: answer from memory, then check your reasoning.

Q2A client can connect to an OPC UA endpoint but fails when calling a method on a machine object. What should the review check first?

AWhether the session identity can call the method, with inputs and errors recorded.
BWhether Pub/Sub is enabled, because Method calls and Pub/Sub are the same service path.
CWhether the topic hierarchy has the correct wildcard filter.
DWhether all certificates can be ignored because the socket is already open.
Show answer

Answer: A OPC UA troubleshooting should name the failing stage: channel, session, identity, service call, authorization, model, or lifecycle.

iotclass.org

Retrieval practice

Recall check 3 of 3

Gateway Gus says: answer from memory, then check your reasoning.

Q3An OPC UA gateway republishes machine data into MQTT. Which review record is most important before claiming the downstream data is semantically equivalent?

AA boundary record for exported nodes, quality, timestamps, units, source identity, schema owner, and command rules.
BOnly the MQTT broker URL, because a successful publish proves all OPC UA semantics were preserved.
COnly the OPC UA endpoint URL, because downstream schemas are independent of the source model.
DNo record is needed if the gateway uses a standard protocol on both sides.
Show answer

Answer: A OPC UA gateway reviews should prove how model semantics, quality, timestamps, units, identity, and commands survive translation.

iotclass.org

Print reference

Answers

Answer key.

  1. C · OPC UA should be reviewed as an industrial interoperability architecture rather than a tag-only protocol.
  2. A · OPC UA troubleshooting should name the failing stage: channel, session, identity, service call, authorization, model, or lifecycle.
  3. A · OPC UA gateway reviews should prove how model semantics, quality, timestamps, units, identity, and commands survive translation.
iotclass.org