WOLFRAM SYSTEM MODELER

writeExternalInteger

A function for writing OPC UA data of scalar type Integer

Wolfram Language

In[1]:=
SystemModel["OPCUA.ExternalFunctions.writeExternalInteger"]
Out[1]:=

Information

This function is used in blocks Write and TriggeredWrite. For each sampling point, it writes value (of type Integer) as type uaIntegerType to the OPC UA server and node identified with serverIDnodeID, nodeIDType, and nodeNamespace.

Syntax

mopcuaWriteIntegerNodeValue(serverID, nodeID, nodeIDType, nodeNamespace, value, uaIntegerType) 

Syntax

writeExternalInteger(serverID, nodeID, nodeIDType, nodeNamespace, value, uaIntegerType)

Inputs (6)

serverID

Type: Integer

Description: The unique ID of the server

nodeID

Type: String

Description: The ID of the read node

nodeIDType

Type: UANodeIdType

Description: The type of the ID of the write node

nodeNamespace

Type: Integer

Description: The namespace of the read node

value

Type: Integer

Description: The sampled value

uaIntegerType

Type: UAInteger

Description: OPC UA type used for writing