OpcUaServerValue – Expose value as an OPC UA Node

Block SymbolLicensing group: ADVANCED
Qt SVG Document Exported by REXYGEN Studio uValue SET DISABLE yValue CHANGED errId OpcUaServerValue

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

The OpcUaServerValue block exposes an OPC UA Node through the OpcUaDrv driver in the OPC UA Server mode.

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.

This block does not propagate the signal quality. More information can be found in the 1.4 section.

Input

uValue

Input signal

Any

SET

Set the input value to OPC UA Node value

Bool

DISABLE

Disable OPC UA Node

Bool

Parameter

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 ....

Bool

2 ....

Byte (U8)

3 ....

Short (I16)

4 ....

Long (I32)

5 ....

Word (U16)

6 ....

DWord (U32)

7 ....

Float (F32)

8 ....

Double (F64)

10 ...

Large (I64)

12 ...

String

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

Output

yValue

Output signal

Any

CHANGED

Value of the node changed though the OPC UA protocol

Bool

errId

Error code

Error

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