🚧OPC UA (WIP)
OPC Unified Architecture (OPC UA) is a platform-independent, service-oriented architecture that integrates diverse industrial automation systems. It provides a robust, secure, and scalable framework for connecting devices and transmitting data across various platforms. OPC UA's ability to standardise communication and ensure interoperability makes it an essential protocol connector in modern industrial environments.
Here is a practical example of how OPC UA can be used as a protocol in factory automation:
An OPC UA server is installed on a central controller.
Various production machines, equipped with OPC UA-enabled sensors and actuators, connect to the server.
A manufacturing execution system (MES) acting as an OPC UA client retrieves machine statuses and production data for real-time monitoring and control. The OPC UA client in our case can be a machine with an edge-connector on it.
Functions
create
Constructs an OPC UA client instance.
listenToEvents
Reports about relevant events. You can use the listener
box to connect a function to run on events.
connect
Connects to an OPC UA server.
disconnect
browse
Detailed browsing of the given browse path (non-recursive).
You can use the parameter address
to navigate to the desired folder. The function shows the contents of the root folder as default. You can also specify the session with sessionId
.
readNode
Reads a variable.
Use parameter address
for the node ID or a valid browse path. You can also specify the session with sessionId
.
readVariableValue
Reads the value of a variable.
Use parameter address
for the node ID or a valid browse path. You can also specify the session with sessionId
.
monitorNode
Starts monitoring an item.
monitorValue
Starts monitoring an item value.
stopMonitor
Stops monitoring an item. Use the parameter nodeId
to specify what to stop monitoring.
writeNode
Does nothing at the moment.
createSession
Creates a session.
closeSession
Closes the session and all associated subscriptions. Use the parameter sessionId
to specify which session to close.
createSubscription
Creates a subscription.
Last updated