WOLFRAM SYSTEM MODELER

Write

Adds writing of a Real scalar node to a WriteNodeList

Diagram

Wolfram Language

In[1]:=
SystemModel["OPCUA.Components.Unclocked.RealSignals.Write"]
Out[1]:=

Information

This component writes scalar data to the specified node as part of the request defined by the WriteNodeList it is connected to. Data is written as the type specified by uaRealType, and the node must hold data of that type.

See OPCUA.Interfaces.Node for how to specify the node identity and handle errors.

Parameters (5)

nodeIDType

Value:

Type: UANodeIdType

Description: The node identifier type

nodeID

Value:

Type: String

Description: The node identifier

nodeNamespace

Value:

Type: Integer

Description: The node namespace

errorHandling

Value:

Type: ErrorHandling

Description: How to handle node errors (request errors are handled by the connected Read/WriteNodeList component)

uaRealType

Value:

Type: UAReal

Description: OPC UA type used for writing

Connectors (3)

severity

Type: SeverityOutput

Description: Node level status severity

list_a

Type: List_a

Description: Connector for propagating node registrations to a NodeList

u

Type: RealInput

Description: Input signal to be sampled

Components (3)

nodeObj

Type: NodeObject

write

Type: Write

Description: Adds writing of a Real scalar node to a WriteNodeList

sample

Type: Sample

Description: Sample the continuous-time, Real input signal and provide it as clocked output signal (clock is inferred)

Used in Examples (6)

ReadAndWrite

OPCUA.Examples

Demonstrates how to write to and read from nodes on an OPC UA server

ClockedAndUnclocked

OPCUA.Examples

Demonstrates the difference between the Clocked and Unclocked components

Multirate

OPCUA.Examples

Demonstrates how to read node values using different sample rates

MultipleServers

OPCUA.Examples

Demonstrates a possible use of multiple OPC UA servers

TankSystem

OPCUA.Examples

A tank system model where height data is written to and read from an OPC UA node on an OPC UA server

TriggeredSampling

OPCUA.Examples

Demonstrates how to sample data from an OPC UA node irregularly