Skip to content

OPC-UA Client

Parameters

Parameter Datatype Default Value Description
URL string OPC-UA server endpoint URL(s), comma-separated for round-robin failover
DEFAULT_NAMESPACE integer 1 Default namespace
USERNAME string Username (leave empty for anonymous access)
PASSWORD string Password
TIMEOUT float 5 Network timeout [s]
SCAN_PERIOD float 1 Poll period [s]
RECONNECT_INTERVAL float 1 Reconnection interval after connection loss [s]
MAX_ITEMS_PER_SUB integer 5000 Maximum monitored items per OPC-UA subscription
DEBUG enum 0 Enable debugging

Measurements

This stack supports measurements.

Measurement address

Type: regex

Description:

[uatype@]<nodeId>

uatype (optional): boolean | sbyte | byte | int16 | uint16 | int32 | uint32 | int64 | uint64 | float | double | string
  If omitted, the CO's configured raw datatype is used.

nodeId: OPC-UA node identifier string
  ns=<index>;i=<number>   - numeric node id
  ns=<index>;s=<name>     - string node id
  ns=<index>;<name>       - string node id
  i=<number>              - numeric node id in default namespace
  s=<name>                - string node id in default namespace
  <name>                  - string node id in default namespace

Examples:

ns=2;i=1001
ns=2;s=Sensors.Temperature
float@ns=2;s=Room.Humidity
int32@i=12345
Room.Humidity

Commands

This stack supports commands.

Command address

Type: regex

Description:

[uatype@]<nodeId>

uatype (optional): boolean | sbyte | byte | int16 | uint16 | int32 | uint32 | int64 | uint64 | float | double | string
  If omitted, the CO's configured raw datatype is used.

nodeId: OPC-UA node identifier string
  ns=<index>;i=<number>   - numeric node id
  ns=<index>;s=<name>     - string node id
  ns=<index>;<name>       - string node id
  i=<number>              - numeric node id in default namespace
  s=<name>                - string node id in default namespace
  <name>                  - string node id in default namespace

Examples:

ns=2;i=2001
ns=2;s=Actuators.Setpoint
double@ns=2;s=Controller.Setpoint
Controller.Setpoint