Main Content

Unified Architecture

Access data on OPC UA servers

Industrial Communication Toolbox™ provides an OPC UA client to connect to OPC UA servers. Using the client, you connect to the server, query server status, browse the server namespace, read and write current values, and read historical values from nodes on the server. Historical data is retrieved as OPC data objects, which allow you to process historical data in preparation for common analysis tasks.

Blocks

OPC UA ReadRead data from OPC UA server (Since R2024a)
OPC UA WriteWrite data to OPC UA server (Since R2024a)

Functions

expand all

opcuaserverinfo (opcua)Query host for installed OPC UA servers
opcua (opcua)Create OPC UA client object
setSecurityModel (opcua)Set security configuration parameters for OPC UA client (Since R2020a)
connect (opcua)Connect OPC UA client to server
disconnect (opcua)Disconnect OPC UA client from server
isConnected (opcua)Determine if OPC UA client object is connected to server
getServerStatus (opcua)Status of OPC UA server
findDescription (opcua)Find OPC UA servers containing specified description
exportClientCertificate (opcua)Copy OPC UA client application certificates to file (Since R2020a)
opcuanode (opcua)Create OPC UA node objects
getNamespace (opcua)Namespace of OPC UA server associated with client
browseNamespace (opcua)Graphically browse namespace and select nodes from OPC UA server
readValue (opcua)Read values from nodes on OPC UA server
writeValue (opcua)Write values to nodes on OPC UA server
readHistory (opcua)Read historical data from nodes on OPC UA server
readAtTime (opcua)Read historical data from nodes of OPC UA server at specific times
readProcessed (opcua)Read aggregate data from nodes of an OPC UA server
invoke (opcua)Execute method node on OPC UA server (Since R2024a)
findNodeByName (opcua)Find OPC UA server nodes by name
findNodeById (opcua)Find OPC UA server nodes by namespace index and identifier
isEmptyNode (opcua)True for empty nodes of OPC UA node array
isVariableType (opcua)True for variable nodes of OPC UA server
isObjectType (opcua)True for object nodes of OPC UA server
getNodeAttributes (opcua)Read OPC UA server node attributes
getAllChildren (opcua)Recursively retrieve all children of OPC UA server node
subscribeMonitor nodes for data change notification (Since R2023b)
addnodeAdd nodes to existing client subscription (Since R2023b)
removenodeRemove nodes from client subscription (Since R2023b)

Topics

Featured Examples