Skip to main content
Version: 3.0 (next)

OPC UA Nodes

OPC UA (Unified Architecture) is the modern, platform-independent standard for industrial communication. MaestroHub provides read, write, browse, and batch-read capabilities with hardened security options.

Configuration Quick Reference​

FieldWhat you chooseDetails
ParametersConnection, Function, Function Parameters, Timeout OverrideSelect the connection profile, function, configure function parameters with expression support, and optionally override timeout.
SettingsDescription, Timeout (seconds), Retry on Timeout, Retry on Fail, On ErrorNode description, maximum execution time, retry behavior on timeout or failure, and error handling strategy. All execution settings default to pipeline-level values.

OPC UA Read node configuration

OPC UA Read Node

OPC UA Read Node​

Read node values from OPC UA servers with namespace-aware identifiers.

Supported Function Types:

Function NamePurposeCommon Use Cases
Read Node Value (opcua.read)Fetch scalar or structured values from endpointsEquipment telemetry, quality checks, energy monitoring

Node Configuration​

ParameterTypeRequiredDescription
ConnectionSelectionYesOPC UA connection profile to use
FunctionSelectionYesRead function from the selected connection
Function ParametersDynamicVariesAuto-populated from the function schema. See your OPC UA connection functions for full parameter details.
Timeout OverrideNumber (seconds)NoOverride the default function timeout

Function parameters for Read:

ParameterTypeRequiredDescription
namespaceIndexNumberYesNode namespace index (0–65535)
identifierStringYesNode identifier. Formats: i=123 (numeric), s=String (string), g=GUID (GUID), b=0xHEX (byte string)
requestTimeoutSecondsNumberNoBound on this operation; the connection's Request Timeout still applies and the shorter one wins

All function parameters support expression syntax ({{ expression }}) for dynamic values from the pipeline context.

Input​

The node receives the output of the previous node as input. Input data can be referenced in function parameter expressions using $input.

Output Structure​

On success the node delivers the value under result and execution facts under _metadata:

{
"result": {
"value": 72.5,
"sourceTimestamp": "2026-01-15T08:30:00.123456789Z",
"serverTimestamp": "2026-01-15T08:30:00.125Z",
"statusCode": "0x00000000",
"quality": "good",
"dataType": "Double"
},
"_metadata": {
"success": true,
"functionId": "<function-id>",
"durationMs": 42,
"timestamp": "2026-01-15T08:30:00Z"
}
}
FieldTypeDescription
result.valueanyThe node value — typed as the OPC UA data type. This is the reading: $node["Name"].result.value
result.sourceTimestampstringWhen the value was sampled at the source (RFC 3339, UTC)
result.serverTimestampstringWhen the OPC UA server processed it (RFC 3339, UTC)
result.statusCodestringOPC UA status code in 0x hex format
result.qualitystringThe status mapped to the canonical band: good, uncertain or bad — the same scale every connector uses
result.dataTypestringOPC UA data type name (e.g., Boolean, Int32, Double, String, DateTime); Structure for a decoded structure
_metadata.successbooleantrue when the function executed without errors
_metadata.functionIdstringID of the executed function
_metadata.durationMsnumberExecution time in milliseconds
_metadata.timestampstringISO 8601 / RFC 3339 UTC timestamp

OPC UA Write node configuration

OPC UA Write Node

OPC UA Write Node​

Write setpoints and command values to OPC UA nodes.

Supported Function Types:

Function NamePurposeCommon Use Cases
Write Node Value (opcua.write)Send scalar or structured values to endpointsAdjust temperature setpoints, acknowledge alarms, update schedules

Node Configuration​

ParameterTypeRequiredDescription
ConnectionSelectionYesOPC UA connection profile to use
FunctionSelectionYesWrite function from the selected connection
Function ParametersDynamicVariesAuto-populated from the function schema. See your OPC UA connection functions for full parameter details.
Timeout OverrideNumber (seconds)NoOverride the default function timeout

Function parameters for Write:

ParameterTypeRequiredDescription
namespaceIndexNumberYesNode namespace index (0–65535)
identifierStringYesNode identifier (same formats as Read)
valueStringYesValue to write (converted to appropriate OPC UA type)
dataTypeStringYesTarget data type: bool, int8, uint8, int16, uint16, int32, uint32, int64, uint64, float, double, string
requestTimeoutSecondsNumberNoBound on this operation; the connection's Request Timeout still applies and the shorter one wins

All function parameters support expression syntax ({{ expression }}) for dynamic values.

Input​

The node receives the output of the previous node as input. Use expressions like {{ $input[0].result.value }} to pass dynamic values to write parameters.

Output Structure​

{
"result": {
"success": true,
"statusCode": "0x00000000"
},
"_metadata": {
"success": true,
"functionId": "<function-id>",
"durationMs": 15,
"timestamp": "2026-01-15T08:30:00Z"
}
}
FieldTypeDescription
result.statusCodestringThe OPC UA status code the server answered with, in 0x hex format
Safety First

Always implement validation and safety checks before writing to industrial equipment. Consider adding condition nodes to verify values are within safe ranges.


OPC UA Browse node configuration

OPC UA Browse Node

OPC UA Browse Node​

Discover available nodes in the OPC UA address space.

Supported Function Types:

Function NamePurposeCommon Use Cases
Browse Nodes (opcua.browse)Traverse address space to find readable/writable nodesBuild tag catalogs, search for equipment folders

Node Configuration​

ParameterTypeRequiredDescription
ConnectionSelectionYesOPC UA connection profile to use
FunctionSelectionYesBrowse function from the selected connection
Function ParametersDynamicVariesAuto-populated from the function schema. See your OPC UA connection functions for full parameter details.
Timeout OverrideNumber (seconds)NoOverride the default function timeout

Function parameters for Browse:

ParameterTypeRequiredDefaultDescription
namespaceIndexNumberNo0Starting node namespace index
identifierStringNoi=85Starting node identifier (default is the Objects folder)
maxChildrenNumberNo0Maximum children to return (0 = no limit)
continuationPointStringNo""Continuation point from a previous browse for pagination

Input​

The node receives the output of the previous node as input.

Output Structure​

{
"result": {
"namespace": 0,
"identifier": "i=85",
"nodeClass": "Object",
"browseName": "Objects",
"description": "",
"accessLevel": "",
"userAccessLevel": "",
"dataType": "",
"readable": false,
"writable": false,
"children": [
{
"namespace": 2,
"identifier": "i=1001",
"nodeClass": "Variable",
"browseName": "Temperature",
"description": "Current temperature",
"accessLevel": "CurrentRead",
"userAccessLevel": "CurrentRead",
"dataType": "Double",
"readable": true,
"writable": false
}
],
"continuationPoint": "",
"hasMore": false
},
"_metadata": {
"success": true,
"functionId": "<function-id>",
"durationMs": 85,
"timestamp": "2026-01-15T08:30:00Z"
}
}
FieldTypeDescription
result.namespacenumberNamespace index of the browsed node
result.identifierstringIdentifier of the browsed node
result.nodeClassstringOPC UA node class: Object, Variable, Method, ObjectType, VariableType, ReferenceType, DataType, View
result.browseNamestringThe node's browse name
result.descriptionstringNode description, empty when the server gives none
result.accessLevelstringAccess level as reported (CurrentRead, CurrentWrite, …); empty for a non-Variable node
result.userAccessLevelstringAccess level for the connected user
result.dataTypestringOPC UA data type for a Variable node; empty otherwise
result.readablebooleanWhether the node's value can be read
result.writablebooleanWhether the node accepts writes
result.childrenarrayOne entry per child, with the same fields as the browsed node (without children, continuationPoint, hasMore)
result.continuationPointstringOpaque cursor for the next page of children; empty when there is none
result.hasMorebooleantrue when more children remain — pass continuationPoint to the next browse

OPC UA Read Group Node​

The OPC UA Read Group node executes multiple OPC UA read operations in a single node. It supports selective function lists, an All Functions mode, and parallel or sequential execution.

Node Configuration​

ParameterTypeRequiredDefaultDescription
ConnectionSelectionYes—OPC UA connection profile
Function SelectionSelectionNoSelect FunctionsSelect Functions reads the functions you list. All Functions reads every read function on the connection. By Labels reads every function whose labels match the labels you pick.
FunctionsArray of {functionId, alias}When Function Selection is Select Functions[]List of specific functions to execute. Each entry requires a functionId; alias is optional.
Execution ModeSelectionNoparallelparallel — all functions run concurrently. sequential — functions run one after another.
Continue on ErrorToggleNotrueWhen enabled, the node continues executing remaining functions even if one fails
Debug ModeToggleNofalseEnable detailed logging for troubleshooting

All Functions Mode​

When Function Selection is All Functions, the function list is ignored. The node automatically discovers and executes every read function defined on the selected connection.

Read function types that All Functions runs:

Function TypeDescription
opcua.readSingle node read
opcua.batchreadBatch node read

Input​

The node receives the output of the previous node as input.

Output Structure​

The node output is the canonical {result, _metadata} envelope: result holds one entry per function read, keyed by the function's output key; _metadata holds the group's accounting.

{
"result": {
"Temperature Sensor": {
"value": 72.5,
"success": true,
"error": "",
"duration": 45,
"timestamp": "2026-09-07T08:30:00Z"
},
"Batch Read - Line 1": {
"value": { "results": [{ "nodeId": "ns=2;s=Line1.Speed", "value": 1450, "statusCode": "0x00000000" }], "totalNodes": 1, "successCount": 1, "failureCount": 0 },
"success": true,
"error": "",
"duration": 62,
"timestamp": "2026-09-07T08:30:00Z"
}
},
"_metadata": {
"connectionId": "conn-123",
"connectionName": "OPC Server 1",
"total": 2,
"successful": 2,
"failed": 0,
"totalDuration": 83,
"executionMode": "parallel",
"originalRequests": 2
}
}

Each entry under result is one function's read — keyed by the function's alias, else its name, else its id (see Output Key Resolution):

FieldTypeDescription
result.<alias>.valueanyWhat the function read — its own result.value when it has one (the node's value for opcua.read, since its result carries value; the whole {results, totalNodes, successCount, failureCount} object for opcua.batchread), otherwise its whole result. null when the read failed
result.<alias>.successbooleantrue when this function's read succeeded
result.<alias>.errorstringWhy the read failed; empty when it succeeded — always present
result.<alias>.durationnumberHow long this function's read took, in milliseconds
result.<alias>.timestampstringWhen the read was issued, RFC 3339 UTC
result.<alias>.sourceTimestampstringWhen the device sampled the value, RFC 3339 UTC — the server's SourceTimestamp. Present only when the read succeeded and the server stamped the value. timestamp moves on every poll whatever the device does; this one stands still when the device's value does — a hung communications card or a gateway serving its cache keeps answering good with an old sourceTimestamp. Publish with it (system.uns.publish → Timestamp: {{ $item.ts }}) so a reading never looks fresher than it is
result.<alias>.qualitystringThe device's verdict on the value — good, uncertain or bad, from the OPC UA status severity. Present only when the read succeeded and the server classified the value. A read can succeed and still be doubtful: Uncertain_LastUsableValue is a server saying "this is the last thing I knew" — success stays true, quality says uncertain. Publish with it (system.uns.publish → Quality: {{ $item.q }}); the publish node folds it worst-of with the trigger's own verdict

The _metadata object is the group's execution summary:

FieldTypeDescription
_metadata.connectionIdstringThe connection every function was read on
_metadata.connectionNamestringThat connection's display name
_metadata.totalnumberHow many functions the group ran
_metadata.successfulnumberHow many read successfully — including the ones onChange then suppressed
_metadata.failednumberHow many failed; successful + failed = total
_metadata.totalDurationnumberWall-clock time of the whole group, in milliseconds
_metadata.executionModestringparallel or sequential
_metadata.originalRequestsnumberHow many functions were selected to run
_metadata.keyCollisionsstring[]Output keys that two or more functions resolved to — the later read overwrote the earlier under that key. Present only when it happened
_metadata.configWarningsstring[]Non-fatal problems in the node's config, each saying what was ignored. Present only when there were any
_metadata.outputModestringonChange — present only in that mode
_metadata.suppressedCountnumberonChange mode: how many successful reads were unchanged since the last run and left out of result
_metadata.emittedCountnumberonChange mode: how many entries result carries — total − suppressedCount
_metadata.suppressedKeysstring[]onChange mode: the output keys left out as unchanged. Present only when at least one was
_metadata.reasonstringonChange mode, when every successful read was unchanged: why result is empty — the node buffers instead of waking downstream

Output Key Resolution​

Each function result is keyed in the output map using the first available value:

  1. Alias — the custom alias set in the function entry
  2. Function Name — the name defined on the connection function
  3. Function ID — the unique function identifier (fallback)

Execution Modes​

Parallel (default)

  • All functions execute concurrently.
  • Fastest total execution time.
  • Best for independent read operations from different nodes.

Sequential

  • Functions execute one after another in list order.
  • More predictable timing.
  • When Continue on Error is off, execution stops at the first failure.

Error Handling​

Continue on ErrorBehavior
true (default)The node completes even if individual functions fail. Failed functions include an error field in their result. The node output remains successful.
falseThe node fails as soon as any function fails. In sequential mode, remaining functions are skipped. The node result is marked as failed.

Validation Rules​

  • connectionId is required.
  • executionMode must be parallel or sequential.
  • With Select Functions, at least one function entry is required; with By Labels, at least one label is required.
  • Duplicate functionId values are not allowed.
  • Duplicate alias values are not allowed.
  • The connection type must be opcua.

Best Practices​

  • Use All Functions when you need a full snapshot of every read function defined on a connection.
  • Use specific functions in production pipelines for better performance and clarity.
  • Assign aliases to keep output keys readable, especially when mixing opcua.read and opcua.batchread functions.
  • Prefer parallel mode for independent reads from different nodes in the address space.

Settings Tab​

All OPC UA node types share the same Settings tab:

SettingTypeDefaultDescription
DescriptionText—Optional description displayed on the node
Timeout (seconds)NumberPipeline defaultMaximum time the node may run before timing out
Retry on TimeoutTogglePipeline defaultAutomatically retry the node if it times out
Retry on FailTogglePipeline defaultAutomatically retry the node if it fails
On ErrorSelectionPipeline defaultError strategy: Pipeline Default (the pipeline's Error Handling setting), Stop Pipeline or Continue Execution

When left at their defaults, these settings inherit from the pipeline-level execution configuration.