OpcUaServerValue – Expose value as an OPC UA Node

Block SymbolLicensing group: ADVANCED
PIC

Function Description

This function block depends on the OpcUa driver. Please read the OpcUaDrv manual [12] before use.

The OpcUaServerValue block exposes an OPC UA Node through OPC UA server driver.

The first two parameters are NodeId and NodeId_type. The NodeId_type specifies how the value entered as the NodeId parameter should be treated. The parameter NodeId specifies the NodeId that the OPC UA Node represented by the block should be exposed with.

The input DISABLE controls whether the OPC UA Node is exposed on the server or not. When the SET input is set to on the value on the input uValue port is set to the OPC UA Node’s value. If the parameter READONLY is set to off the Node’s value can also be changed from outside of the algorithm through the OPC UA communication protocol.

The output signal yValue is set to the Node’s value on every tick. The parameter type specifies the Node’s value data type, the data type of the uValue input and yValue output.

Inputs

uValue

Input signal

Unknown

SET

Set the input value to OPC UA Node value

Bool

DISABLE

Disable OPC UA Node

Bool

Parameters

NodeId

OPC UA Node Id

String

NodeId_type

OPC UA Node Id type  1

String

1 ....

string

2 ....

numeric

3 ....

guid

type

Value data type  1

Long (I32)

1 ....

string

2 ....

double

3 ....

long

4 ....

bool

BrowseName

OPC UA Node Browse name

String

Description

OPC UA Node description

String

DisplayName

OPC UA Node display name

String

READONLY

Set OPC Node value as read only  on

Bool

Outputs

yValue

Output signal

Unknown

CHANGED

Value of the node changed though the OPC UA protocol

Bool

errId

Error code

Error

2022 © REX Controls s.r.o., www.rexygen.com