The <OPC_server> block allows you to configure an OPC UA server—and thus create the “server” and “node” objects—and then start and stop the server.
Refer to the documentation for the Python “opcua” module for more details.
•« port» : This is the port number the server will use to expose the OPC UA nodes and variables. The default port is 4840 (int)
•« Start » : Starts the server. The server should only be started once all OPC nodes and variables have been configured using the <OPC_node> and <OPC_var> blocks. The default value is False
•« Stop » : Stops the server. The default value is False
•« Status » : 0=OK, -1=Python exception, -2=Server not configured and stopped, 1=Server starting, 2=Server configured, 3=Server stopped
•« Server » : This “opcau” object is created if its previous value is None (i.e., when the block is executed for the first time); it must be used by other OPC blocks such as <OPC_node> and <OPC_var>. The default value is None
•« Node » : This “opcau” object is created at the same time as the “Server” output, It is the main node from which you can create other OPC nodes or variables using <OPC_node> and <OPC_var>, respectively. The default value is None
•« Started » : Indicates whether the server is running
The “Server” and “Node” outputs are of types defined by the Python “opcua” module