The <OPC_var> block allows you to configure (create) an OPC UA variable and thus create a “Var” object.
Refer to the documentation for the Python “opcua” module for more details.
•« Server» : This object comes from the <OPC_server> block. The default value is None
•« Node » : This is the parent node; this object comes either from the <OPC_server> block or from an <OPC_node> block. The default value is None
•« Name » : This is the name of the OPC UA variable created by this block. The default value is ‘A’ (str)
•« init_value » :This is the value the OPC variable will take when the OPC UA server starts up.
•« Writable » : Determines whether the OPC UA variable can be written to by the OPC client
•« Var » : This “opcau” object is created if its previous value is None (i.e., when the block is executed for the first time); it can be used by the <OPC_write> and <OPC_read> blocks. The default value is None
•« Status » : 0=OK, -1=Python exception, -2=Server not configured, -3=Parent node not configured
The “Server” and “Node” outputs are types defined by the Python “opcua” module